package
2.0.0+incompatible
Repository: https://github.com/chuckha/cluster-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ClusterToInfrastructureMapFunc returns a handler.ToRequestsFunc that watches for Cluster events and returns reconciliation requests for an infrastructure provider object.
Contains returns true if a list contains a string.
Copy deep copies a Machine object.
EnsureOwnerRef makes sure the slice contains the OwnerReference.
ExecCommand Executes a local command in the current shell.
Filter filters a list for a string.
GetClusterByName finds and return a Cluster object using the specified params.
GetClusterFromMetadata returns the Cluster object (if present) using the object metadata.
GetControlPlaneMachines returns a slice containing control plane machines.
GetControlPlaneMachinesFromList returns a slice containing control plane machines.
GetDefaultKubeConfigPath returns the standard user kubeconfig.
GetMachineByName finds and return a Machine object using the specified params.
GetMachineIfExists gets a machine from the API server if it exists.
GetNamespaceOrDefault returns the default namespace if given empty output.
GetOwnerCluster returns the Cluster object owning the current resource.
GetOwnerMachine returns the Machine object owning the current resource.
HasOwner checks if any of the references in the passed list match the given apiVersion and one of the given kinds.
HasOwnerRef returns true if the OwnerReference is already in the slice.
Home returns the user home directory.
IsControlPlaneMachine checks machine is a control plane node.
IsNodeReady returns true if a node is ready.
MachineToInfrastructureMapFunc returns a handler.ToRequestsFunc that watches for Machine events and returns reconciliation requests for an infrastructure provider object.
PointsTo returns true if any of the owner references point to the given target.
No description provided by the author
No description provided by the author
RandomString returns a random alphanumeric string.
RandomToken returns a random token.
No description provided by the author
UnstructuredUnmarshalField is a wrapper around json and unstructured objects to decode and copy a specific field value into an object.

# Constants

CharSet defines the alphanumeric set for random string generation.
MachineListFormatDeprecationMessage notifies the user that the old MachineList format is no longer supported.

# Variables

No description provided by the author
No description provided by the author