Documentation ¶
Overview ¶
Package builder implements builder and CRDs for creating API objects for testing. +kubebuilder:object:generate=true +groupName=test.cluster.x-k8s.io +versionName=v1alpha1
Index ¶
- Variables
- type BootstrapConfigBuilder
- func (b *BootstrapConfigBuilder) Build() *unstructured.Unstructured
- func (in *BootstrapConfigBuilder) DeepCopy() *BootstrapConfigBuilder
- func (in *BootstrapConfigBuilder) DeepCopyInto(out *BootstrapConfigBuilder)
- func (b *BootstrapConfigBuilder) WithSpecFields(fields map[string]interface{}) *BootstrapConfigBuilder
- type BootstrapTemplateBuilder
- func (b *BootstrapTemplateBuilder) Build() *unstructured.Unstructured
- func (in *BootstrapTemplateBuilder) DeepCopy() *BootstrapTemplateBuilder
- func (in *BootstrapTemplateBuilder) DeepCopyInto(out *BootstrapTemplateBuilder)
- func (b *BootstrapTemplateBuilder) WithSpecFields(fields map[string]interface{}) *BootstrapTemplateBuilder
- type ClusterBuilder
- func (c *ClusterBuilder) Build() *clusterv1.Cluster
- func (in *ClusterBuilder) DeepCopy() *ClusterBuilder
- func (in *ClusterBuilder) DeepCopyInto(out *ClusterBuilder)
- func (c *ClusterBuilder) WithAnnotations(annotations map[string]string) *ClusterBuilder
- func (c *ClusterBuilder) WithClusterNetwork(clusterNetwork *clusterv1.ClusterNetwork) *ClusterBuilder
- func (c *ClusterBuilder) WithControlPlane(t *unstructured.Unstructured) *ClusterBuilder
- func (c *ClusterBuilder) WithInfrastructureCluster(t *unstructured.Unstructured) *ClusterBuilder
- func (c *ClusterBuilder) WithLabels(labels map[string]string) *ClusterBuilder
- func (c *ClusterBuilder) WithTopology(topology *clusterv1.Topology) *ClusterBuilder
- type ClusterClassBuilder
- func (c *ClusterClassBuilder) Build() *clusterv1.ClusterClass
- func (in *ClusterClassBuilder) DeepCopy() *ClusterClassBuilder
- func (in *ClusterClassBuilder) DeepCopyInto(out *ClusterClassBuilder)
- func (c *ClusterClassBuilder) WithConditions(conditions ...clusterv1.Condition) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneInfrastructureMachineTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneMachineHealthCheck(mhc *clusterv1.MachineHealthCheckClass) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneMetadata(labels, annotations map[string]string) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneNamingStrategy(n *clusterv1.ControlPlaneClassNamingStrategy) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneNodeDeletionTimeout(t *metav1.Duration) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneNodeDrainTimeout(t *metav1.Duration) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneNodeVolumeDetachTimeout(t *metav1.Duration) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithControlPlaneTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithInfrastructureClusterTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithPatches(patches []clusterv1.ClusterClassPatch) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithStatusVariables(vars ...clusterv1.ClusterClassStatusVariable) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithVariables(vars ...clusterv1.ClusterClassVariable) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithWorkerMachineDeploymentClasses(mdcs ...clusterv1.MachineDeploymentClass) *ClusterClassBuilder
- func (c *ClusterClassBuilder) WithWorkerMachinePoolClasses(mpcs ...clusterv1.MachinePoolClass) *ClusterClassBuilder
- type ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) Build() *clusterv1.Topology
- func (in *ClusterTopologyBuilder) DeepCopy() *ClusterTopologyBuilder
- func (in *ClusterTopologyBuilder) DeepCopyInto(out *ClusterTopologyBuilder)
- func (c *ClusterTopologyBuilder) WithClass(class string) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithControlPlaneMachineHealthCheck(mhc *clusterv1.MachineHealthCheckTopology) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithControlPlaneReplicas(replicas int32) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithControlPlaneVariables(variables ...clusterv1.ClusterVariable) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithMachineDeployment(mdc clusterv1.MachineDeploymentTopology) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithMachinePool(mpc clusterv1.MachinePoolTopology) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithVariables(vars ...clusterv1.ClusterVariable) *ClusterTopologyBuilder
- func (c *ClusterTopologyBuilder) WithVersion(version string) *ClusterTopologyBuilder
- type ControlPlaneBuilder
- func (c *ControlPlaneBuilder) Build() *unstructured.Unstructured
- func (in *ControlPlaneBuilder) DeepCopy() *ControlPlaneBuilder
- func (in *ControlPlaneBuilder) DeepCopyInto(out *ControlPlaneBuilder)
- func (c *ControlPlaneBuilder) WithAnnotations(annotations map[string]string) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithLabels(labels map[string]string) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithReplicas(replicas int64) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithSpecFields(fields map[string]interface{}) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithStatusFields(fields map[string]interface{}) *ControlPlaneBuilder
- func (c *ControlPlaneBuilder) WithVersion(version string) *ControlPlaneBuilder
- type ControlPlaneTemplateBuilder
- func (c *ControlPlaneTemplateBuilder) Build() *unstructured.Unstructured
- func (in *ControlPlaneTemplateBuilder) DeepCopy() *ControlPlaneTemplateBuilder
- func (in *ControlPlaneTemplateBuilder) DeepCopyInto(out *ControlPlaneTemplateBuilder)
- func (c *ControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *ControlPlaneTemplateBuilder
- func (c *ControlPlaneTemplateBuilder) WithSpecFields(fields map[string]interface{}) *ControlPlaneTemplateBuilder
- type InfrastructureClusterBuilder
- func (i *InfrastructureClusterBuilder) Build() *unstructured.Unstructured
- func (in *InfrastructureClusterBuilder) DeepCopy() *InfrastructureClusterBuilder
- func (in *InfrastructureClusterBuilder) DeepCopyInto(out *InfrastructureClusterBuilder)
- func (i *InfrastructureClusterBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureClusterBuilder
- type InfrastructureClusterTemplateBuilder
- func (i *InfrastructureClusterTemplateBuilder) Build() *unstructured.Unstructured
- func (in *InfrastructureClusterTemplateBuilder) DeepCopy() *InfrastructureClusterTemplateBuilder
- func (in *InfrastructureClusterTemplateBuilder) DeepCopyInto(out *InfrastructureClusterTemplateBuilder)
- func (i *InfrastructureClusterTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureClusterTemplateBuilder
- type InfrastructureMachinePoolBuilder
- func (i *InfrastructureMachinePoolBuilder) Build() *unstructured.Unstructured
- func (in *InfrastructureMachinePoolBuilder) DeepCopy() *InfrastructureMachinePoolBuilder
- func (in *InfrastructureMachinePoolBuilder) DeepCopyInto(out *InfrastructureMachinePoolBuilder)
- func (i *InfrastructureMachinePoolBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachinePoolBuilder
- type InfrastructureMachinePoolTemplateBuilder
- func (i *InfrastructureMachinePoolTemplateBuilder) Build() *unstructured.Unstructured
- func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopy() *InfrastructureMachinePoolTemplateBuilder
- func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *InfrastructureMachinePoolTemplateBuilder)
- func (i *InfrastructureMachinePoolTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachinePoolTemplateBuilder
- type InfrastructureMachineTemplateBuilder
- func (i *InfrastructureMachineTemplateBuilder) Build() *unstructured.Unstructured
- func (in *InfrastructureMachineTemplateBuilder) DeepCopy() *InfrastructureMachineTemplateBuilder
- func (in *InfrastructureMachineTemplateBuilder) DeepCopyInto(out *InfrastructureMachineTemplateBuilder)
- func (i *InfrastructureMachineTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachineTemplateBuilder
- type MachineBuilder
- func (m *MachineBuilder) Build() *clusterv1.Machine
- func (in *MachineBuilder) DeepCopy() *MachineBuilder
- func (in *MachineBuilder) DeepCopyInto(out *MachineBuilder)
- func (m *MachineBuilder) WithBootstrapTemplate(bootstrap *unstructured.Unstructured) *MachineBuilder
- func (m *MachineBuilder) WithClusterName(clusterName string) *MachineBuilder
- func (m *MachineBuilder) WithLabels(labels map[string]string) *MachineBuilder
- func (m *MachineBuilder) WithVersion(version string) *MachineBuilder
- type MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) Build() *clusterv1.MachineDeployment
- func (in *MachineDeploymentBuilder) DeepCopy() *MachineDeploymentBuilder
- func (in *MachineDeploymentBuilder) DeepCopyInto(out *MachineDeploymentBuilder)
- func (m *MachineDeploymentBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithBootstrapTemplate(ref *unstructured.Unstructured) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithClusterName(name string) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithGeneration(generation int64) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithInfrastructureTemplate(ref *unstructured.Unstructured) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithLabels(labels map[string]string) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithMinReadySeconds(minReadySeconds int32) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithReplicas(replicas int32) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithSelector(selector metav1.LabelSelector) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithStatus(status clusterv1.MachineDeploymentStatus) *MachineDeploymentBuilder
- func (m *MachineDeploymentBuilder) WithVersion(version string) *MachineDeploymentBuilder
- type MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) Build() *clusterv1.MachineDeploymentClass
- func (in *MachineDeploymentClassBuilder) DeepCopy() *MachineDeploymentClassBuilder
- func (in *MachineDeploymentClassBuilder) DeepCopyInto(out *MachineDeploymentClassBuilder)
- func (m *MachineDeploymentClassBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithBootstrapTemplate(t *unstructured.Unstructured) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithFailureDomain(f *string) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithInfrastructureTemplate(t *unstructured.Unstructured) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithLabels(labels map[string]string) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithMachineHealthCheckClass(mhc *clusterv1.MachineHealthCheckClass) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithMinReadySeconds(t *int32) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithNamingStrategy(n *clusterv1.MachineDeploymentClassNamingStrategy) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithNodeDeletionTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithNodeDrainTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithNodeVolumeDetachTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
- func (m *MachineDeploymentClassBuilder) WithStrategy(s *clusterv1.MachineDeploymentStrategy) *MachineDeploymentClassBuilder
- type MachineDeploymentTopologyBuilder
- func (m *MachineDeploymentTopologyBuilder) Build() clusterv1.MachineDeploymentTopology
- func (in *MachineDeploymentTopologyBuilder) DeepCopy() *MachineDeploymentTopologyBuilder
- func (in *MachineDeploymentTopologyBuilder) DeepCopyInto(out *MachineDeploymentTopologyBuilder)
- func (m *MachineDeploymentTopologyBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentTopologyBuilder
- func (m *MachineDeploymentTopologyBuilder) WithClass(class string) *MachineDeploymentTopologyBuilder
- func (m *MachineDeploymentTopologyBuilder) WithMachineHealthCheck(mhc *clusterv1.MachineHealthCheckTopology) *MachineDeploymentTopologyBuilder
- func (m *MachineDeploymentTopologyBuilder) WithReplicas(replicas int32) *MachineDeploymentTopologyBuilder
- func (m *MachineDeploymentTopologyBuilder) WithVariables(variables ...clusterv1.ClusterVariable) *MachineDeploymentTopologyBuilder
- type MachineHealthCheckBuilder
- func (m *MachineHealthCheckBuilder) Build() *clusterv1.MachineHealthCheck
- func (in *MachineHealthCheckBuilder) DeepCopy() *MachineHealthCheckBuilder
- func (in *MachineHealthCheckBuilder) DeepCopyInto(out *MachineHealthCheckBuilder)
- func (m *MachineHealthCheckBuilder) WithClusterName(clusterName string) *MachineHealthCheckBuilder
- func (m *MachineHealthCheckBuilder) WithMaxUnhealthy(maxUnhealthy *intstr.IntOrString) *MachineHealthCheckBuilder
- func (m *MachineHealthCheckBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) *MachineHealthCheckBuilder
- func (m *MachineHealthCheckBuilder) WithSelector(selector metav1.LabelSelector) *MachineHealthCheckBuilder
- func (m *MachineHealthCheckBuilder) WithUnhealthyConditions(conditions []clusterv1.UnhealthyCondition) *MachineHealthCheckBuilder
- type MachinePoolBuilder
- func (m *MachinePoolBuilder) Build() *expv1.MachinePool
- func (in *MachinePoolBuilder) DeepCopy() *MachinePoolBuilder
- func (in *MachinePoolBuilder) DeepCopyInto(out *MachinePoolBuilder)
- func (m *MachinePoolBuilder) WithAnnotations(annotations map[string]string) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithBootstrap(ref *unstructured.Unstructured) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithClusterName(clusterName string) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithInfrastructure(ref *unstructured.Unstructured) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithLabels(labels map[string]string) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithMinReadySeconds(minReadySeconds int32) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithReplicas(replicas int32) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithStatus(status expv1.MachinePoolStatus) *MachinePoolBuilder
- func (m *MachinePoolBuilder) WithVersion(version string) *MachinePoolBuilder
- type MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) Build() *clusterv1.MachinePoolClass
- func (in *MachinePoolClassBuilder) DeepCopy() *MachinePoolClassBuilder
- func (in *MachinePoolClassBuilder) DeepCopyInto(out *MachinePoolClassBuilder)
- func (m *MachinePoolClassBuilder) WithAnnotations(annotations map[string]string) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithBootstrapTemplate(t *unstructured.Unstructured) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithFailureDomains(failureDomains ...string) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithInfrastructureTemplate(t *unstructured.Unstructured) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithLabels(labels map[string]string) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithMinReadySeconds(t *int32) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithNamingStrategy(n *clusterv1.MachinePoolClassNamingStrategy) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithNodeDeletionTimeout(t *metav1.Duration) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithNodeDrainTimeout(t *metav1.Duration) *MachinePoolClassBuilder
- func (m *MachinePoolClassBuilder) WithNodeVolumeDetachTimeout(t *metav1.Duration) *MachinePoolClassBuilder
- type MachinePoolTopologyBuilder
- func (m *MachinePoolTopologyBuilder) Build() clusterv1.MachinePoolTopology
- func (in *MachinePoolTopologyBuilder) DeepCopy() *MachinePoolTopologyBuilder
- func (in *MachinePoolTopologyBuilder) DeepCopyInto(out *MachinePoolTopologyBuilder)
- func (m *MachinePoolTopologyBuilder) WithClass(class string) *MachinePoolTopologyBuilder
- func (m *MachinePoolTopologyBuilder) WithFailureDomains(failureDomains ...string) *MachinePoolTopologyBuilder
- func (m *MachinePoolTopologyBuilder) WithReplicas(replicas int32) *MachinePoolTopologyBuilder
- func (m *MachinePoolTopologyBuilder) WithVariables(variables ...clusterv1.ClusterVariable) *MachinePoolTopologyBuilder
- type MachineSetBuilder
- func (m *MachineSetBuilder) Build() *clusterv1.MachineSet
- func (in *MachineSetBuilder) DeepCopy() *MachineSetBuilder
- func (in *MachineSetBuilder) DeepCopyInto(out *MachineSetBuilder)
- func (m *MachineSetBuilder) WithBootstrapTemplate(ref *unstructured.Unstructured) *MachineSetBuilder
- func (m *MachineSetBuilder) WithClusterName(name string) *MachineSetBuilder
- func (m *MachineSetBuilder) WithInfrastructureTemplate(ref *unstructured.Unstructured) *MachineSetBuilder
- func (m *MachineSetBuilder) WithLabels(labels map[string]string) *MachineSetBuilder
- func (m *MachineSetBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) *MachineSetBuilder
- func (m *MachineSetBuilder) WithReplicas(replicas *int32) *MachineSetBuilder
- type NodeBuilder
- type Phase0Obj
- type Phase0ObjList
- type Phase0ObjSpec
- type Phase0ObjStatus
- type Phase1Obj
- func (in *Phase1Obj) DeepCopy() *Phase1Obj
- func (in *Phase1Obj) DeepCopyInto(out *Phase1Obj)
- func (in *Phase1Obj) DeepCopyObject() runtime.Object
- func (o *Phase1Obj) GetConditions() clusterv1.Conditions
- func (o *Phase1Obj) GetV1Beta2Conditions() []metav1.Condition
- func (o *Phase1Obj) SetConditions(conditions clusterv1.Conditions)
- func (o *Phase1Obj) SetV1Beta2Conditions(conditions []metav1.Condition)
- type Phase1ObjList
- type Phase1ObjSpec
- type Phase1ObjStatus
- type Phase1ObjStatusV1Beta2
- type Phase2Obj
- func (in *Phase2Obj) DeepCopy() *Phase2Obj
- func (in *Phase2Obj) DeepCopyInto(out *Phase2Obj)
- func (in *Phase2Obj) DeepCopyObject() runtime.Object
- func (o *Phase2Obj) GetConditions() clusterv1.Conditions
- func (o *Phase2Obj) GetV1Beta2Conditions() []metav1.Condition
- func (o *Phase2Obj) SetConditions(conditions clusterv1.Conditions)
- func (o *Phase2Obj) SetV1Beta2Conditions(conditions []metav1.Condition)
- type Phase2ObjList
- type Phase2ObjSpec
- type Phase2ObjStatus
- type Phase2ObjStatusDeprecated
- type Phase2ObjStatusDeprecatedV1Beta1
- type Phase3Obj
- type Phase3ObjList
- type Phase3ObjSpec
- type Phase3ObjStatus
- type TestBootstrapConfigBuilder
- func (b *TestBootstrapConfigBuilder) Build() *unstructured.Unstructured
- func (in *TestBootstrapConfigBuilder) DeepCopy() *TestBootstrapConfigBuilder
- func (in *TestBootstrapConfigBuilder) DeepCopyInto(out *TestBootstrapConfigBuilder)
- func (b *TestBootstrapConfigBuilder) WithSpecFields(fields map[string]interface{}) *TestBootstrapConfigBuilder
- type TestBootstrapTemplateBuilder
- func (b *TestBootstrapTemplateBuilder) Build() *unstructured.Unstructured
- func (in *TestBootstrapTemplateBuilder) DeepCopy() *TestBootstrapTemplateBuilder
- func (in *TestBootstrapTemplateBuilder) DeepCopyInto(out *TestBootstrapTemplateBuilder)
- func (b *TestBootstrapTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestBootstrapTemplateBuilder
- type TestControlPlaneBuilder
- func (c *TestControlPlaneBuilder) Build() *unstructured.Unstructured
- func (in *TestControlPlaneBuilder) DeepCopy() *TestControlPlaneBuilder
- func (in *TestControlPlaneBuilder) DeepCopyInto(out *TestControlPlaneBuilder)
- func (c *TestControlPlaneBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *TestControlPlaneBuilder
- func (c *TestControlPlaneBuilder) WithReplicas(replicas int64) *TestControlPlaneBuilder
- func (c *TestControlPlaneBuilder) WithSpecFields(fields map[string]interface{}) *TestControlPlaneBuilder
- func (c *TestControlPlaneBuilder) WithStatusFields(fields map[string]interface{}) *TestControlPlaneBuilder
- func (c *TestControlPlaneBuilder) WithVersion(version string) *TestControlPlaneBuilder
- type TestControlPlaneTemplateBuilder
- func (c *TestControlPlaneTemplateBuilder) Build() *unstructured.Unstructured
- func (in *TestControlPlaneTemplateBuilder) DeepCopy() *TestControlPlaneTemplateBuilder
- func (in *TestControlPlaneTemplateBuilder) DeepCopyInto(out *TestControlPlaneTemplateBuilder)
- func (c *TestControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *TestControlPlaneTemplateBuilder
- func (c *TestControlPlaneTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestControlPlaneTemplateBuilder
- type TestInfrastructureClusterBuilder
- func (i *TestInfrastructureClusterBuilder) Build() *unstructured.Unstructured
- func (in *TestInfrastructureClusterBuilder) DeepCopy() *TestInfrastructureClusterBuilder
- func (in *TestInfrastructureClusterBuilder) DeepCopyInto(out *TestInfrastructureClusterBuilder)
- func (i *TestInfrastructureClusterBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureClusterBuilder
- type TestInfrastructureClusterTemplateBuilder
- func (i *TestInfrastructureClusterTemplateBuilder) Build() *unstructured.Unstructured
- func (in *TestInfrastructureClusterTemplateBuilder) DeepCopy() *TestInfrastructureClusterTemplateBuilder
- func (in *TestInfrastructureClusterTemplateBuilder) DeepCopyInto(out *TestInfrastructureClusterTemplateBuilder)
- func (i *TestInfrastructureClusterTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureClusterTemplateBuilder
- type TestInfrastructureMachinePoolBuilder
- func (i *TestInfrastructureMachinePoolBuilder) Build() *unstructured.Unstructured
- func (in *TestInfrastructureMachinePoolBuilder) DeepCopy() *TestInfrastructureMachinePoolBuilder
- func (in *TestInfrastructureMachinePoolBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolBuilder)
- func (i *TestInfrastructureMachinePoolBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachinePoolBuilder
- type TestInfrastructureMachinePoolTemplateBuilder
- func (i *TestInfrastructureMachinePoolTemplateBuilder) Build() *unstructured.Unstructured
- func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopy() *TestInfrastructureMachinePoolTemplateBuilder
- func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolTemplateBuilder)
- func (i *TestInfrastructureMachinePoolTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachinePoolTemplateBuilder
- type TestInfrastructureMachineTemplateBuilder
- func (i *TestInfrastructureMachineTemplateBuilder) Build() *unstructured.Unstructured
- func (in *TestInfrastructureMachineTemplateBuilder) DeepCopy() *TestInfrastructureMachineTemplateBuilder
- func (in *TestInfrastructureMachineTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachineTemplateBuilder)
- func (i *TestInfrastructureMachineTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachineTemplateBuilder
Constants ¶
This section is empty.
Variables ¶
var ( // BootstrapGroupVersion is group version used for bootstrap objects. BootstrapGroupVersion = schema.GroupVersion{Group: "bootstrap.cluster.x-k8s.io", Version: "v1beta1"} // GenericBootstrapConfigKind is the Kind for the GenericBootstrapConfig. GenericBootstrapConfigKind = "GenericBootstrapConfig" // GenericBootstrapConfigCRD is a generic bootstrap CRD. GenericBootstrapConfigCRD = untypedCRD(BootstrapGroupVersion.WithKind(GenericBootstrapConfigKind)) // GenericBootstrapConfigTemplateKind is the Kind for the GenericBootstrapConfigTemplate. GenericBootstrapConfigTemplateKind = "GenericBootstrapConfigTemplate" // GenericBootstrapConfigTemplateCRD is a generic bootstrap template CRD. GenericBootstrapConfigTemplateCRD = untypedCRD(BootstrapGroupVersion.WithKind(GenericBootstrapConfigTemplateKind)) // TestBootstrapConfigTemplateKind is the kind for the TestBootstrapConfigTemplate type. TestBootstrapConfigTemplateKind = "TestBootstrapConfigTemplate" // TestBootstrapConfigTemplateCRD is a test bootstrap config template CRD. TestBootstrapConfigTemplateCRD = testBootstrapConfigTemplateCRD(BootstrapGroupVersion.WithKind(TestBootstrapConfigTemplateKind)) // TestBootstrapConfigKind is the kind for the TestBootstrapConfig type. TestBootstrapConfigKind = "TestBootstrapConfig" // TestBootstrapConfigCRD is a test bootstrap config CRD. TestBootstrapConfigCRD = testBootstrapConfigCRD(BootstrapGroupVersion.WithKind(TestBootstrapConfigKind)) )
var ( // ControlPlaneGroupVersion is group version used for control plane objects. ControlPlaneGroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.io", Version: "v1beta1"} // GenericControlPlaneKind is the Kind for the GenericControlPlane. GenericControlPlaneKind = "GenericControlPlane" // GenericControlPlaneCRD is a generic control plane CRD. GenericControlPlaneCRD = untypedCRD(ControlPlaneGroupVersion.WithKind(GenericControlPlaneKind)) // GenericControlPlaneTemplateKind is the Kind for the GenericControlPlaneTemplate. GenericControlPlaneTemplateKind = "GenericControlPlaneTemplate" // GenericControlPlaneTemplateCRD is a generic control plane template CRD. GenericControlPlaneTemplateCRD = untypedCRD(ControlPlaneGroupVersion.WithKind(GenericControlPlaneTemplateKind)) // TestControlPlaneTemplateKind is the Kind for the TestControlPlaneTemplate. TestControlPlaneTemplateKind = "TestControlPlaneTemplate" // TestControlPlaneTemplateCRD is a test control plane template CRD. TestControlPlaneTemplateCRD = testControlPlaneTemplateCRD(ControlPlaneGroupVersion.WithKind(TestControlPlaneTemplateKind)) // TestControlPlaneKind is the Kind for the TestControlPlane. TestControlPlaneKind = "TestControlPlane" // TestControlPlaneCRD is a test control plane CRD. TestControlPlaneCRD = testControlPlaneCRD(ControlPlaneGroupVersion.WithKind(TestControlPlaneKind)) )
var ( // InfrastructureGroupVersion is group version used for infrastructure objects. InfrastructureGroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta1"} // GenericInfrastructureMachineKind is the Kind for the GenericInfrastructureMachine. GenericInfrastructureMachineKind = "GenericInfrastructureMachine" // GenericInfrastructureMachineCRD is a generic infrastructure machine CRD. GenericInfrastructureMachineCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureMachineKind)) // GenericInfrastructureMachineTemplateKind is the Kind for the GenericInfrastructureMachineTemplate. GenericInfrastructureMachineTemplateKind = "GenericInfrastructureMachineTemplate" // GenericInfrastructureMachineTemplateCRD is a generic infrastructure machine template CRD. GenericInfrastructureMachineTemplateCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureMachineTemplateKind)) // GenericInfrastructureMachinePoolTemplateKind is the Kind for the GenericInfrastructureMachinePoolTemplate. GenericInfrastructureMachinePoolTemplateKind = "GenericInfrastructureMachinePoolTemplate" // GenericInfrastructureMachinePoolTemplateCRD is a generic infrastructure machine pool template CRD. GenericInfrastructureMachinePoolTemplateCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureMachinePoolTemplateKind)) // GenericInfrastructureMachinePoolKind is the Kind for the GenericInfrastructureMachinePool. GenericInfrastructureMachinePoolKind = "GenericInfrastructureMachinePool" // GenericInfrastructureMachinePoolCRD is a generic infrastructure machine pool CRD. GenericInfrastructureMachinePoolCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureMachinePoolKind)) // GenericInfrastructureClusterKind is the kind for the GenericInfrastructureCluster type. GenericInfrastructureClusterKind = "GenericInfrastructureCluster" // GenericInfrastructureClusterCRD is a generic infrastructure machine CRD. GenericInfrastructureClusterCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureClusterKind)) // GenericInfrastructureClusterTemplateKind is the kind for the GenericInfrastructureClusterTemplate type. GenericInfrastructureClusterTemplateKind = "GenericInfrastructureClusterTemplate" // GenericInfrastructureClusterTemplateCRD is a generic infrastructure machine template CRD. GenericInfrastructureClusterTemplateCRD = untypedCRD(InfrastructureGroupVersion.WithKind(GenericInfrastructureClusterTemplateKind)) // TestInfrastructureClusterTemplateKind is the kind for the TestInfrastructureClusterTemplate type. TestInfrastructureClusterTemplateKind = "TestInfrastructureClusterTemplate" // TestInfrastructureClusterTemplateCRD is a test infrastructure machine template CRD. TestInfrastructureClusterTemplateCRD = testInfrastructureClusterTemplateCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureClusterTemplateKind)) // TestInfrastructureClusterKind is the kind for the TestInfrastructureCluster type. TestInfrastructureClusterKind = "TestInfrastructureCluster" // TestInfrastructureClusterCRD is a test infrastructure machine CRD. TestInfrastructureClusterCRD = testInfrastructureClusterCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureClusterKind)) // TestInfrastructureMachineTemplateKind is the kind for the TestInfrastructureMachineTemplate type. TestInfrastructureMachineTemplateKind = "TestInfrastructureMachineTemplate" // TestInfrastructureMachineTemplateCRD is a test infrastructure machine template CRD. TestInfrastructureMachineTemplateCRD = testInfrastructureMachineTemplateCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureMachineTemplateKind)) // TestInfrastructureMachinePoolTemplateKind is the kind for the TestInfrastructureMachinePoolTemplate type. TestInfrastructureMachinePoolTemplateKind = "TestInfrastructureMachinePoolTemplate" // TestInfrastructureMachinePoolTemplateCRD is a test infrastructure machine pool template CRD. TestInfrastructureMachinePoolTemplateCRD = testInfrastructureMachinePoolTemplateCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureMachinePoolTemplateKind)) // TestInfrastructureMachinePoolKind is the kind for the TestInfrastructureMachinePool type. TestInfrastructureMachinePoolKind = "TestInfrastructureMachinePool" // TestInfrastructureMachinePoolCRD is a test infrastructure machine CRD. TestInfrastructureMachinePoolCRD = testInfrastructureMachinePoolCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureMachinePoolKind)) // TestInfrastructureMachineKind is the kind for the TestInfrastructureMachine type. TestInfrastructureMachineKind = "TestInfrastructureMachine" // TestInfrastructureMachineCRD is a test infrastructure machine CRD. TestInfrastructureMachineCRD = testInfrastructureMachineCRD(InfrastructureGroupVersion.WithKind(TestInfrastructureMachineKind)) )
var ( // RemediationGroupVersion is group version used for remediation objects. RemediationGroupVersion = schema.GroupVersion{Group: "remediation.external.io", Version: "v1beta1"} // GenericRemediationCRD is a generic infrastructure remediation CRD. GenericRemediationCRD = untypedCRD(RemediationGroupVersion.WithKind("GenericExternalRemediation")) // GenericRemediationTemplateCRD is a generic infrastructure remediation template CRD. GenericRemediationTemplateCRD = untypedCRD(RemediationGroupVersion.WithKind("GenericExternalRemediationTemplate")) )
var ( // TestGroupVersion is group version used for test CRDs used for validating the v1beta2 transition. TestGroupVersion = schema.GroupVersion{Group: "test.cluster.x-k8s.io", Version: "v1alpha1"} // AddTransitionV1Beta2ToScheme adds the types for validating the transition to v1Beta2 in this group-version to the given scheme. AddTransitionV1Beta2ToScheme = schemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BootstrapConfigBuilder ¶
type BootstrapConfigBuilder struct {
// contains filtered or unexported fields
}
BootstrapConfigBuilder holds the variables needed to build a generic BootstrapConfig.
func BootstrapConfig ¶
func BootstrapConfig(namespace, name string) *BootstrapConfigBuilder
BootstrapConfig creates a BootstrapConfigBuilder with the given name and namespace.
func (*BootstrapConfigBuilder) Build ¶
func (b *BootstrapConfigBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the information passed to the BootstrapConfigBuilder.
func (*BootstrapConfigBuilder) DeepCopy ¶
func (in *BootstrapConfigBuilder) DeepCopy() *BootstrapConfigBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapConfigBuilder.
func (*BootstrapConfigBuilder) DeepCopyInto ¶
func (in *BootstrapConfigBuilder) DeepCopyInto(out *BootstrapConfigBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapConfigBuilder) WithSpecFields ¶
func (b *BootstrapConfigBuilder) WithSpecFields(fields map[string]interface{}) *BootstrapConfigBuilder
WithSpecFields will add fields of any type to the object spec. It takes an argument, fields, which is of the form path: object.
type BootstrapTemplateBuilder ¶
type BootstrapTemplateBuilder struct {
// contains filtered or unexported fields
}
BootstrapTemplateBuilder holds the variables needed to build a generic BootstrapTemplate.
func BootstrapTemplate ¶
func BootstrapTemplate(namespace, name string) *BootstrapTemplateBuilder
BootstrapTemplate creates a BootstrapTemplateBuilder with the given name and namespace.
func (*BootstrapTemplateBuilder) Build ¶
func (b *BootstrapTemplateBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the information passed to the BootstrapTemplateBuilder.
func (*BootstrapTemplateBuilder) DeepCopy ¶
func (in *BootstrapTemplateBuilder) DeepCopy() *BootstrapTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTemplateBuilder.
func (*BootstrapTemplateBuilder) DeepCopyInto ¶
func (in *BootstrapTemplateBuilder) DeepCopyInto(out *BootstrapTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapTemplateBuilder) WithSpecFields ¶
func (b *BootstrapTemplateBuilder) WithSpecFields(fields map[string]interface{}) *BootstrapTemplateBuilder
WithSpecFields will add fields of any type to the object spec. It takes an argument, fields, which is of the form path: object.
type ClusterBuilder ¶
type ClusterBuilder struct {
// contains filtered or unexported fields
}
ClusterBuilder holds the variables and objects required to build a clusterv1.Cluster.
func Cluster ¶
func Cluster(namespace, name string) *ClusterBuilder
Cluster returns a ClusterBuilder with the given name and namespace.
func (*ClusterBuilder) Build ¶
func (c *ClusterBuilder) Build() *clusterv1.Cluster
Build returns a Cluster with the attributes added to the ClusterBuilder.
func (*ClusterBuilder) DeepCopy ¶
func (in *ClusterBuilder) DeepCopy() *ClusterBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBuilder.
func (*ClusterBuilder) DeepCopyInto ¶
func (in *ClusterBuilder) DeepCopyInto(out *ClusterBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterBuilder) WithAnnotations ¶
func (c *ClusterBuilder) WithAnnotations(annotations map[string]string) *ClusterBuilder
WithAnnotations sets the annotations for the ClusterBuilder.
func (*ClusterBuilder) WithClusterNetwork ¶
func (c *ClusterBuilder) WithClusterNetwork(clusterNetwork *clusterv1.ClusterNetwork) *ClusterBuilder
WithClusterNetwork sets the ClusterNetwork for the ClusterBuilder.
func (*ClusterBuilder) WithControlPlane ¶
func (c *ClusterBuilder) WithControlPlane(t *unstructured.Unstructured) *ClusterBuilder
WithControlPlane adds the passed ControlPlane to the ClusterBuilder.
func (*ClusterBuilder) WithInfrastructureCluster ¶
func (c *ClusterBuilder) WithInfrastructureCluster(t *unstructured.Unstructured) *ClusterBuilder
WithInfrastructureCluster adds the passed InfrastructureCluster to the ClusterBuilder.
func (*ClusterBuilder) WithLabels ¶
func (c *ClusterBuilder) WithLabels(labels map[string]string) *ClusterBuilder
WithLabels sets the labels for the ClusterBuilder.
func (*ClusterBuilder) WithTopology ¶
func (c *ClusterBuilder) WithTopology(topology *clusterv1.Topology) *ClusterBuilder
WithTopology adds the passed Topology object to the ClusterBuilder.
type ClusterClassBuilder ¶
type ClusterClassBuilder struct {
// contains filtered or unexported fields
}
ClusterClassBuilder holds the variables and objects required to build a clusterv1.ClusterClass.
func ClusterClass ¶
func ClusterClass(namespace, name string) *ClusterClassBuilder
ClusterClass returns a ClusterClassBuilder with the given name and namespace.
func (*ClusterClassBuilder) Build ¶
func (c *ClusterClassBuilder) Build() *clusterv1.ClusterClass
Build takes the objects and variables in the ClusterClass builder and uses them to create a ClusterClass object.
func (*ClusterClassBuilder) DeepCopy ¶
func (in *ClusterClassBuilder) DeepCopy() *ClusterClassBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterClassBuilder.
func (*ClusterClassBuilder) DeepCopyInto ¶
func (in *ClusterClassBuilder) DeepCopyInto(out *ClusterClassBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterClassBuilder) WithConditions ¶
func (c *ClusterClassBuilder) WithConditions(conditions ...clusterv1.Condition) *ClusterClassBuilder
WithConditions adds the conditions to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneInfrastructureMachineTemplate ¶
func (c *ClusterClassBuilder) WithControlPlaneInfrastructureMachineTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
WithControlPlaneInfrastructureMachineTemplate adds the ControlPlane's InfrastructureMachineTemplate to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneMachineHealthCheck ¶
func (c *ClusterClassBuilder) WithControlPlaneMachineHealthCheck(mhc *clusterv1.MachineHealthCheckClass) *ClusterClassBuilder
WithControlPlaneMachineHealthCheck adds a MachineHealthCheck for the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneMetadata ¶
func (c *ClusterClassBuilder) WithControlPlaneMetadata(labels, annotations map[string]string) *ClusterClassBuilder
WithControlPlaneMetadata adds the given labels and annotations for use with the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneNamingStrategy ¶
func (c *ClusterClassBuilder) WithControlPlaneNamingStrategy(n *clusterv1.ControlPlaneClassNamingStrategy) *ClusterClassBuilder
WithControlPlaneNamingStrategy sets the NamingStrategy for the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneNodeDeletionTimeout ¶
func (c *ClusterClassBuilder) WithControlPlaneNodeDeletionTimeout(t *metav1.Duration) *ClusterClassBuilder
WithControlPlaneNodeDeletionTimeout adds a NodeDeletionTimeout for the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneNodeDrainTimeout ¶
func (c *ClusterClassBuilder) WithControlPlaneNodeDrainTimeout(t *metav1.Duration) *ClusterClassBuilder
WithControlPlaneNodeDrainTimeout adds a NodeDrainTimeout for the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneNodeVolumeDetachTimeout ¶
func (c *ClusterClassBuilder) WithControlPlaneNodeVolumeDetachTimeout(t *metav1.Duration) *ClusterClassBuilder
WithControlPlaneNodeVolumeDetachTimeout adds a NodeVolumeDetachTimeout for the ControlPlane to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithControlPlaneTemplate ¶
func (c *ClusterClassBuilder) WithControlPlaneTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
WithControlPlaneTemplate adds the passed ControlPlaneTemplate to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithInfrastructureClusterTemplate ¶
func (c *ClusterClassBuilder) WithInfrastructureClusterTemplate(t *unstructured.Unstructured) *ClusterClassBuilder
WithInfrastructureClusterTemplate adds the passed InfrastructureClusterTemplate to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithPatches ¶
func (c *ClusterClassBuilder) WithPatches(patches []clusterv1.ClusterClassPatch) *ClusterClassBuilder
WithPatches adds the patches to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithStatusVariables ¶
func (c *ClusterClassBuilder) WithStatusVariables(vars ...clusterv1.ClusterClassStatusVariable) *ClusterClassBuilder
WithStatusVariables adds the ClusterClassStatusVariables to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithVariables ¶
func (c *ClusterClassBuilder) WithVariables(vars ...clusterv1.ClusterClassVariable) *ClusterClassBuilder
WithVariables adds the Variables to the ClusterClassBuilder.
func (*ClusterClassBuilder) WithWorkerMachineDeploymentClasses ¶
func (c *ClusterClassBuilder) WithWorkerMachineDeploymentClasses(mdcs ...clusterv1.MachineDeploymentClass) *ClusterClassBuilder
WithWorkerMachineDeploymentClasses adds the variables and objects needed to create MachineDeploymentTemplates for a ClusterClassBuilder.
func (*ClusterClassBuilder) WithWorkerMachinePoolClasses ¶
func (c *ClusterClassBuilder) WithWorkerMachinePoolClasses(mpcs ...clusterv1.MachinePoolClass) *ClusterClassBuilder
WithWorkerMachinePoolClasses adds the variables and objects needed to create MachinePoolTemplates for a ClusterClassBuilder.
type ClusterTopologyBuilder ¶
type ClusterTopologyBuilder struct {
// contains filtered or unexported fields
}
ClusterTopologyBuilder contains the fields needed to build a testable ClusterTopology.
func ClusterTopology ¶
func ClusterTopology() *ClusterTopologyBuilder
ClusterTopology returns a ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) Build ¶
func (c *ClusterTopologyBuilder) Build() *clusterv1.Topology
Build returns a testable cluster Topology object with any values passed to the builder.
func (*ClusterTopologyBuilder) DeepCopy ¶
func (in *ClusterTopologyBuilder) DeepCopy() *ClusterTopologyBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) DeepCopyInto ¶
func (in *ClusterTopologyBuilder) DeepCopyInto(out *ClusterTopologyBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTopologyBuilder) WithClass ¶
func (c *ClusterTopologyBuilder) WithClass(class string) *ClusterTopologyBuilder
WithClass adds the passed ClusterClass name to the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithControlPlaneMachineHealthCheck ¶
func (c *ClusterTopologyBuilder) WithControlPlaneMachineHealthCheck(mhc *clusterv1.MachineHealthCheckTopology) *ClusterTopologyBuilder
WithControlPlaneMachineHealthCheck adds MachineHealthCheckTopology used as the MachineHealthCheck value.
func (*ClusterTopologyBuilder) WithControlPlaneReplicas ¶
func (c *ClusterTopologyBuilder) WithControlPlaneReplicas(replicas int32) *ClusterTopologyBuilder
WithControlPlaneReplicas adds the passed replicas value to the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithControlPlaneVariables ¶
func (c *ClusterTopologyBuilder) WithControlPlaneVariables(variables ...clusterv1.ClusterVariable) *ClusterTopologyBuilder
WithControlPlaneVariables adds the passed variable values to the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithMachineDeployment ¶
func (c *ClusterTopologyBuilder) WithMachineDeployment(mdc clusterv1.MachineDeploymentTopology) *ClusterTopologyBuilder
WithMachineDeployment passes the full MachineDeploymentTopology and adds it to an existing list in the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithMachinePool ¶
func (c *ClusterTopologyBuilder) WithMachinePool(mpc clusterv1.MachinePoolTopology) *ClusterTopologyBuilder
WithMachinePool passes the full MachinePoolTopology and adds it to an existing list in the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithVariables ¶
func (c *ClusterTopologyBuilder) WithVariables(vars ...clusterv1.ClusterVariable) *ClusterTopologyBuilder
WithVariables adds the passed variables to the ClusterTopologyBuilder.
func (*ClusterTopologyBuilder) WithVersion ¶
func (c *ClusterTopologyBuilder) WithVersion(version string) *ClusterTopologyBuilder
WithVersion adds the passed version to the ClusterTopologyBuilder.
type ControlPlaneBuilder ¶
type ControlPlaneBuilder struct {
// contains filtered or unexported fields
}
ControlPlaneBuilder holds the variables and objects needed to build a generic object for cluster.spec.controlPlaneRef.
func ControlPlane ¶
func ControlPlane(namespace, name string) *ControlPlaneBuilder
ControlPlane returns a ControlPlaneBuilder with the given name and Namespace.
func TestControlPlane ¶
func TestControlPlane(namespace, name string) *ControlPlaneBuilder
TestControlPlane returns a TestControlPlaneBuilder with the given name and Namespace.
func (*ControlPlaneBuilder) Build ¶
func (c *ControlPlaneBuilder) Build() *unstructured.Unstructured
Build generates an Unstructured object from the information passed to the ControlPlaneBuilder.
func (*ControlPlaneBuilder) DeepCopy ¶
func (in *ControlPlaneBuilder) DeepCopy() *ControlPlaneBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneBuilder.
func (*ControlPlaneBuilder) DeepCopyInto ¶
func (in *ControlPlaneBuilder) DeepCopyInto(out *ControlPlaneBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneBuilder) WithAnnotations ¶
func (c *ControlPlaneBuilder) WithAnnotations(annotations map[string]string) *ControlPlaneBuilder
WithAnnotations adds the passed annotations to the ControlPlaneBuilder.
func (*ControlPlaneBuilder) WithInfrastructureMachineTemplate ¶
func (c *ControlPlaneBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *ControlPlaneBuilder
WithInfrastructureMachineTemplate adds the given unstructured object to the ControlPlaneBuilder as its InfrastructureMachineTemplate.
func (*ControlPlaneBuilder) WithLabels ¶
func (c *ControlPlaneBuilder) WithLabels(labels map[string]string) *ControlPlaneBuilder
WithLabels adds the passed labels to the ControlPlaneBuilder.
func (*ControlPlaneBuilder) WithReplicas ¶
func (c *ControlPlaneBuilder) WithReplicas(replicas int64) *ControlPlaneBuilder
WithReplicas sets the number of replicas for the ControlPlaneBuilder.
func (*ControlPlaneBuilder) WithSpecFields ¶
func (c *ControlPlaneBuilder) WithSpecFields(fields map[string]interface{}) *ControlPlaneBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
func (*ControlPlaneBuilder) WithStatusFields ¶
func (c *ControlPlaneBuilder) WithStatusFields(fields map[string]interface{}) *ControlPlaneBuilder
WithStatusFields sets a map of status fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the status field.
Note: all the paths should start with "status."
Example map: map[string]interface{}{ "status.version": "v1.2.3", }.
func (*ControlPlaneBuilder) WithVersion ¶
func (c *ControlPlaneBuilder) WithVersion(version string) *ControlPlaneBuilder
WithVersion adds the passed version to the ControlPlaneBuilder.
type ControlPlaneTemplateBuilder ¶
type ControlPlaneTemplateBuilder struct {
// contains filtered or unexported fields
}
ControlPlaneTemplateBuilder holds the variables and objects needed to build a generic ControlPlane template.
func ControlPlaneTemplate ¶
func ControlPlaneTemplate(namespace, name string) *ControlPlaneTemplateBuilder
ControlPlaneTemplate creates a NewControlPlaneTemplate builder with the given name and namespace.
func (*ControlPlaneTemplateBuilder) Build ¶
func (c *ControlPlaneTemplateBuilder) Build() *unstructured.Unstructured
Build creates an Unstructured object from the variables passed to the ControlPlaneTemplateBuilder.
func (*ControlPlaneTemplateBuilder) DeepCopy ¶
func (in *ControlPlaneTemplateBuilder) DeepCopy() *ControlPlaneTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneTemplateBuilder.
func (*ControlPlaneTemplateBuilder) DeepCopyInto ¶
func (in *ControlPlaneTemplateBuilder) DeepCopyInto(out *ControlPlaneTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate ¶
func (c *ControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *ControlPlaneTemplateBuilder
WithInfrastructureMachineTemplate adds the given Unstructured object to the ControlPlaneTemplateBuilder as its InfrastructureMachineTemplate.
func (*ControlPlaneTemplateBuilder) WithSpecFields ¶
func (c *ControlPlaneTemplateBuilder) WithSpecFields(fields map[string]interface{}) *ControlPlaneTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type InfrastructureClusterBuilder ¶
type InfrastructureClusterBuilder struct {
// contains filtered or unexported fields
}
InfrastructureClusterBuilder holds the variables and objects needed to build a generic InfrastructureCluster.
func InfrastructureCluster ¶
func InfrastructureCluster(namespace, name string) *InfrastructureClusterBuilder
InfrastructureCluster returns and InfrastructureClusterBuilder with the given name and namespace.
func (*InfrastructureClusterBuilder) Build ¶
func (i *InfrastructureClusterBuilder) Build() *unstructured.Unstructured
Build returns an Unstructured object with the information passed to the InfrastructureClusterBuilder.
func (*InfrastructureClusterBuilder) DeepCopy ¶
func (in *InfrastructureClusterBuilder) DeepCopy() *InfrastructureClusterBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureClusterBuilder.
func (*InfrastructureClusterBuilder) DeepCopyInto ¶
func (in *InfrastructureClusterBuilder) DeepCopyInto(out *InfrastructureClusterBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureClusterBuilder) WithSpecFields ¶
func (i *InfrastructureClusterBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureClusterBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type InfrastructureClusterTemplateBuilder ¶
type InfrastructureClusterTemplateBuilder struct {
// contains filtered or unexported fields
}
InfrastructureClusterTemplateBuilder holds the variables needed to build a generic InfrastructureClusterTemplate.
func InfrastructureClusterTemplate ¶
func InfrastructureClusterTemplate(namespace, name string) *InfrastructureClusterTemplateBuilder
InfrastructureClusterTemplate returns an InfrastructureClusterTemplateBuilder with the given name and namespace.
func (*InfrastructureClusterTemplateBuilder) Build ¶
func (i *InfrastructureClusterTemplateBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the variables passed to the InfrastructureClusterTemplateBuilder.
func (*InfrastructureClusterTemplateBuilder) DeepCopy ¶
func (in *InfrastructureClusterTemplateBuilder) DeepCopy() *InfrastructureClusterTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureClusterTemplateBuilder.
func (*InfrastructureClusterTemplateBuilder) DeepCopyInto ¶
func (in *InfrastructureClusterTemplateBuilder) DeepCopyInto(out *InfrastructureClusterTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureClusterTemplateBuilder) WithSpecFields ¶
func (i *InfrastructureClusterTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureClusterTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type InfrastructureMachinePoolBuilder ¶
type InfrastructureMachinePoolBuilder struct {
// contains filtered or unexported fields
}
InfrastructureMachinePoolBuilder holds the variables and objects needed to build an InfrastructureMachinePool.
func InfrastructureMachinePool ¶
func InfrastructureMachinePool(namespace, name string) *InfrastructureMachinePoolBuilder
InfrastructureMachinePool creates an InfrastructureMachinePoolBuilder with the given name and namespace.
func (*InfrastructureMachinePoolBuilder) Build ¶
func (i *InfrastructureMachinePoolBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the InfrastructureMachinePoolBuilder and generates an unstructured object.
func (*InfrastructureMachinePoolBuilder) DeepCopy ¶
func (in *InfrastructureMachinePoolBuilder) DeepCopy() *InfrastructureMachinePoolBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachinePoolBuilder.
func (*InfrastructureMachinePoolBuilder) DeepCopyInto ¶
func (in *InfrastructureMachinePoolBuilder) DeepCopyInto(out *InfrastructureMachinePoolBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureMachinePoolBuilder) WithSpecFields ¶
func (i *InfrastructureMachinePoolBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachinePoolBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type InfrastructureMachinePoolTemplateBuilder ¶
type InfrastructureMachinePoolTemplateBuilder struct {
// contains filtered or unexported fields
}
InfrastructureMachinePoolTemplateBuilder holds the variables and objects needed to build an InfrastructureMachinePoolTemplate.
func InfrastructureMachinePoolTemplate ¶
func InfrastructureMachinePoolTemplate(namespace, name string) *InfrastructureMachinePoolTemplateBuilder
InfrastructureMachinePoolTemplate creates an InfrastructureMachinePoolTemplateBuilder with the given name and namespace.
func (*InfrastructureMachinePoolTemplateBuilder) Build ¶
func (i *InfrastructureMachinePoolTemplateBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the InfrastructureMachineTemplateBuilder and generates an unstructured object.
func (*InfrastructureMachinePoolTemplateBuilder) DeepCopy ¶
func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopy() *InfrastructureMachinePoolTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachinePoolTemplateBuilder.
func (*InfrastructureMachinePoolTemplateBuilder) DeepCopyInto ¶
func (in *InfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *InfrastructureMachinePoolTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureMachinePoolTemplateBuilder) WithSpecFields ¶
func (i *InfrastructureMachinePoolTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachinePoolTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type InfrastructureMachineTemplateBuilder ¶
type InfrastructureMachineTemplateBuilder struct {
// contains filtered or unexported fields
}
InfrastructureMachineTemplateBuilder holds the variables and objects needed to build an InfrastructureMachineTemplate.
func InfrastructureMachineTemplate ¶
func InfrastructureMachineTemplate(namespace, name string) *InfrastructureMachineTemplateBuilder
InfrastructureMachineTemplate creates an InfrastructureMachineTemplateBuilder with the given name and namespace.
func (*InfrastructureMachineTemplateBuilder) Build ¶
func (i *InfrastructureMachineTemplateBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the InfrastructureMachineTemplateBuilder and generates an unstructured object.
func (*InfrastructureMachineTemplateBuilder) DeepCopy ¶
func (in *InfrastructureMachineTemplateBuilder) DeepCopy() *InfrastructureMachineTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureMachineTemplateBuilder.
func (*InfrastructureMachineTemplateBuilder) DeepCopyInto ¶
func (in *InfrastructureMachineTemplateBuilder) DeepCopyInto(out *InfrastructureMachineTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureMachineTemplateBuilder) WithSpecFields ¶
func (i *InfrastructureMachineTemplateBuilder) WithSpecFields(fields map[string]interface{}) *InfrastructureMachineTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type MachineBuilder ¶
type MachineBuilder struct {
// contains filtered or unexported fields
}
MachineBuilder holds the variables required to build a Machine.
func Machine ¶
func Machine(namespace, name string) *MachineBuilder
Machine returns a MachineBuilder.
func (*MachineBuilder) Build ¶
func (m *MachineBuilder) Build() *clusterv1.Machine
Build produces a Machine object from the information passed to the MachineBuilder.
func (*MachineBuilder) DeepCopy ¶
func (in *MachineBuilder) DeepCopy() *MachineBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineBuilder.
func (*MachineBuilder) DeepCopyInto ¶
func (in *MachineBuilder) DeepCopyInto(out *MachineBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineBuilder) WithBootstrapTemplate ¶
func (m *MachineBuilder) WithBootstrapTemplate(bootstrap *unstructured.Unstructured) *MachineBuilder
WithBootstrapTemplate adds a bootstrap template to the MachineBuilder.
func (*MachineBuilder) WithClusterName ¶
func (m *MachineBuilder) WithClusterName(clusterName string) *MachineBuilder
WithClusterName adds a clusterName to the MachineBuilder.
func (*MachineBuilder) WithLabels ¶
func (m *MachineBuilder) WithLabels(labels map[string]string) *MachineBuilder
WithLabels adds the given labels to the MachineSetBuilder.
func (*MachineBuilder) WithVersion ¶
func (m *MachineBuilder) WithVersion(version string) *MachineBuilder
WithVersion adds a version to the MachineBuilder.
type MachineDeploymentBuilder ¶
type MachineDeploymentBuilder struct {
// contains filtered or unexported fields
}
MachineDeploymentBuilder holds the variables and objects needed to build a generic MachineDeployment.
func MachineDeployment ¶
func MachineDeployment(namespace, name string) *MachineDeploymentBuilder
MachineDeployment creates a MachineDeploymentBuilder with the given name and namespace.
func (*MachineDeploymentBuilder) Build ¶
func (m *MachineDeploymentBuilder) Build() *clusterv1.MachineDeployment
Build creates a new MachineDeployment with the variables and objects passed to the MachineDeploymentBuilder.
func (*MachineDeploymentBuilder) DeepCopy ¶
func (in *MachineDeploymentBuilder) DeepCopy() *MachineDeploymentBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentBuilder.
func (*MachineDeploymentBuilder) DeepCopyInto ¶
func (in *MachineDeploymentBuilder) DeepCopyInto(out *MachineDeploymentBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeploymentBuilder) WithAnnotations ¶
func (m *MachineDeploymentBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentBuilder
WithAnnotations adds the given annotations to the MachineDeploymentBuilder.
func (*MachineDeploymentBuilder) WithBootstrapTemplate ¶
func (m *MachineDeploymentBuilder) WithBootstrapTemplate(ref *unstructured.Unstructured) *MachineDeploymentBuilder
WithBootstrapTemplate adds the passed Unstructured object to the MachineDeploymentBuilder as a bootstrapTemplate.
func (*MachineDeploymentBuilder) WithClusterName ¶
func (m *MachineDeploymentBuilder) WithClusterName(name string) *MachineDeploymentBuilder
WithClusterName adds the clusterName to the MachineDeploymentBuilder.
func (*MachineDeploymentBuilder) WithGeneration ¶
func (m *MachineDeploymentBuilder) WithGeneration(generation int64) *MachineDeploymentBuilder
WithGeneration sets the passed value on the machine deployments object metadata.
func (*MachineDeploymentBuilder) WithInfrastructureTemplate ¶
func (m *MachineDeploymentBuilder) WithInfrastructureTemplate(ref *unstructured.Unstructured) *MachineDeploymentBuilder
WithInfrastructureTemplate adds the passed unstructured object to the MachineDeployment builder as an infrastructureMachineTemplate.
func (*MachineDeploymentBuilder) WithLabels ¶
func (m *MachineDeploymentBuilder) WithLabels(labels map[string]string) *MachineDeploymentBuilder
WithLabels adds the given labels to the MachineDeploymentBuilder.
func (*MachineDeploymentBuilder) WithMinReadySeconds ¶
func (m *MachineDeploymentBuilder) WithMinReadySeconds(minReadySeconds int32) *MachineDeploymentBuilder
WithMinReadySeconds sets the passed value on the machine deployment spec.
func (*MachineDeploymentBuilder) WithReplicas ¶
func (m *MachineDeploymentBuilder) WithReplicas(replicas int32) *MachineDeploymentBuilder
WithReplicas sets the number of replicas for the MachineDeploymentClassBuilder.
func (*MachineDeploymentBuilder) WithSelector ¶
func (m *MachineDeploymentBuilder) WithSelector(selector metav1.LabelSelector) *MachineDeploymentBuilder
WithSelector adds the passed selector to the MachineDeployment as the selector.
func (*MachineDeploymentBuilder) WithStatus ¶
func (m *MachineDeploymentBuilder) WithStatus(status clusterv1.MachineDeploymentStatus) *MachineDeploymentBuilder
WithStatus sets the passed status object as the status of the machine deployment object.
func (*MachineDeploymentBuilder) WithVersion ¶
func (m *MachineDeploymentBuilder) WithVersion(version string) *MachineDeploymentBuilder
WithVersion sets the passed version on the machine deployment spec.
type MachineDeploymentClassBuilder ¶
type MachineDeploymentClassBuilder struct {
// contains filtered or unexported fields
}
MachineDeploymentClassBuilder holds the variables and objects required to build a clusterv1.MachineDeploymentClass.
func MachineDeploymentClass ¶
func MachineDeploymentClass(class string) *MachineDeploymentClassBuilder
MachineDeploymentClass returns a MachineDeploymentClassBuilder with the given name and namespace.
func (*MachineDeploymentClassBuilder) Build ¶
func (m *MachineDeploymentClassBuilder) Build() *clusterv1.MachineDeploymentClass
Build creates a full MachineDeploymentClass object with the variables passed to the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) DeepCopy ¶
func (in *MachineDeploymentClassBuilder) DeepCopy() *MachineDeploymentClassBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) DeepCopyInto ¶
func (in *MachineDeploymentClassBuilder) DeepCopyInto(out *MachineDeploymentClassBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeploymentClassBuilder) WithAnnotations ¶
func (m *MachineDeploymentClassBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentClassBuilder
WithAnnotations sets the annotations for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithBootstrapTemplate ¶
func (m *MachineDeploymentClassBuilder) WithBootstrapTemplate(t *unstructured.Unstructured) *MachineDeploymentClassBuilder
WithBootstrapTemplate registers the passed Unstructured object as the BootstrapTemplate for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithFailureDomain ¶
func (m *MachineDeploymentClassBuilder) WithFailureDomain(f *string) *MachineDeploymentClassBuilder
WithFailureDomain sets the FailureDomain for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithInfrastructureTemplate ¶
func (m *MachineDeploymentClassBuilder) WithInfrastructureTemplate(t *unstructured.Unstructured) *MachineDeploymentClassBuilder
WithInfrastructureTemplate registers the passed Unstructured object as the InfrastructureMachineTemplate for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithLabels ¶
func (m *MachineDeploymentClassBuilder) WithLabels(labels map[string]string) *MachineDeploymentClassBuilder
WithLabels sets the labels for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithMachineHealthCheckClass ¶
func (m *MachineDeploymentClassBuilder) WithMachineHealthCheckClass(mhc *clusterv1.MachineHealthCheckClass) *MachineDeploymentClassBuilder
WithMachineHealthCheckClass sets the MachineHealthCheckClass for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithMinReadySeconds ¶
func (m *MachineDeploymentClassBuilder) WithMinReadySeconds(t *int32) *MachineDeploymentClassBuilder
WithMinReadySeconds sets the MinReadySeconds for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithNamingStrategy ¶
func (m *MachineDeploymentClassBuilder) WithNamingStrategy(n *clusterv1.MachineDeploymentClassNamingStrategy) *MachineDeploymentClassBuilder
WithNamingStrategy sets the NamingStrategy for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithNodeDeletionTimeout ¶
func (m *MachineDeploymentClassBuilder) WithNodeDeletionTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
WithNodeDeletionTimeout sets the NodeDeletionTimeout for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithNodeDrainTimeout ¶
func (m *MachineDeploymentClassBuilder) WithNodeDrainTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
WithNodeDrainTimeout sets the NodeDrainTimeout for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithNodeVolumeDetachTimeout ¶
func (m *MachineDeploymentClassBuilder) WithNodeVolumeDetachTimeout(t *metav1.Duration) *MachineDeploymentClassBuilder
WithNodeVolumeDetachTimeout sets the NodeVolumeDetachTimeout for the MachineDeploymentClassBuilder.
func (*MachineDeploymentClassBuilder) WithStrategy ¶
func (m *MachineDeploymentClassBuilder) WithStrategy(s *clusterv1.MachineDeploymentStrategy) *MachineDeploymentClassBuilder
WithStrategy sets the Strategy for the MachineDeploymentClassBuilder.
type MachineDeploymentTopologyBuilder ¶
type MachineDeploymentTopologyBuilder struct {
// contains filtered or unexported fields
}
MachineDeploymentTopologyBuilder holds the values needed to create a testable MachineDeploymentTopology.
func MachineDeploymentTopology ¶
func MachineDeploymentTopology(name string) *MachineDeploymentTopologyBuilder
MachineDeploymentTopology returns a builder used to create a testable MachineDeploymentTopology.
func (*MachineDeploymentTopologyBuilder) Build ¶
func (m *MachineDeploymentTopologyBuilder) Build() clusterv1.MachineDeploymentTopology
Build returns a testable MachineDeploymentTopology with any values passed to the builder.
func (*MachineDeploymentTopologyBuilder) DeepCopy ¶
func (in *MachineDeploymentTopologyBuilder) DeepCopy() *MachineDeploymentTopologyBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentTopologyBuilder.
func (*MachineDeploymentTopologyBuilder) DeepCopyInto ¶
func (in *MachineDeploymentTopologyBuilder) DeepCopyInto(out *MachineDeploymentTopologyBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineDeploymentTopologyBuilder) WithAnnotations ¶
func (m *MachineDeploymentTopologyBuilder) WithAnnotations(annotations map[string]string) *MachineDeploymentTopologyBuilder
WithAnnotations adds annotations map used as the MachineDeploymentTopology annotations.
func (*MachineDeploymentTopologyBuilder) WithClass ¶
func (m *MachineDeploymentTopologyBuilder) WithClass(class string) *MachineDeploymentTopologyBuilder
WithClass adds a class string used as the MachineDeploymentTopology class.
func (*MachineDeploymentTopologyBuilder) WithMachineHealthCheck ¶
func (m *MachineDeploymentTopologyBuilder) WithMachineHealthCheck(mhc *clusterv1.MachineHealthCheckTopology) *MachineDeploymentTopologyBuilder
WithMachineHealthCheck adds MachineHealthCheckTopology used as the MachineHealthCheck value.
func (*MachineDeploymentTopologyBuilder) WithReplicas ¶
func (m *MachineDeploymentTopologyBuilder) WithReplicas(replicas int32) *MachineDeploymentTopologyBuilder
WithReplicas adds a replicas value used as the MachineDeploymentTopology replicas value.
func (*MachineDeploymentTopologyBuilder) WithVariables ¶
func (m *MachineDeploymentTopologyBuilder) WithVariables(variables ...clusterv1.ClusterVariable) *MachineDeploymentTopologyBuilder
WithVariables adds variables used as the MachineDeploymentTopology variables value.
type MachineHealthCheckBuilder ¶
type MachineHealthCheckBuilder struct {
// contains filtered or unexported fields
}
MachineHealthCheckBuilder holds fields for creating a MachineHealthCheck.
func MachineHealthCheck ¶
func MachineHealthCheck(namespace, name string) *MachineHealthCheckBuilder
MachineHealthCheck returns a MachineHealthCheckBuilder with the given name and namespace.
func (*MachineHealthCheckBuilder) Build ¶
func (m *MachineHealthCheckBuilder) Build() *clusterv1.MachineHealthCheck
Build returns a MachineHealthCheck with the supplied details.
func (*MachineHealthCheckBuilder) DeepCopy ¶
func (in *MachineHealthCheckBuilder) DeepCopy() *MachineHealthCheckBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineHealthCheckBuilder.
func (*MachineHealthCheckBuilder) DeepCopyInto ¶
func (in *MachineHealthCheckBuilder) DeepCopyInto(out *MachineHealthCheckBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineHealthCheckBuilder) WithClusterName ¶
func (m *MachineHealthCheckBuilder) WithClusterName(clusterName string) *MachineHealthCheckBuilder
WithClusterName adds a cluster name for the MachineHealthCheck.
func (*MachineHealthCheckBuilder) WithMaxUnhealthy ¶
func (m *MachineHealthCheckBuilder) WithMaxUnhealthy(maxUnhealthy *intstr.IntOrString) *MachineHealthCheckBuilder
WithMaxUnhealthy adds a MaxUnhealthyValue for the MachineHealthCheck.
func (*MachineHealthCheckBuilder) WithOwnerReferences ¶
func (m *MachineHealthCheckBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) *MachineHealthCheckBuilder
WithOwnerReferences adds ownerreferences for the MachineHealthCheck.
func (*MachineHealthCheckBuilder) WithSelector ¶
func (m *MachineHealthCheckBuilder) WithSelector(selector metav1.LabelSelector) *MachineHealthCheckBuilder
WithSelector adds the selector used to target machines for the MachineHealthCheck.
func (*MachineHealthCheckBuilder) WithUnhealthyConditions ¶
func (m *MachineHealthCheckBuilder) WithUnhealthyConditions(conditions []clusterv1.UnhealthyCondition) *MachineHealthCheckBuilder
WithUnhealthyConditions adds the spec used to build the parameters of the MachineHealthCheck.
type MachinePoolBuilder ¶
type MachinePoolBuilder struct {
// contains filtered or unexported fields
}
MachinePoolBuilder holds the variables and objects needed to build a generic MachinePool.
func MachinePool ¶
func MachinePool(namespace, name string) *MachinePoolBuilder
MachinePool creates a MachinePoolBuilder with the given name and namespace.
func (*MachinePoolBuilder) Build ¶
func (m *MachinePoolBuilder) Build() *expv1.MachinePool
Build creates a new MachinePool with the variables and objects passed to the MachinePoolBuilder.
func (*MachinePoolBuilder) DeepCopy ¶
func (in *MachinePoolBuilder) DeepCopy() *MachinePoolBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolBuilder.
func (*MachinePoolBuilder) DeepCopyInto ¶
func (in *MachinePoolBuilder) DeepCopyInto(out *MachinePoolBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePoolBuilder) WithAnnotations ¶
func (m *MachinePoolBuilder) WithAnnotations(annotations map[string]string) *MachinePoolBuilder
WithAnnotations adds the given annotations to the MachinePoolBuilder.
func (*MachinePoolBuilder) WithBootstrap ¶
func (m *MachinePoolBuilder) WithBootstrap(ref *unstructured.Unstructured) *MachinePoolBuilder
WithBootstrap adds the passed Unstructured object to the MachinePoolBuilder as a bootstrap.
func (*MachinePoolBuilder) WithClusterName ¶
func (m *MachinePoolBuilder) WithClusterName(clusterName string) *MachinePoolBuilder
WithClusterName sets the passed clusterName on the MachinePool spec.
func (*MachinePoolBuilder) WithInfrastructure ¶
func (m *MachinePoolBuilder) WithInfrastructure(ref *unstructured.Unstructured) *MachinePoolBuilder
WithInfrastructure adds the passed Unstructured object to the MachinePool builder as an InfrastructureMachinePool.
func (*MachinePoolBuilder) WithLabels ¶
func (m *MachinePoolBuilder) WithLabels(labels map[string]string) *MachinePoolBuilder
WithLabels adds the given labels to the MachinePoolBuilder.
func (*MachinePoolBuilder) WithMinReadySeconds ¶
func (m *MachinePoolBuilder) WithMinReadySeconds(minReadySeconds int32) *MachinePoolBuilder
WithMinReadySeconds sets the passed value on the machine pool spec.
func (*MachinePoolBuilder) WithReplicas ¶
func (m *MachinePoolBuilder) WithReplicas(replicas int32) *MachinePoolBuilder
WithReplicas sets the number of replicas for the MachinePoolBuilder.
func (*MachinePoolBuilder) WithStatus ¶
func (m *MachinePoolBuilder) WithStatus(status expv1.MachinePoolStatus) *MachinePoolBuilder
WithStatus sets the passed status object as the status of the MachinePool object.
func (*MachinePoolBuilder) WithVersion ¶
func (m *MachinePoolBuilder) WithVersion(version string) *MachinePoolBuilder
WithVersion sets the passed version on the MachinePool spec.
type MachinePoolClassBuilder ¶
type MachinePoolClassBuilder struct {
// contains filtered or unexported fields
}
MachinePoolClassBuilder holds the variables and objects required to build a clusterv1.MachinePoolClass.
func MachinePoolClass ¶
func MachinePoolClass(class string) *MachinePoolClassBuilder
MachinePoolClass returns a MachinePoolClassBuilder with the given name and namespace.
func (*MachinePoolClassBuilder) Build ¶
func (m *MachinePoolClassBuilder) Build() *clusterv1.MachinePoolClass
Build creates a full MachinePoolClass object with the variables passed to the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) DeepCopy ¶
func (in *MachinePoolClassBuilder) DeepCopy() *MachinePoolClassBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) DeepCopyInto ¶
func (in *MachinePoolClassBuilder) DeepCopyInto(out *MachinePoolClassBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePoolClassBuilder) WithAnnotations ¶
func (m *MachinePoolClassBuilder) WithAnnotations(annotations map[string]string) *MachinePoolClassBuilder
WithAnnotations sets the annotations for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithBootstrapTemplate ¶
func (m *MachinePoolClassBuilder) WithBootstrapTemplate(t *unstructured.Unstructured) *MachinePoolClassBuilder
WithBootstrapTemplate registers the passed Unstructured object as the BootstrapTemplate for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithFailureDomains ¶
func (m *MachinePoolClassBuilder) WithFailureDomains(failureDomains ...string) *MachinePoolClassBuilder
WithFailureDomains sets the FailureDomains for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithInfrastructureTemplate ¶
func (m *MachinePoolClassBuilder) WithInfrastructureTemplate(t *unstructured.Unstructured) *MachinePoolClassBuilder
WithInfrastructureTemplate registers the passed Unstructured object as the InfrastructureMachinePoolTemplate for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithLabels ¶
func (m *MachinePoolClassBuilder) WithLabels(labels map[string]string) *MachinePoolClassBuilder
WithLabels sets the labels for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithMinReadySeconds ¶
func (m *MachinePoolClassBuilder) WithMinReadySeconds(t *int32) *MachinePoolClassBuilder
WithMinReadySeconds sets the MinReadySeconds for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithNamingStrategy ¶
func (m *MachinePoolClassBuilder) WithNamingStrategy(n *clusterv1.MachinePoolClassNamingStrategy) *MachinePoolClassBuilder
WithNamingStrategy sets the NamingStrategy for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithNodeDeletionTimeout ¶
func (m *MachinePoolClassBuilder) WithNodeDeletionTimeout(t *metav1.Duration) *MachinePoolClassBuilder
WithNodeDeletionTimeout sets the NodeDeletionTimeout for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithNodeDrainTimeout ¶
func (m *MachinePoolClassBuilder) WithNodeDrainTimeout(t *metav1.Duration) *MachinePoolClassBuilder
WithNodeDrainTimeout sets the NodeDrainTimeout for the MachinePoolClassBuilder.
func (*MachinePoolClassBuilder) WithNodeVolumeDetachTimeout ¶
func (m *MachinePoolClassBuilder) WithNodeVolumeDetachTimeout(t *metav1.Duration) *MachinePoolClassBuilder
WithNodeVolumeDetachTimeout sets the NodeVolumeDetachTimeout for the MachinePoolClassBuilder.
type MachinePoolTopologyBuilder ¶
type MachinePoolTopologyBuilder struct {
// contains filtered or unexported fields
}
MachinePoolTopologyBuilder holds the values needed to create a testable MachinePoolTopology.
func MachinePoolTopology ¶
func MachinePoolTopology(name string) *MachinePoolTopologyBuilder
MachinePoolTopology returns a builder used to create a testable MachinePoolTopology.
func (*MachinePoolTopologyBuilder) Build ¶
func (m *MachinePoolTopologyBuilder) Build() clusterv1.MachinePoolTopology
Build returns a testable MachinePoolTopology with any values passed to the builder.
func (*MachinePoolTopologyBuilder) DeepCopy ¶
func (in *MachinePoolTopologyBuilder) DeepCopy() *MachinePoolTopologyBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolTopologyBuilder.
func (*MachinePoolTopologyBuilder) DeepCopyInto ¶
func (in *MachinePoolTopologyBuilder) DeepCopyInto(out *MachinePoolTopologyBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachinePoolTopologyBuilder) WithClass ¶
func (m *MachinePoolTopologyBuilder) WithClass(class string) *MachinePoolTopologyBuilder
WithClass adds a class string used as the MachinePoolTopology class.
func (*MachinePoolTopologyBuilder) WithFailureDomains ¶
func (m *MachinePoolTopologyBuilder) WithFailureDomains(failureDomains ...string) *MachinePoolTopologyBuilder
WithFailureDomains adds a failureDomains value used as the MachinePoolTopology failureDomains value.
func (*MachinePoolTopologyBuilder) WithReplicas ¶
func (m *MachinePoolTopologyBuilder) WithReplicas(replicas int32) *MachinePoolTopologyBuilder
WithReplicas adds a replicas value used as the MachinePoolTopology replicas value.
func (*MachinePoolTopologyBuilder) WithVariables ¶
func (m *MachinePoolTopologyBuilder) WithVariables(variables ...clusterv1.ClusterVariable) *MachinePoolTopologyBuilder
WithVariables adds variables used as the MachinePoolTopology variables value.
type MachineSetBuilder ¶
type MachineSetBuilder struct {
// contains filtered or unexported fields
}
MachineSetBuilder holds the variables and objects needed to build a MachineSet.
func MachineSet ¶
func MachineSet(namespace, name string) *MachineSetBuilder
MachineSet creates a MachineSetBuilder with the given name and namespace.
func (*MachineSetBuilder) Build ¶
func (m *MachineSetBuilder) Build() *clusterv1.MachineSet
Build creates a new MachineSet with the variables and objects passed to the MachineSetBuilder.
func (*MachineSetBuilder) DeepCopy ¶
func (in *MachineSetBuilder) DeepCopy() *MachineSetBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetBuilder.
func (*MachineSetBuilder) DeepCopyInto ¶
func (in *MachineSetBuilder) DeepCopyInto(out *MachineSetBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineSetBuilder) WithBootstrapTemplate ¶
func (m *MachineSetBuilder) WithBootstrapTemplate(ref *unstructured.Unstructured) *MachineSetBuilder
WithBootstrapTemplate adds the passed Unstructured object to the MachineSetBuilder as a bootstrapTemplate.
func (*MachineSetBuilder) WithClusterName ¶
func (m *MachineSetBuilder) WithClusterName(name string) *MachineSetBuilder
WithClusterName sets the number of replicas for the MachineSetBuilder.
func (*MachineSetBuilder) WithInfrastructureTemplate ¶
func (m *MachineSetBuilder) WithInfrastructureTemplate(ref *unstructured.Unstructured) *MachineSetBuilder
WithInfrastructureTemplate adds the passed unstructured object to the MachineSetBuilder as an infrastructureMachineTemplate.
func (*MachineSetBuilder) WithLabels ¶
func (m *MachineSetBuilder) WithLabels(labels map[string]string) *MachineSetBuilder
WithLabels adds the given labels to the MachineSetBuilder.
func (*MachineSetBuilder) WithOwnerReferences ¶
func (m *MachineSetBuilder) WithOwnerReferences(ownerRefs []metav1.OwnerReference) *MachineSetBuilder
WithOwnerReferences adds ownerReferences for the MachineSetBuilder.
func (*MachineSetBuilder) WithReplicas ¶
func (m *MachineSetBuilder) WithReplicas(replicas *int32) *MachineSetBuilder
WithReplicas sets the number of replicas for the MachineSetBuilder.
type NodeBuilder ¶
type NodeBuilder struct {
// contains filtered or unexported fields
}
NodeBuilder holds the variables required to build a Node.
func (*NodeBuilder) Build ¶
func (n *NodeBuilder) Build() *corev1.Node
Build produces a new Node from the information passed to the NodeBuilder.
func (*NodeBuilder) DeepCopy ¶
func (in *NodeBuilder) DeepCopy() *NodeBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeBuilder.
func (*NodeBuilder) DeepCopyInto ¶
func (in *NodeBuilder) DeepCopyInto(out *NodeBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeBuilder) WithStatus ¶
func (n *NodeBuilder) WithStatus(status corev1.NodeStatus) *NodeBuilder
WithStatus adds Status to the NodeBuilder.
type Phase0Obj ¶
type Phase0Obj struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Phase0ObjSpec `json:"spec,omitempty"` Status Phase0ObjStatus `json:"status,omitempty"` }
Phase0Obj defines an object with clusterv1.Conditions. +kubebuilder:object:root=true +kubebuilder:resource:path=phase0obj,scope=Namespaced,categories=cluster-api +kubebuilder:subresource:status +kubebuilder:storageversion
func (*Phase0Obj) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase0Obj.
func (*Phase0Obj) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase0Obj) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Phase0Obj) GetConditions ¶
func (o *Phase0Obj) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*Phase0Obj) SetConditions ¶
func (o *Phase0Obj) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
type Phase0ObjList ¶
type Phase0ObjList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Phase0Obj `json:"items"` }
Phase0ObjList is a list of Phase0Obj. +kubebuilder:object:root=true
func (*Phase0ObjList) DeepCopy ¶
func (in *Phase0ObjList) DeepCopy() *Phase0ObjList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase0ObjList.
func (*Phase0ObjList) DeepCopyInto ¶
func (in *Phase0ObjList) DeepCopyInto(out *Phase0ObjList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase0ObjList) DeepCopyObject ¶
func (in *Phase0ObjList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Phase0ObjSpec ¶
type Phase0ObjSpec struct { // +optional Foo string `json:"foo,omitempty"` }
Phase0ObjSpec defines the spec of a Phase0Obj.
func (*Phase0ObjSpec) DeepCopy ¶
func (in *Phase0ObjSpec) DeepCopy() *Phase0ObjSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase0ObjSpec.
func (*Phase0ObjSpec) DeepCopyInto ¶
func (in *Phase0ObjSpec) DeepCopyInto(out *Phase0ObjSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase0ObjStatus ¶
type Phase0ObjStatus struct { // +optional Bar string `json:"bar,omitempty"` // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
Phase0ObjStatus defines the status of a Phase0Obj.
func (*Phase0ObjStatus) DeepCopy ¶
func (in *Phase0ObjStatus) DeepCopy() *Phase0ObjStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase0ObjStatus.
func (*Phase0ObjStatus) DeepCopyInto ¶
func (in *Phase0ObjStatus) DeepCopyInto(out *Phase0ObjStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase1Obj ¶
type Phase1Obj struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Phase1ObjSpec `json:"spec,omitempty"` Status Phase1ObjStatus `json:"status,omitempty"` }
Phase1Obj defines an object with conditions and experimental conditions. +kubebuilder:object:root=true +kubebuilder:resource:path=phase1obj,scope=Namespaced,categories=cluster-api +kubebuilder:subresource:status +kubebuilder:storageversion
func (*Phase1Obj) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase1Obj.
func (*Phase1Obj) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase1Obj) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Phase1Obj) GetConditions ¶
func (o *Phase1Obj) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*Phase1Obj) GetV1Beta2Conditions ¶
GetV1Beta2Conditions returns the set of conditions for this object.
func (*Phase1Obj) SetConditions ¶
func (o *Phase1Obj) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*Phase1Obj) SetV1Beta2Conditions ¶
SetV1Beta2Conditions sets conditions for an API object.
type Phase1ObjList ¶
type Phase1ObjList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Phase1Obj `json:"items"` }
Phase1ObjList is a list of Phase1Obj. +kubebuilder:object:root=true
func (*Phase1ObjList) DeepCopy ¶
func (in *Phase1ObjList) DeepCopy() *Phase1ObjList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase1ObjList.
func (*Phase1ObjList) DeepCopyInto ¶
func (in *Phase1ObjList) DeepCopyInto(out *Phase1ObjList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase1ObjList) DeepCopyObject ¶
func (in *Phase1ObjList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Phase1ObjSpec ¶
type Phase1ObjSpec struct { // +optional Foo string `json:"foo,omitempty"` }
Phase1ObjSpec defines the spec of a Phase1Obj.
func (*Phase1ObjSpec) DeepCopy ¶
func (in *Phase1ObjSpec) DeepCopy() *Phase1ObjSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase1ObjSpec.
func (*Phase1ObjSpec) DeepCopyInto ¶
func (in *Phase1ObjSpec) DeepCopyInto(out *Phase1ObjSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase1ObjStatus ¶
type Phase1ObjStatus struct { // +optional Bar string `json:"bar,omitempty"` // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // +optional V1Beta2 *Phase1ObjStatusV1Beta2 `json:"v1beta2,omitempty"` }
Phase1ObjStatus defines the status of a Phase1Obj.
func (*Phase1ObjStatus) DeepCopy ¶
func (in *Phase1ObjStatus) DeepCopy() *Phase1ObjStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase1ObjStatus.
func (*Phase1ObjStatus) DeepCopyInto ¶
func (in *Phase1ObjStatus) DeepCopyInto(out *Phase1ObjStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase1ObjStatusV1Beta2 ¶
type Phase1ObjStatusV1Beta2 struct { // +optional // +listType=map // +listMapKey=type // +kubebuilder:validation:MaxItems=32 Conditions []metav1.Condition `json:"conditions,omitempty"` }
Phase1ObjStatusV1Beta2 defines the status.V1Beta2 of a Phase1Obj.
func (*Phase1ObjStatusV1Beta2) DeepCopy ¶
func (in *Phase1ObjStatusV1Beta2) DeepCopy() *Phase1ObjStatusV1Beta2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase1ObjStatusV1Beta2.
func (*Phase1ObjStatusV1Beta2) DeepCopyInto ¶
func (in *Phase1ObjStatusV1Beta2) DeepCopyInto(out *Phase1ObjStatusV1Beta2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase2Obj ¶
type Phase2Obj struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Phase2ObjSpec `json:"spec,omitempty"` Status Phase2ObjStatus `json:"status,omitempty"` }
Phase2Obj defines an object with conditions and back compatibility conditions. +kubebuilder:object:root=true +kubebuilder:resource:path=phase2obj,scope=Namespaced,categories=cluster-api +kubebuilder:subresource:status +kubebuilder:storageversion
func (*Phase2Obj) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2Obj.
func (*Phase2Obj) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase2Obj) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Phase2Obj) GetConditions ¶
func (o *Phase2Obj) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*Phase2Obj) GetV1Beta2Conditions ¶
GetV1Beta2Conditions returns the set of conditions for this object.
func (*Phase2Obj) SetConditions ¶
func (o *Phase2Obj) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*Phase2Obj) SetV1Beta2Conditions ¶
SetV1Beta2Conditions sets conditions for an API object.
type Phase2ObjList ¶
type Phase2ObjList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Phase2Obj `json:"items"` }
Phase2ObjList is a list of Phase2Obj. +kubebuilder:object:root=true
func (*Phase2ObjList) DeepCopy ¶
func (in *Phase2ObjList) DeepCopy() *Phase2ObjList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2ObjList.
func (*Phase2ObjList) DeepCopyInto ¶
func (in *Phase2ObjList) DeepCopyInto(out *Phase2ObjList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase2ObjList) DeepCopyObject ¶
func (in *Phase2ObjList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Phase2ObjSpec ¶
type Phase2ObjSpec struct { // +optional Foo string `json:"foo,omitempty"` }
Phase2ObjSpec defines the spec of a Phase2Obj.
func (*Phase2ObjSpec) DeepCopy ¶
func (in *Phase2ObjSpec) DeepCopy() *Phase2ObjSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2ObjSpec.
func (*Phase2ObjSpec) DeepCopyInto ¶
func (in *Phase2ObjSpec) DeepCopyInto(out *Phase2ObjSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase2ObjStatus ¶
type Phase2ObjStatus struct { // +optional Bar string `json:"bar,omitempty"` // +optional // +listType=map // +listMapKey=type // +kubebuilder:validation:MaxItems=32 Conditions []metav1.Condition `json:"conditions,omitempty"` // +optional Deprecated *Phase2ObjStatusDeprecated `json:"deprecated,omitempty"` }
Phase2ObjStatus defines the status of a Phase2Obj.
func (*Phase2ObjStatus) DeepCopy ¶
func (in *Phase2ObjStatus) DeepCopy() *Phase2ObjStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2ObjStatus.
func (*Phase2ObjStatus) DeepCopyInto ¶
func (in *Phase2ObjStatus) DeepCopyInto(out *Phase2ObjStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase2ObjStatusDeprecated ¶
type Phase2ObjStatusDeprecated struct { // +optional V1Beta1 *Phase2ObjStatusDeprecatedV1Beta1 `json:"v1beta1,omitempty"` }
Phase2ObjStatusDeprecated defines the status.Deprecated of a Phase2Obj.
func (*Phase2ObjStatusDeprecated) DeepCopy ¶
func (in *Phase2ObjStatusDeprecated) DeepCopy() *Phase2ObjStatusDeprecated
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2ObjStatusDeprecated.
func (*Phase2ObjStatusDeprecated) DeepCopyInto ¶
func (in *Phase2ObjStatusDeprecated) DeepCopyInto(out *Phase2ObjStatusDeprecated)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase2ObjStatusDeprecatedV1Beta1 ¶
type Phase2ObjStatusDeprecatedV1Beta1 struct { // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
Phase2ObjStatusDeprecatedV1Beta1 defines the status.Deprecated.V1Beta2 of a Phase2Obj.
func (*Phase2ObjStatusDeprecatedV1Beta1) DeepCopy ¶
func (in *Phase2ObjStatusDeprecatedV1Beta1) DeepCopy() *Phase2ObjStatusDeprecatedV1Beta1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase2ObjStatusDeprecatedV1Beta1.
func (*Phase2ObjStatusDeprecatedV1Beta1) DeepCopyInto ¶
func (in *Phase2ObjStatusDeprecatedV1Beta1) DeepCopyInto(out *Phase2ObjStatusDeprecatedV1Beta1)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase3Obj ¶
type Phase3Obj struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Phase3ObjSpec `json:"spec,omitempty"` Status Phase3ObjStatus `json:"status,omitempty"` }
Phase3Obj defines an object with metav1.conditions. +kubebuilder:object:root=true +kubebuilder:resource:path=phase3obj,scope=Namespaced,categories=cluster-api +kubebuilder:subresource:status +kubebuilder:storageversion
func (*Phase3Obj) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase3Obj.
func (*Phase3Obj) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase3Obj) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Phase3Obj) GetV1Beta2Conditions ¶
GetV1Beta2Conditions returns the set of conditions for this object.
func (*Phase3Obj) SetV1Beta2Conditions ¶
SetV1Beta2Conditions sets conditions for an API object.
type Phase3ObjList ¶
type Phase3ObjList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Phase3Obj `json:"items"` }
Phase3ObjList is a list of Phase3Obj. +kubebuilder:object:root=true
func (*Phase3ObjList) DeepCopy ¶
func (in *Phase3ObjList) DeepCopy() *Phase3ObjList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase3ObjList.
func (*Phase3ObjList) DeepCopyInto ¶
func (in *Phase3ObjList) DeepCopyInto(out *Phase3ObjList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase3ObjList) DeepCopyObject ¶
func (in *Phase3ObjList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Phase3ObjSpec ¶
type Phase3ObjSpec struct { // +optional Foo string `json:"foo,omitempty"` }
Phase3ObjSpec defines the spec of a Phase3Obj.
func (*Phase3ObjSpec) DeepCopy ¶
func (in *Phase3ObjSpec) DeepCopy() *Phase3ObjSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase3ObjSpec.
func (*Phase3ObjSpec) DeepCopyInto ¶
func (in *Phase3ObjSpec) DeepCopyInto(out *Phase3ObjSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase3ObjStatus ¶
type Phase3ObjStatus struct { // +optional Bar string `json:"bar,omitempty"` // +optional // +listType=map // +listMapKey=type // +kubebuilder:validation:MaxItems=32 Conditions []metav1.Condition `json:"conditions,omitempty"` }
Phase3ObjStatus defines the status of a Phase3Obj.
func (*Phase3ObjStatus) DeepCopy ¶
func (in *Phase3ObjStatus) DeepCopy() *Phase3ObjStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase3ObjStatus.
func (*Phase3ObjStatus) DeepCopyInto ¶
func (in *Phase3ObjStatus) DeepCopyInto(out *Phase3ObjStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestBootstrapConfigBuilder ¶
type TestBootstrapConfigBuilder struct {
// contains filtered or unexported fields
}
TestBootstrapConfigBuilder holds the variables needed to build a generic TestBootstrapConfig.
func TestBootstrapConfig ¶
func TestBootstrapConfig(namespace, name string) *TestBootstrapConfigBuilder
TestBootstrapConfig creates a TestBootstrapConfigBuilder with the given name and namespace.
func (*TestBootstrapConfigBuilder) Build ¶
func (b *TestBootstrapConfigBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the information passed to the BootstrapConfigBuilder.
func (*TestBootstrapConfigBuilder) DeepCopy ¶
func (in *TestBootstrapConfigBuilder) DeepCopy() *TestBootstrapConfigBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBootstrapConfigBuilder.
func (*TestBootstrapConfigBuilder) DeepCopyInto ¶
func (in *TestBootstrapConfigBuilder) DeepCopyInto(out *TestBootstrapConfigBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestBootstrapConfigBuilder) WithSpecFields ¶
func (b *TestBootstrapConfigBuilder) WithSpecFields(fields map[string]interface{}) *TestBootstrapConfigBuilder
WithSpecFields will add fields of any type to the object spec. It takes an argument, fields, which is of the form path: object. NOTE: The path should correspond to a field defined in the CRD.
type TestBootstrapTemplateBuilder ¶
type TestBootstrapTemplateBuilder struct {
// contains filtered or unexported fields
}
TestBootstrapTemplateBuilder holds the variables needed to build a generic TestBootstrapTemplate.
func TestBootstrapTemplate ¶
func TestBootstrapTemplate(namespace, name string) *TestBootstrapTemplateBuilder
TestBootstrapTemplate creates a TestBootstrapTemplateBuilder with the given name and namespace.
func (*TestBootstrapTemplateBuilder) Build ¶
func (b *TestBootstrapTemplateBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the information passed to the BootstrapTemplateBuilder.
func (*TestBootstrapTemplateBuilder) DeepCopy ¶
func (in *TestBootstrapTemplateBuilder) DeepCopy() *TestBootstrapTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestBootstrapTemplateBuilder.
func (*TestBootstrapTemplateBuilder) DeepCopyInto ¶
func (in *TestBootstrapTemplateBuilder) DeepCopyInto(out *TestBootstrapTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestBootstrapTemplateBuilder) WithSpecFields ¶
func (b *TestBootstrapTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestBootstrapTemplateBuilder
WithSpecFields will add fields of any type to the object spec. It takes an argument, fields, which is of the form path: object. NOTE: The path should correspond to a field defined in the CRD.
type TestControlPlaneBuilder ¶
type TestControlPlaneBuilder struct {
// contains filtered or unexported fields
}
TestControlPlaneBuilder holds the variables and objects needed to build a generic object for cluster.spec.controlPlaneRef.
func (*TestControlPlaneBuilder) Build ¶
func (c *TestControlPlaneBuilder) Build() *unstructured.Unstructured
Build generates an Unstructured object from the information passed to the TestControlPlaneBuilder.
func (*TestControlPlaneBuilder) DeepCopy ¶
func (in *TestControlPlaneBuilder) DeepCopy() *TestControlPlaneBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestControlPlaneBuilder.
func (*TestControlPlaneBuilder) DeepCopyInto ¶
func (in *TestControlPlaneBuilder) DeepCopyInto(out *TestControlPlaneBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestControlPlaneBuilder) WithInfrastructureMachineTemplate ¶
func (c *TestControlPlaneBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *TestControlPlaneBuilder
WithInfrastructureMachineTemplate adds the given unstructured object to the TestControlPlaneBuilder as its InfrastructureMachineTemplate.
func (*TestControlPlaneBuilder) WithReplicas ¶
func (c *TestControlPlaneBuilder) WithReplicas(replicas int64) *TestControlPlaneBuilder
WithReplicas sets the number of replicas for the TestControlPlaneBuilder.
func (*TestControlPlaneBuilder) WithSpecFields ¶
func (c *TestControlPlaneBuilder) WithSpecFields(fields map[string]interface{}) *TestControlPlaneBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
func (*TestControlPlaneBuilder) WithStatusFields ¶
func (c *TestControlPlaneBuilder) WithStatusFields(fields map[string]interface{}) *TestControlPlaneBuilder
WithStatusFields sets a map of status fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the status field.
Note: all the paths should start with "status."
Example map: map[string]interface{}{ "status.version": "v1.2.3", }.
func (*TestControlPlaneBuilder) WithVersion ¶
func (c *TestControlPlaneBuilder) WithVersion(version string) *TestControlPlaneBuilder
WithVersion adds the passed version to the TestControlPlaneBuilder.
type TestControlPlaneTemplateBuilder ¶
type TestControlPlaneTemplateBuilder struct {
// contains filtered or unexported fields
}
TestControlPlaneTemplateBuilder holds the variables and objects needed to build a generic ControlPlane template.
func TestControlPlaneTemplate ¶
func TestControlPlaneTemplate(namespace, name string) *TestControlPlaneTemplateBuilder
TestControlPlaneTemplate creates a NewControlPlaneTemplate builder with the given name and namespace.
func (*TestControlPlaneTemplateBuilder) Build ¶
func (c *TestControlPlaneTemplateBuilder) Build() *unstructured.Unstructured
Build creates an Unstructured object from the variables passed to the ControlPlaneTemplateBuilder.
func (*TestControlPlaneTemplateBuilder) DeepCopy ¶
func (in *TestControlPlaneTemplateBuilder) DeepCopy() *TestControlPlaneTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestControlPlaneTemplateBuilder.
func (*TestControlPlaneTemplateBuilder) DeepCopyInto ¶
func (in *TestControlPlaneTemplateBuilder) DeepCopyInto(out *TestControlPlaneTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate ¶
func (c *TestControlPlaneTemplateBuilder) WithInfrastructureMachineTemplate(t *unstructured.Unstructured) *TestControlPlaneTemplateBuilder
WithInfrastructureMachineTemplate adds the given Unstructured object to the ControlPlaneTemplateBuilder as its InfrastructureMachineTemplate.
func (*TestControlPlaneTemplateBuilder) WithSpecFields ¶
func (c *TestControlPlaneTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestControlPlaneTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type TestInfrastructureClusterBuilder ¶
type TestInfrastructureClusterBuilder struct {
// contains filtered or unexported fields
}
TestInfrastructureClusterBuilder holds the variables and objects needed to build a generic TestInfrastructureCluster.
func TestInfrastructureCluster ¶
func TestInfrastructureCluster(namespace, name string) *TestInfrastructureClusterBuilder
TestInfrastructureCluster returns and TestInfrastructureClusterBuilder with the given name and namespace.
func (*TestInfrastructureClusterBuilder) Build ¶
func (i *TestInfrastructureClusterBuilder) Build() *unstructured.Unstructured
Build returns an Unstructured object with the information passed to the InfrastructureClusterBuilder.
func (*TestInfrastructureClusterBuilder) DeepCopy ¶
func (in *TestInfrastructureClusterBuilder) DeepCopy() *TestInfrastructureClusterBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureClusterBuilder.
func (*TestInfrastructureClusterBuilder) DeepCopyInto ¶
func (in *TestInfrastructureClusterBuilder) DeepCopyInto(out *TestInfrastructureClusterBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestInfrastructureClusterBuilder) WithSpecFields ¶
func (i *TestInfrastructureClusterBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureClusterBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type TestInfrastructureClusterTemplateBuilder ¶
type TestInfrastructureClusterTemplateBuilder struct {
// contains filtered or unexported fields
}
TestInfrastructureClusterTemplateBuilder holds the variables needed to build a generic TestInfrastructureClusterTemplate.
func TestInfrastructureClusterTemplate ¶
func TestInfrastructureClusterTemplate(namespace, name string) *TestInfrastructureClusterTemplateBuilder
TestInfrastructureClusterTemplate returns an TestInfrastructureClusterTemplateBuilder with the given name and namespace.
func (*TestInfrastructureClusterTemplateBuilder) Build ¶
func (i *TestInfrastructureClusterTemplateBuilder) Build() *unstructured.Unstructured
Build creates a new Unstructured object with the variables passed to the InfrastructureClusterTemplateBuilder.
func (*TestInfrastructureClusterTemplateBuilder) DeepCopy ¶
func (in *TestInfrastructureClusterTemplateBuilder) DeepCopy() *TestInfrastructureClusterTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureClusterTemplateBuilder.
func (*TestInfrastructureClusterTemplateBuilder) DeepCopyInto ¶
func (in *TestInfrastructureClusterTemplateBuilder) DeepCopyInto(out *TestInfrastructureClusterTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestInfrastructureClusterTemplateBuilder) WithSpecFields ¶
func (i *TestInfrastructureClusterTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureClusterTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type TestInfrastructureMachinePoolBuilder ¶
type TestInfrastructureMachinePoolBuilder struct {
// contains filtered or unexported fields
}
TestInfrastructureMachinePoolBuilder holds the variables and objects needed to build an TestInfrastructureMachinePool.
func TestInfrastructureMachinePool ¶
func TestInfrastructureMachinePool(namespace, name string) *TestInfrastructureMachinePoolBuilder
TestInfrastructureMachinePool creates an TestInfrastructureMachinePoolBuilder with the given name and namespace.
func (*TestInfrastructureMachinePoolBuilder) Build ¶
func (i *TestInfrastructureMachinePoolBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the TestInfrastructureMachinePoolBuilder and generates an unstructured object.
func (*TestInfrastructureMachinePoolBuilder) DeepCopy ¶
func (in *TestInfrastructureMachinePoolBuilder) DeepCopy() *TestInfrastructureMachinePoolBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachinePoolBuilder.
func (*TestInfrastructureMachinePoolBuilder) DeepCopyInto ¶
func (in *TestInfrastructureMachinePoolBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestInfrastructureMachinePoolBuilder) WithSpecFields ¶
func (i *TestInfrastructureMachinePoolBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachinePoolBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type TestInfrastructureMachinePoolTemplateBuilder ¶
type TestInfrastructureMachinePoolTemplateBuilder struct {
// contains filtered or unexported fields
}
TestInfrastructureMachinePoolTemplateBuilder holds the variables and objects needed to build an TestInfrastructureMachinePoolTemplate.
func TestInfrastructureMachinePoolTemplate ¶
func TestInfrastructureMachinePoolTemplate(namespace, name string) *TestInfrastructureMachinePoolTemplateBuilder
TestInfrastructureMachinePoolTemplate creates an TestInfrastructureMachinePoolTemplateBuilder with the given name and namespace.
func (*TestInfrastructureMachinePoolTemplateBuilder) Build ¶
func (i *TestInfrastructureMachinePoolTemplateBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the TestInfrastructureMachineTemplateBuilder and generates an unstructured object.
func (*TestInfrastructureMachinePoolTemplateBuilder) DeepCopy ¶
func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopy() *TestInfrastructureMachinePoolTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachinePoolTemplateBuilder.
func (*TestInfrastructureMachinePoolTemplateBuilder) DeepCopyInto ¶
func (in *TestInfrastructureMachinePoolTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachinePoolTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestInfrastructureMachinePoolTemplateBuilder) WithSpecFields ¶
func (i *TestInfrastructureMachinePoolTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachinePoolTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.
type TestInfrastructureMachineTemplateBuilder ¶
type TestInfrastructureMachineTemplateBuilder struct {
// contains filtered or unexported fields
}
TestInfrastructureMachineTemplateBuilder holds the variables and objects needed to build an TestInfrastructureMachineTemplate.
func TestInfrastructureMachineTemplate ¶
func TestInfrastructureMachineTemplate(namespace, name string) *TestInfrastructureMachineTemplateBuilder
TestInfrastructureMachineTemplate creates an TestInfrastructureMachineTemplateBuilder with the given name and namespace.
func (*TestInfrastructureMachineTemplateBuilder) Build ¶
func (i *TestInfrastructureMachineTemplateBuilder) Build() *unstructured.Unstructured
Build takes the objects and variables in the InfrastructureMachineTemplateBuilder and generates an unstructured object.
func (*TestInfrastructureMachineTemplateBuilder) DeepCopy ¶
func (in *TestInfrastructureMachineTemplateBuilder) DeepCopy() *TestInfrastructureMachineTemplateBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestInfrastructureMachineTemplateBuilder.
func (*TestInfrastructureMachineTemplateBuilder) DeepCopyInto ¶
func (in *TestInfrastructureMachineTemplateBuilder) DeepCopyInto(out *TestInfrastructureMachineTemplateBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestInfrastructureMachineTemplateBuilder) WithSpecFields ¶
func (i *TestInfrastructureMachineTemplateBuilder) WithSpecFields(fields map[string]interface{}) *TestInfrastructureMachineTemplateBuilder
WithSpecFields sets a map of spec fields on the unstructured object. The keys in the map represent the path and the value corresponds to the value of the spec field.
Note: all the paths should start with "spec."; the path should correspond to a field defined in the CRD.
Example map: map[string]interface{}{ "spec.version": "v1.2.3", }.