mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-16 20:01:35 +01:00
Hide pull command for Nydus (#17143)
Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
6c1fbde2a8
commit
af802a4416
@ -449,7 +449,8 @@ export class ArtifactTagComponent implements OnInit, OnDestroy {
|
||||
(this.artifactDetails.type === ArtifactType.IMAGE ||
|
||||
this.artifactDetails.type === ArtifactType.CHART ||
|
||||
this.artifactDetails.type === ArtifactType.CNAB) &&
|
||||
this.accessoryType !== AccessoryType.COSIGN
|
||||
this.accessoryType !== AccessoryType.COSIGN &&
|
||||
this.accessoryType !== AccessoryType.NYDUS
|
||||
);
|
||||
}
|
||||
getPullCommand(tag: Tag): string {
|
||||
|
@ -64,6 +64,7 @@ export const mutipleFilter = [
|
||||
|
||||
export enum AccessoryType {
|
||||
COSIGN = 'signature.cosign',
|
||||
NYDUS = 'accelerator.nydus',
|
||||
}
|
||||
|
||||
export enum ArtifactType {
|
||||
|
Loading…
Reference in New Issue
Block a user