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 )
Variables ¶
View Source
var ( GroupVersionResource = svcapitypes.GroupVersion.WithResource("repositories") GroupKind = metav1.GroupKind{ Group: "ecr.services.k8s.aws", Kind: "Repository", } )
Functions ¶
func FromACKTags ¶ added in v0.1.3
func FromACKTags(tags acktags.Tags) []*svcapitypes.Tag
FromACKTags converts the tags parameter into []*svcapitypes.Tag shape. This method helps in setting the tags back inside AWSResource after merging default controller tags with existing resource tags.
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.