Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AnnotationPrefix is the prefix for all annotations specifically for // the ECR service. AnnotationPrefix = "ecr.services.k8s.aws/" // AnnotationDeleteForce is an annotation whose value indicates whether // the repository should be removed if it contains images. AnnotationDeleteForce = AnnotationPrefix + "force-delete" DefaultDeleteForce = false )
View Source
const (
FinalizerString = "finalizers.ecr.services.k8s.aws/Repository"
)
Variables ¶
View Source
var ( GroupVersionResource = svcapitypes.GroupVersion.WithResource("repositories") GroupKind = metav1.GroupKind{ Group: "ecr.services.k8s.aws", Kind: "Repository", } )
View Source
var (
ACKSystemTags = []string{"services.k8s.aws/namespace", "services.k8s.aws/controller-version"}
)
Functions ¶
func GetDeleteForce ¶ added in v1.0.8
func GetDeleteForce( m *metav1.ObjectMeta, ) bool
GetDeleteForce returns whether the repository should be deleted if it contains images as determined by the annotation on the object, or the default value otherwise.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.