Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultProvider ¶
NewDefaultProvider constructs defaultProvider
Types ¶
type Provider ¶
type Provider interface { // ResourceIDTagKey provide the tagKey for resourceID. ResourceIDTagKey() string // StackTags provide the tags for stack. StackTags(stack core.Stack) map[string]string // ResourceTags provide the tags for stack resources ResourceTags(stack core.Stack, res core.Resource, additionalTags map[string]string) map[string]string // StackLabels provide the suitable k8s labels for stack. StackLabels(stack core.Stack) map[string]string // StackTagsLegacy provides the tags for stack with legacy clusterName. // this is for backwards compatibility with AWSALBIngressController(v1.1.3+) StackTagsLegacy(stack core.Stack) map[string]string // LegacyTagKeys returns AWS tag keys added to AWS resources provisioned by AWSALBIngressController(v1.1.3+). // These tag keys is required for AWSALBIngressController(v1.1.3+) to identify resources. // To be able to downgrade AWSLoadBalancerController to AWSALBIngressController(v1.1.3+), we shouldn't remove these tag keys. LegacyTagKeys() []string }
an abstraction that generates metadata to track actual resources provisioned for stack.
type TagFilter ¶
TagFilter presents tag filter for multiple TagKeys. the TagKey is represented by mapKey, and TagValues is represented by tagValues if the TagValue is empty, then it only requires the TagKey presents. if the TagValue is not empty, then it requires TagKey presents and one of the TagValue matches.
func TagsAsTagFilter ¶
TagsAsTagFilter constructs TagFilter from Tags.
Click to show internal directories.
Click to hide internal directories.