Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldLookupARN ¶
func ShouldLookupARN(res acktypes.AWSResource) bool
ShouldLookupARN returns true when the supplied resource has no ARN but does carry an adoption-policy annotation.
MSK identifies clusters and configurations by ARNs that embed a service-generated UUID, so an ARN cannot be derived from the resource name and has to be read back from the API. Resolving it costs a List call, so the lookup is limited to resources whose owner opted in by setting services.k8s.aws/adoption-policy. An ordinary resource being created for the first time also has no ARN, and must not pay for a lookup that would find nothing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.