mirror of https://github.com/goharbor/harbor.git
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.IMAGE ||
|
||||||
this.artifactDetails.type === ArtifactType.CHART ||
|
this.artifactDetails.type === ArtifactType.CHART ||
|
||||||
this.artifactDetails.type === ArtifactType.CNAB) &&
|
this.artifactDetails.type === ArtifactType.CNAB) &&
|
||||||
this.accessoryType !== AccessoryType.COSIGN
|
this.accessoryType !== AccessoryType.COSIGN &&
|
||||||
|
this.accessoryType !== AccessoryType.NYDUS
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
getPullCommand(tag: Tag): string {
|
getPullCommand(tag: Tag): string {
|
||||||
|
|
|
@ -64,6 +64,7 @@ export const mutipleFilter = [
|
||||||
|
|
||||||
export enum AccessoryType {
|
export enum AccessoryType {
|
||||||
COSIGN = 'signature.cosign',
|
COSIGN = 'signature.cosign',
|
||||||
|
NYDUS = 'accelerator.nydus',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum ArtifactType {
|
export enum ArtifactType {
|
||||||
|
|
Loading…
Reference in New Issue