consts

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnnotationHarborServer is the annnotation for harbor server.
	AnnotationHarborServer = "goharbor.io/harbor"
	// AnnotationAccount is the annnotation for service account.
	AnnotationAccount = "goharbor.io/service-account"
	// AnnotationProject is the annnotation for harbor project name.
	AnnotationProject = "goharbor.io/project"
	// AnnotationRobot is the annotation for robot id.
	AnnotationRobot = "goharbor.io/robot"
	// AnnotationRobotSecretRef is the annotation for robot secret reference.
	AnnotationRobotSecretRef = "goharbor.io/robot-secret" // nolint:gosec
	// AnnotationSecOwner is the annotation for owner.
	AnnotationSecOwner = "goharbor.io/owner"
	// AnnotationImageRewriteRuleConfigMapRef is the annotation for reference to configmap that stores rules.
	AnnotationImageRewriteRuleConfigMapRef = "goharbor.io/rewriting-rules"

	// ConfigMapKeyHarborServer is the key in configmap that for HSC.
	ConfigMapKeyHarborServer = "hsc"
	// ConfigMapKeyRules is the key in configmap that for rules.
	ConfigMapKeyRules = "rules"
	// ConfigMapKeyRewriting is the key in configmap that for whether turn on image rewrite.
	ConfigMapKeyRewriting = "rewriting"
	// ConfigMapValueRewritingOff is the key in configmap that for rewrite to turn off.
	ConfigMapValueRewritingOff = "off"
	// ConfigMapValueRewritingOn is the key in configmap that for rewrite to turn on.
	ConfigMapValueRewritingOn = "on"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL