package
0.0.0-20241017140506-3c1f8bc31728
Repository: https://github.com/openshift/cluster-capi-operator.git
Documentation: pkg.go.dev

# Functions

ContainsString checks if a given slice of strings contains the provided string.
FilterNamespace filters a client.Object request, ensuring they are in the namespace provided.
GetInfra returns the infrastructure resource.
GetPlatform returns the platform type from the infrastructure resource.
GetReleaseVersion is used to get the current release version from the env.
IsPatchRequired returns true if the calculated patch data is not an empty JSON object.
ReadImagesFile reads the images file and returns the map of container images.
ReadProvidersFile reads the providers file and returns the map of supported providers.
ResolveCAPIMachineSetFromObject should probably be renamed.
RewriteNamespace takes a client.Object and returns a reconcile.Request for it in the namespace provided.

# Variables

LeaseDuration is the default duration for the leader election lease.
RenewDeadline is the default duration for the leader renewal.
RetryPeriod is the default duration for the leader election retrial.