adoption

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL