Documentation
¶
Index ¶
- func AWSARNPrefix(region string) string
- func AWSDNSSuffix(region string) string
- func AWSPartitionForRegion(region string) endpoints.Partition
- func CompareStringMaps(map1, map2 map[string]string) bool
- func CompareStringSliceElements(lh []string, rh []string) bool
- func ConvertFromLogTypes(logTypes []ekstypes.LogType) []string
- func ConvertToLogTypes(loggingTypes []string) []ekstypes.LogType
- func CreateTagSpecs(instanceTags map[string]string) []ec2types.LaunchTemplateTagSpecificationRequest
- func GetInstanceTags(templateTags []ec2types.LaunchTemplateTagSpecification) map[string]string
- func GetKeyValuesToUpdate(tags map[string]string, upstreamTags map[string]string) map[string]string
- func GetKeysToDelete(tags map[string]string, upstreamTags map[string]string) []string
- func MergeMaps(map1, map2 map[string]string) map[string]string
- func Parse(ref string) (namespace string, name string)
- func SubtractMaps(map1, map2 map[string]string) map[string]string
- func SupportsDualStackEndpoints(region string) bool
- func ValuesFromMap(m map[string]string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSARNPrefix ¶ added in v1.14.7
AWSARNPrefix returns the ARN prefix of the partition the given region belongs to.
func AWSDNSSuffix ¶ added in v1.14.7
AWSDNSSuffix returns the DNS suffix of the partition the given region belongs to.
func AWSPartitionForRegion ¶ added in v1.14.7
AWSPartitionForRegion returns the AWS partition the given region belongs to, defaulting to the standard AWS partition for empty or unknown regions.
func CompareStringMaps ¶ added in v1.0.6
func ConvertFromLogTypes ¶ added in v1.9.0
func ConvertToLogTypes ¶ added in v1.9.0
func CreateTagSpecs ¶ added in v1.0.6
func CreateTagSpecs(instanceTags map[string]string) []ec2types.LaunchTemplateTagSpecificationRequest
func GetInstanceTags ¶ added in v1.0.6
func GetInstanceTags(templateTags []ec2types.LaunchTemplateTagSpecification) map[string]string
func GetKeyValuesToUpdate ¶
func GetKeysToDelete ¶
func SubtractMaps ¶ added in v1.0.6
SubtractMaps will remove all keys and values in map2 from map1.
func SupportsDualStackEndpoints ¶ added in v1.14.7
SupportsDualStackEndpoints returns true for every AWS partition except AWS China, which is the only partition where a service used by the operator, EC2, has no working dual-stack endpoint: ec2.<region>.amazonaws.com.cn exists but ec2.<region>.api.amazonwebservices.com.cn does not.
func ValuesFromMap ¶ added in v1.0.6
Types ¶
This section is empty.