Hide pull command for Nydus (#17143)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2022-07-08 17:03:02 +08:00 committed by GitHub
parent 6c1fbde2a8
commit af802a4416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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 {

View File

@ -64,6 +64,7 @@ export const mutipleFilter = [
export enum AccessoryType {
COSIGN = 'signature.cosign',
NYDUS = 'accelerator.nydus',
}
export enum ArtifactType {