Documentation ¶
Index ¶
- Variables
- func ASGTagsToMap(src []*autoscaling.TagDescription) infrav1.Tags
- func AddonSDKToAddonState(eksAddon *eks.Addon) *ekscontrolplanev1.AddonState
- func ELBTagsToMap(src []*elb.Tag) infrav1.Tags
- func MapPtrToMap(src map[string]*string) infrav1.Tags
- func MapToELBTags(src infrav1.Tags) []*elb.Tag
- func MapToSSMTags(src infrav1.Tags) []*ssm.Tag
- func MapToSecretsManagerTags(src infrav1.Tags) []*secretsmanager.Tag
- func MapToTags(src infrav1.Tags) []*ec2.Tag
- func TagsToMap(src []*ec2.Tag) infrav1.Tags
- func TaintEffectFromSDK(effect string) (infrav1exp.TaintEffect, error)
- func TaintEffectToSDK(effect infrav1exp.TaintEffect) (string, error)
- func TaintToSDK(taint infrav1exp.Taint) (*eks.Taint, error)
- func TaintsFromSDK(taints []*eks.Taint) (infrav1exp.Taints, error)
- func TaintsToSDK(taints infrav1exp.Taints) ([]*eks.Taint, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ErrUnknowTaintEffect is an error when a unknown TaintEffect is used ErrUnknowTaintEffect = errors.New("uknown taint effect") )
Functions ¶
func ASGTagsToMap ¶ added in v0.6.1
func ASGTagsToMap(src []*autoscaling.TagDescription) infrav1.Tags
ASGTagsToMap converts a []*autoscaling.TagDescription into a infrav1.Tags.
func AddonSDKToAddonState ¶ added in v0.6.4
func AddonSDKToAddonState(eksAddon *eks.Addon) *ekscontrolplanev1.AddonState
AddonSDKToAddonState is used to convert an AWS SDK Addon to a control plane AddonState
func ELBTagsToMap ¶
ELBTagsToMap converts a []*elb.Tag into a infrav1.Tags.
func MapPtrToMap ¶ added in v0.6.0
MapPtrToMap converts a [string]*string into a infrav1.Tags.
func MapToELBTags ¶
MapToELBTags converts a infrav1.Tags to a []*elb.Tag
func MapToSSMTags ¶ added in v0.6.1
MapToSSMTags converts a infrav1.Tags to a []*ssm.Tag
func MapToSecretsManagerTags ¶ added in v0.4.9
func MapToSecretsManagerTags(src infrav1.Tags) []*secretsmanager.Tag
MapToSecretsManagerTags converts a infrav1.Tags to a []*secretsmanager.Tag
func TaintEffectFromSDK ¶ added in v0.6.7
func TaintEffectFromSDK(effect string) (infrav1exp.TaintEffect, error)
TaintEffectFromSDK is used to convert a AWS SDK taint effect value to a TaintEffect
func TaintEffectToSDK ¶ added in v0.6.7
func TaintEffectToSDK(effect infrav1exp.TaintEffect) (string, error)
TaintEffectToSDK is used to convert a TaintEffect to the AWS SDK taint effect value
func TaintToSDK ¶ added in v0.6.7
func TaintToSDK(taint infrav1exp.Taint) (*eks.Taint, error)
TaintToSDK is used to a CAPA Taint to AWS SDK taint.
func TaintsFromSDK ¶ added in v0.6.7
func TaintsFromSDK(taints []*eks.Taint) (infrav1exp.Taints, error)
TaintsFromSDK is used to convert an array of AWS SDK taints to CAPA Taints
func TaintsToSDK ¶ added in v0.6.7
func TaintsToSDK(taints infrav1exp.Taints) ([]*eks.Taint, error)
TaintsToSDK is used to convert an array of CAPA Taints to AWS SDK taints.
Types ¶
This section is empty.