package
2.0.0-20230208192055-6241090b1050
Repository: https://github.com/mirantis/mcc-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

PopulateDefaultsMachineDeployment fills in default field values Currently it is called after reading objects, but it could be called in an admission webhook also +gocode:public-api=true.
Required by pkg/client/listers/..

# Constants

+gocode:public-api=true.
MachineBastionLabelName is the label set on machines related to bastion node.
MachineClusterLabelName is the label set on machines linked to a cluster.
MachineControlPlaneLabelName is the label set on machines part of a control plane.
MachineFinalizer is set on PrepareForCreate callback.
NewestMachineSetDeletePolicy prioritizes both Machines that have the annotation "cluster.k8s.io/delete-machine=yes" and Machines that are unhealthy (Status.ErrorReason or Status.ErrorMessage are set to a non-empty value).
OldestMachineSetDeletePolicy prioritizes both Machines that have the annotation "cluster.k8s.io/delete-machine=yes" and Machines that are unhealthy (Status.ErrorReason or Status.ErrorMessage are set to a non-empty value).
RandomMachineSetDeletePolicy prioritizes both Machines that have the annotation "cluster.k8s.io/delete-machine=yes" and Machines that are unhealthy (Status.ErrorReason or Status.ErrorMessage are set to a non-empty value).

# Variables

AddToScheme adds registered types to the builder.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeGroupVersion is group version used to register these objects.

# Structs

Cluster is the Schema for the clusters API +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:resource:shortName=cl +kubebuilder:subresource:status +gocode:public-api=true.
ClusterList contains a list of Cluster +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +gocode:public-api=true.
ClusterNetworkingConfig specifies the different networking parameters for a cluster.
ClusterSpec defines the desired state of Cluster +gocode:public-api=true.
ClusterStatus defines the observed state of Cluster +gocode:public-api=true.
LastOperation represents the detail of the last performed operation on the MachineObject.
Machine is the Schema for the machines API +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:resource:shortName=ma +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ProviderID",type="string",JSONPath=".status.providerID",description="Provider ID" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="Machine status such as Terminating/Pending/Running/Failed etc" +kubebuilder:printcolumn:name="NodeName",type="string",JSONPath=".status.nodeRef.name",description="Node name associated with this machine",priority=1 +gocode:public-api=true.
MachineClass can be used to templatize and re-use provider configuration across multiple Machines / MachineSets / MachineDeployments.
MachineClassList contains a list of MachineClasses +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +gocode:public-api=true.
MachineClassRef is a reference to the MachineClass object.
MachineDeployment is the Schema for the machinedeployments API +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:resource:shortName=md +kubebuilder:subresource:status +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas,selectorpath=.status.labelSelector +gocode:public-api=true.
MachineDeploymentList contains a list of MachineDeployment +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +gocode:public-api=true.
MachineDeploymentSpec defines the desired state of MachineDeployment +gocode:public-api=true.
MachineDeploymentStatus defines the observed state of MachineDeployment +gocode:public-api=true.
MachineDeploymentStrategy describes how to replace existing machines with new ones.
MachineList contains a list of Machine +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +gocode:public-api=true.
Spec to control the desired behavior of rolling update.
MachineSet ensures that a specified number of machines replicas are running at any given time.
MachineSetList contains a list of MachineSet +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +gocode:public-api=true.
MachineSetSpec defines the desired state of MachineSet.
MachineSetStatus defines the observed state of MachineSet.
MachineSpec defines the desired state of Machine +gocode:public-api=true.
MachineStatus defines the observed state of Machine.
MachineTemplateSpec describes the data needed to create a Machine from a template.
No description provided by the author
NetworkRanges represents ranges of network addresses.
ProviderSpec defines the configuration to use during node creation.
ProviderSpecSource represents a source for the provider-specific resource configuration.

# Type aliases

MachineSetDeletePolicy defines how priority is assigned to nodes to delete when downscaling a MachineSet.