# Packages

No description provided by the author

# Functions

FakeCAPISetupObjects return required objects in order to make kubeadm pass checks ensuring that management cluster has a proper release of Cluster API installed.
FakeClusterCustomResourceDefinition returns a fake CRD object for the given group/versions/kind.
FakeCRDList returns FakeCustomResourceDefinitions for all the Types used in the test object graph.
FakeNamespacedCustomResourceDefinition returns a fake CRD object for the given group/versions/kind.
No description provided by the author
No description provided by the author
NewFakeCluster return a FakeCluster that can generate a cluster object, all its own ancillary objects: - the clusterInfrastructure object - the kubeconfig secret object (if there is no a control plane object) - a user defined ca secret and all the objects for the defined FakeControlPlane, FakeMachinePools, FakeMachineDeployments, FakeMachineSets, FakeMachines Nb.
No description provided by the author
NewFakeClusterExternalObject generates a new global external object (a CR not related to the Cluster).
NewFakeClusterInfrastructureIdentity generates a new global cluster identity object.
NewFakeClusterResourceSet return a FakeClusterResourceSet that can generate a ClusterResourceSet object, all its own ancillary objects: - the Secret/ConfigMap defining resources - the bindings that are created when a ClusterResourceSet is applied to a cluster.
NewFakeControlPlane return a FakeControlPlane that can generate a controlPlane object, all its own ancillary objects: - the controlPlaneInfrastructure template object - the kubeconfig secret object - a generated sa secret and all the objects for the defined FakeMachines.
NewFakeExternalObject generates a new external object (a CR not related to the Cluster).
NewFakeGitHub sets up a test HTTP server along with a github.Client that is configured to talk to that test server.
No description provided by the author
NewFakeMachine return a FakeMachine that can generate a Machine object, all its own ancillary objects: - the machineInfrastructure object - the machineBootstrap object and the related bootstrapDataSecret If there is no a control plane object in the cluster, the first FakeMachine gets a generated sa secret.
NewFakeMachineDeployment return a FakeMachineDeployment that can generate a MachineDeployment object, all its own ancillary objects: - the machineDeploymentInfrastructure template object - the machineDeploymentBootstrap template object and all the objects for the defined FakeMachineSet.
No description provided by the author
NewFakeMachinePool return a FakeMachinePool that can generate a MachinePool object, all its own ancillary objects: - the machinePoolInfrastructure object - the machinePoolBootstrap object.
NewFakeMachineSet return a FakeMachineSet that can generate a MachineSet object, all its own ancillary objects: - the machineSetInfrastructure template object (only if not controlled by a MachineDeployment) - the machineSetBootstrap template object (only if not controlled by a MachineDeployment) and all the objects for the defined FakeMachine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSecret generates a new secret with the given namespace and name.
NewStaticBootstrapConfig return a clusterv1.Bootstrap where - the ConfigRef is nil - the DataSecretName contains the name of the static data secret.
SelectClusterObj finds and returns a Cluster with the given name and namespace, if any.

# Constants

NextCAPIContractNotSupported define the next Cluster API contract, not supported by this release of clusterctl.

# Variables

CurrentCAPIContract define the current Cluster API contract.
nolint:revive.
PreviousCAPIContractNotSupported define the previous Cluster API contract, not supported by this release of clusterctl.

# Structs

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
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
No description provided by the author
No description provided by the author
FakeReader provider a reader implementation backed by a map.
FakeVariableClient provides a VariableClient backed by a map.