Documentation ¶
Index ¶
- Variables
- func ASGTagsToMap(src []*autoscaling.TagDescription) infrav1.Tags
- func AddonSDKToAddonState(eksAddon *eks.Addon) *ekscontrolplanev1.AddonState
- func CapacityTypeToSDK(capacityType expinfrav1.ManagedMachinePoolCapacityType) (string, error)
- func ConvertSDKToIdentityProvider(in *ekscontrolplanev1.OIDCIdentityProviderConfig) *identityprovider.OidcIdentityProviderConfig
- func ELBTagsToMap(src []*elb.Tag) infrav1.Tags
- func FromAWSStringSlice(from []*string) []string
- func MapPtrToMap(src map[string]*string) infrav1.Tags
- func MapToELBTags(src infrav1.Tags) []*elb.Tag
- func MapToIAMTags(src infrav1.Tags) []*iam.Tag
- func MapToSSMTags(src infrav1.Tags) []*ssm.Tag
- func MapToSecretsManagerTags(src infrav1.Tags) []*secretsmanager.Tag
- func MapToTags(src infrav1.Tags) []*ec2.Tag
- func MapToV2Tags(src infrav1.Tags) []*elbv2.Tag
- func NodegroupUpdateconfigFromSDK(ngUpdateConfig *eks.NodegroupUpdateConfig) *expinfrav1.UpdateConfig
- func NodegroupUpdateconfigToSDK(updateConfig *expinfrav1.UpdateConfig) *eks.NodegroupUpdateConfig
- func TagsToMap(src []*ec2.Tag) infrav1.Tags
- func TaintEffectFromSDK(effect string) (expinfrav1.TaintEffect, error)
- func TaintEffectToSDK(effect expinfrav1.TaintEffect) (string, error)
- func TaintToSDK(taint expinfrav1.Taint) (*eks.Taint, error)
- func TaintsFromSDK(taints []*eks.Taint) (expinfrav1.Taints, error)
- func TaintsToSDK(taints expinfrav1.Taints) ([]*eks.Taint, error)
- func V2TagsToMap(src []*elbv2.Tag) infrav1.Tags
Constants ¶
This section is empty.
Variables ¶
var ( // ErrUnknowTaintEffect is an error when a unknown TaintEffect is used. ErrUnknowTaintEffect = errors.New("uknown taint effect") // ErrUnknownCapacityType is an error when a unknown CapacityType is used. ErrUnknownCapacityType = errors.New("unknown capacity type") )
Functions ¶
func ASGTagsToMap ¶
func ASGTagsToMap(src []*autoscaling.TagDescription) infrav1.Tags
ASGTagsToMap converts a []*autoscaling.TagDescription into a infrav1.Tags.
func AddonSDKToAddonState ¶
func AddonSDKToAddonState(eksAddon *eks.Addon) *ekscontrolplanev1.AddonState
AddonSDKToAddonState is used to convert an AWS SDK Addon to a control plane AddonState.
func CapacityTypeToSDK ¶
func CapacityTypeToSDK(capacityType expinfrav1.ManagedMachinePoolCapacityType) (string, error)
CapacityTypeToSDK is used to convert a CapacityType to the AWS SDK capacity type value.
func ConvertSDKToIdentityProvider ¶
func ConvertSDKToIdentityProvider(in *ekscontrolplanev1.OIDCIdentityProviderConfig) *identityprovider.OidcIdentityProviderConfig
func ELBTagsToMap ¶
ELBTagsToMap converts a []*elb.Tag into a infrav1.Tags.
func FromAWSStringSlice ¶
FromAWSStringSlice will converts an AWS string pointer slice.
func MapPtrToMap ¶
MapPtrToMap converts a [string]*string into a infrav1.Tags.
func MapToELBTags ¶
MapToELBTags converts a infrav1.Tags to a []*elb.Tag.
func MapToIAMTags ¶ added in v2.1.0
MapToIAMTags converts a infrav1.Tags to a []*iam.Tag.
func MapToSSMTags ¶
MapToSSMTags converts a infrav1.Tags to a []*ssm.Tag.
func MapToSecretsManagerTags ¶
func MapToSecretsManagerTags(src infrav1.Tags) []*secretsmanager.Tag
MapToSecretsManagerTags converts a infrav1.Tags to a []*secretsmanager.Tag.
func MapToV2Tags ¶ added in v2.1.0
MapToV2Tags converts a infrav1.Tags to a []*elbv2.Tag.
func NodegroupUpdateconfigFromSDK ¶
func NodegroupUpdateconfigFromSDK(ngUpdateConfig *eks.NodegroupUpdateConfig) *expinfrav1.UpdateConfig
NodegroupUpdateconfigFromSDK is used to convert a AWS SDK NodegroupUpdateConfig to a CAPA UpdateConfig.
func NodegroupUpdateconfigToSDK ¶
func NodegroupUpdateconfigToSDK(updateConfig *expinfrav1.UpdateConfig) *eks.NodegroupUpdateConfig
NodegroupUpdateconfigToSDK is used to convert a CAPA UpdateConfig to AWS SDK NodegroupUpdateConfig.
func TaintEffectFromSDK ¶
func TaintEffectFromSDK(effect string) (expinfrav1.TaintEffect, error)
TaintEffectFromSDK is used to convert a AWS SDK taint effect value to a TaintEffect.
func TaintEffectToSDK ¶
func TaintEffectToSDK(effect expinfrav1.TaintEffect) (string, error)
TaintEffectToSDK is used to convert a TaintEffect to the AWS SDK taint effect value.
func TaintToSDK ¶
func TaintToSDK(taint expinfrav1.Taint) (*eks.Taint, error)
TaintToSDK is used to a CAPA Taint to AWS SDK taint.
func TaintsFromSDK ¶
func TaintsFromSDK(taints []*eks.Taint) (expinfrav1.Taints, error)
TaintsFromSDK is used to convert an array of AWS SDK taints to CAPA Taints.
func TaintsToSDK ¶
func TaintsToSDK(taints expinfrav1.Taints) ([]*eks.Taint, error)
TaintsToSDK is used to convert an array of CAPA Taints to AWS SDK taints.
Types ¶
This section is empty.