Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultDeletePendingWindowInDays = int64(7)
)
Variables ¶
View Source
var ( GroupVersionResource = svcapitypes.GroupVersion.WithResource("keys") GroupKind = metav1.GroupKind{ Group: "kms.services.k8s.aws", Kind: "Key", } )
View Source
var ( // PolicyName is the only allowed value for KMS Key's PolicyName // https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kms.html#KMS.Client.put_key_policy PolicyName = "default" )
Functions ¶
func FromACKTags ¶ added in v0.0.16
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 GetDeletePendingWindowInDays ¶
func GetDeletePendingWindowInDays( m *metav1.ObjectMeta, ) int64
GetDeletePendingWindowInDays returns the pending window (in days) 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.