Documentation ¶
Overview ¶
Package v1alpha4 contains API Schema definitions for the exp.infrastructure v1alpha4 API group +kubebuilder:object:generate=true +groupName=exp.infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type DockerMachinePool
- func (in *DockerMachinePool) DeepCopy() *DockerMachinePool
- func (in *DockerMachinePool) DeepCopyInto(out *DockerMachinePool)
- func (in *DockerMachinePool) DeepCopyObject() runtime.Object
- func (c *DockerMachinePool) GetConditions() clusterv1.Conditions
- func (c *DockerMachinePool) SetConditions(conditions clusterv1.Conditions)
- type DockerMachinePoolInstanceStatus
- type DockerMachinePoolList
- type DockerMachinePoolSpec
- type DockerMachinePoolStatus
- type DockerMachineTemplate
Constants ¶
const (
// MachinePoolFinalizer allows ReconcileDockerMachinePool to clean up resources.
MachinePoolFinalizer = "dockermachinepool.infrastructure.cluster.x-k8s.io"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha4"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type DockerMachinePool ¶
type DockerMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DockerMachinePoolSpec `json:"spec,omitempty"` Status DockerMachinePoolStatus `json:"status,omitempty"` }
DockerMachinePool is the Schema for the dockermachinepools API.
func (*DockerMachinePool) DeepCopy ¶
func (in *DockerMachinePool) DeepCopy() *DockerMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePool.
func (*DockerMachinePool) DeepCopyInto ¶
func (in *DockerMachinePool) DeepCopyInto(out *DockerMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerMachinePool) DeepCopyObject ¶
func (in *DockerMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DockerMachinePool) GetConditions ¶
func (c *DockerMachinePool) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*DockerMachinePool) SetConditions ¶
func (c *DockerMachinePool) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
type DockerMachinePoolInstanceStatus ¶
type DockerMachinePoolInstanceStatus struct { // Addresses contains the associated addresses for the docker machine. // +optional Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"` // InstanceName is the identification of the Machine Instance within the Machine Pool InstanceName string `json:"instanceName,omitempty"` // ProviderID is the provider identification of the Machine Pool Instance // +optional ProviderID *string `json:"providerID,omitempty"` // Version defines the Kubernetes version for the Machine Instance // +optional Version *string `json:"version,omitempty"` // Ready denotes that the machine (docker container) is ready // +optional Ready bool `json:"ready"` // Bootstrapped is true when the kubeadm bootstrapping has been run // against this machine // +optional Bootstrapped bool `json:"bootstrapped,omitempty"` }
func (*DockerMachinePoolInstanceStatus) DeepCopy ¶
func (in *DockerMachinePoolInstanceStatus) DeepCopy() *DockerMachinePoolInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePoolInstanceStatus.
func (*DockerMachinePoolInstanceStatus) DeepCopyInto ¶
func (in *DockerMachinePoolInstanceStatus) DeepCopyInto(out *DockerMachinePoolInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachinePoolList ¶
type DockerMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DockerMachinePool `json:"items"` }
DockerMachinePoolList contains a list of DockerMachinePool.
func (*DockerMachinePoolList) DeepCopy ¶
func (in *DockerMachinePoolList) DeepCopy() *DockerMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePoolList.
func (*DockerMachinePoolList) DeepCopyInto ¶
func (in *DockerMachinePoolList) DeepCopyInto(out *DockerMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerMachinePoolList) DeepCopyObject ¶
func (in *DockerMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerMachinePoolSpec ¶
type DockerMachinePoolSpec struct { // Template contains the details used to build a replica machine within the Machine Pool // +optional Template DockerMachineTemplate `json:"template"` // ProviderID is the identification ID of the Machine Pool // +optional ProviderID string `json:"providerID,omitempty"` // ProviderIDList is the list of identification IDs of machine instances managed by this Machine Pool //+optional ProviderIDList []string `json:"providerIDList,omitempty"` }
DockerMachinePoolSpec defines the desired state of DockerMachinePool.
func (*DockerMachinePoolSpec) DeepCopy ¶
func (in *DockerMachinePoolSpec) DeepCopy() *DockerMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePoolSpec.
func (*DockerMachinePoolSpec) DeepCopyInto ¶
func (in *DockerMachinePoolSpec) DeepCopyInto(out *DockerMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachinePoolStatus ¶
type DockerMachinePoolStatus struct { // Ready denotes that the machine pool is ready // +optional Ready bool `json:"ready"` // Replicas is the most recently observed number of replicas. // +optional Replicas int32 `json:"replicas"` // The generation observed by the deployment controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Instances contains the status for each instance in the pool // +optional Instances []DockerMachinePoolInstanceStatus `json:"instances,omitempty"` // Conditions defines current service state of the DockerMachinePool. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
DockerMachinePoolStatus defines the observed state of DockerMachinePool.
func (*DockerMachinePoolStatus) DeepCopy ¶
func (in *DockerMachinePoolStatus) DeepCopy() *DockerMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePoolStatus.
func (*DockerMachinePoolStatus) DeepCopyInto ¶
func (in *DockerMachinePoolStatus) DeepCopyInto(out *DockerMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachineTemplate ¶
type DockerMachineTemplate struct { // CustomImage allows customizing the container image that is used for // running the machine // +optional CustomImage string `json:"customImage,omitempty"` // PreLoadImages allows to pre-load images in a newly created machine. This can be used to // speed up tests by avoiding e.g. to download CNI images on all the containers. // +optional PreLoadImages []string `json:"preLoadImages,omitempty"` // ExtraMounts describes additional mount points for the node container // These may be used to bind a hostPath // +optional ExtraMounts []infrav1.Mount `json:"extraMounts,omitempty"` }
DockerMachineTemplate defines the desired state of DockerMachine.
func (*DockerMachineTemplate) DeepCopy ¶
func (in *DockerMachineTemplate) DeepCopy() *DockerMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineTemplate.
func (*DockerMachineTemplate) DeepCopyInto ¶
func (in *DockerMachineTemplate) DeepCopyInto(out *DockerMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.