Documentation ¶
Overview ¶
Package v1alpha3 contains the v1alpha3 API implementation. +k8s:conversion-gen=sigs.k8s.io/cluster-api/test/infrastructure/docker/exp/api/v1beta1
Deprecated: This package will be removed in one of the next releases.
Package v1alpha3 contains API Schema definitions for the infrastructure v1alpha3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- func Convert_v1alpha3_DockerMachinePoolInstanceStatus_To_v1beta1_DockerMachinePoolInstanceStatus(in *DockerMachinePoolInstanceStatus, ...) error
- func Convert_v1alpha3_DockerMachinePoolList_To_v1beta1_DockerMachinePoolList(in *DockerMachinePoolList, out *v1beta1.DockerMachinePoolList, ...) error
- func Convert_v1alpha3_DockerMachinePoolMachineTemplate_To_v1beta1_DockerMachinePoolMachineTemplate(in *DockerMachinePoolMachineTemplate, ...) error
- func Convert_v1alpha3_DockerMachinePoolSpec_To_v1beta1_DockerMachinePoolSpec(in *DockerMachinePoolSpec, out *v1beta1.DockerMachinePoolSpec, ...) error
- func Convert_v1alpha3_DockerMachinePoolStatus_To_v1beta1_DockerMachinePoolStatus(in *DockerMachinePoolStatus, out *v1beta1.DockerMachinePoolStatus, ...) error
- func Convert_v1alpha3_DockerMachinePool_To_v1beta1_DockerMachinePool(in *DockerMachinePool, out *v1beta1.DockerMachinePool, s conversion.Scope) error
- func Convert_v1beta1_DockerMachinePoolInstanceStatus_To_v1alpha3_DockerMachinePoolInstanceStatus(in *v1beta1.DockerMachinePoolInstanceStatus, ...) error
- func Convert_v1beta1_DockerMachinePoolList_To_v1alpha3_DockerMachinePoolList(in *v1beta1.DockerMachinePoolList, out *DockerMachinePoolList, ...) error
- func Convert_v1beta1_DockerMachinePoolMachineTemplate_To_v1alpha3_DockerMachinePoolMachineTemplate(in *v1beta1.DockerMachinePoolMachineTemplate, ...) error
- func Convert_v1beta1_DockerMachinePoolSpec_To_v1alpha3_DockerMachinePoolSpec(in *v1beta1.DockerMachinePoolSpec, out *DockerMachinePoolSpec, ...) error
- func Convert_v1beta1_DockerMachinePoolStatus_To_v1alpha3_DockerMachinePoolStatus(in *infraexpv1.DockerMachinePoolStatus, out *DockerMachinePoolStatus, ...) error
- func Convert_v1beta1_DockerMachinePool_To_v1alpha3_DockerMachinePool(in *v1beta1.DockerMachinePool, out *DockerMachinePool, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type DockerMachinePooldeprecated
- func (dst *DockerMachinePool) ConvertFrom(srcRaw conversion.Hub) error
- func (src *DockerMachinePool) ConvertTo(dstRaw conversion.Hub) error
- func (in *DockerMachinePool) DeepCopy() *DockerMachinePool
- func (in *DockerMachinePool) DeepCopyInto(out *DockerMachinePool)
- func (in *DockerMachinePool) DeepCopyObject() runtime.Object
- func (c *DockerMachinePool) GetConditions() clusterv1alpha3.Conditions
- func (c *DockerMachinePool) SetConditions(conditions clusterv1alpha3.Conditions)
- type DockerMachinePoolInstanceStatus
- type DockerMachinePoolListdeprecated
- func (dst *DockerMachinePoolList) ConvertFrom(srcRaw conversion.Hub) error
- func (src *DockerMachinePoolList) ConvertTo(dstRaw conversion.Hub) error
- func (in *DockerMachinePoolList) DeepCopy() *DockerMachinePoolList
- func (in *DockerMachinePoolList) DeepCopyInto(out *DockerMachinePoolList)
- func (in *DockerMachinePoolList) DeepCopyObject() runtime.Object
- type DockerMachinePoolMachineTemplate
- type DockerMachinePoolSpec
- type DockerMachinePoolStatus
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: "v1alpha3"} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = schemeBuilder.AddToScheme )
Functions ¶
func Convert_v1alpha3_DockerMachinePoolInstanceStatus_To_v1beta1_DockerMachinePoolInstanceStatus ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePoolInstanceStatus_To_v1beta1_DockerMachinePoolInstanceStatus(in *DockerMachinePoolInstanceStatus, out *v1beta1.DockerMachinePoolInstanceStatus, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePoolInstanceStatus_To_v1beta1_DockerMachinePoolInstanceStatus is an autogenerated conversion function.
func Convert_v1alpha3_DockerMachinePoolList_To_v1beta1_DockerMachinePoolList ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePoolList_To_v1beta1_DockerMachinePoolList(in *DockerMachinePoolList, out *v1beta1.DockerMachinePoolList, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePoolList_To_v1beta1_DockerMachinePoolList is an autogenerated conversion function.
func Convert_v1alpha3_DockerMachinePoolMachineTemplate_To_v1beta1_DockerMachinePoolMachineTemplate ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePoolMachineTemplate_To_v1beta1_DockerMachinePoolMachineTemplate(in *DockerMachinePoolMachineTemplate, out *v1beta1.DockerMachinePoolMachineTemplate, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePoolMachineTemplate_To_v1beta1_DockerMachinePoolMachineTemplate is an autogenerated conversion function.
func Convert_v1alpha3_DockerMachinePoolSpec_To_v1beta1_DockerMachinePoolSpec ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePoolSpec_To_v1beta1_DockerMachinePoolSpec(in *DockerMachinePoolSpec, out *v1beta1.DockerMachinePoolSpec, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePoolSpec_To_v1beta1_DockerMachinePoolSpec is an autogenerated conversion function.
func Convert_v1alpha3_DockerMachinePoolStatus_To_v1beta1_DockerMachinePoolStatus ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePoolStatus_To_v1beta1_DockerMachinePoolStatus(in *DockerMachinePoolStatus, out *v1beta1.DockerMachinePoolStatus, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePoolStatus_To_v1beta1_DockerMachinePoolStatus is an autogenerated conversion function.
func Convert_v1alpha3_DockerMachinePool_To_v1beta1_DockerMachinePool ¶ added in v1.0.0
func Convert_v1alpha3_DockerMachinePool_To_v1beta1_DockerMachinePool(in *DockerMachinePool, out *v1beta1.DockerMachinePool, s conversion.Scope) error
Convert_v1alpha3_DockerMachinePool_To_v1beta1_DockerMachinePool is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePoolInstanceStatus_To_v1alpha3_DockerMachinePoolInstanceStatus ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePoolInstanceStatus_To_v1alpha3_DockerMachinePoolInstanceStatus(in *v1beta1.DockerMachinePoolInstanceStatus, out *DockerMachinePoolInstanceStatus, s conversion.Scope) error
Convert_v1beta1_DockerMachinePoolInstanceStatus_To_v1alpha3_DockerMachinePoolInstanceStatus is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePoolList_To_v1alpha3_DockerMachinePoolList ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePoolList_To_v1alpha3_DockerMachinePoolList(in *v1beta1.DockerMachinePoolList, out *DockerMachinePoolList, s conversion.Scope) error
Convert_v1beta1_DockerMachinePoolList_To_v1alpha3_DockerMachinePoolList is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePoolMachineTemplate_To_v1alpha3_DockerMachinePoolMachineTemplate ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePoolMachineTemplate_To_v1alpha3_DockerMachinePoolMachineTemplate(in *v1beta1.DockerMachinePoolMachineTemplate, out *DockerMachinePoolMachineTemplate, s conversion.Scope) error
Convert_v1beta1_DockerMachinePoolMachineTemplate_To_v1alpha3_DockerMachinePoolMachineTemplate is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePoolSpec_To_v1alpha3_DockerMachinePoolSpec ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePoolSpec_To_v1alpha3_DockerMachinePoolSpec(in *v1beta1.DockerMachinePoolSpec, out *DockerMachinePoolSpec, s conversion.Scope) error
Convert_v1beta1_DockerMachinePoolSpec_To_v1alpha3_DockerMachinePoolSpec is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePoolStatus_To_v1alpha3_DockerMachinePoolStatus ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePoolStatus_To_v1alpha3_DockerMachinePoolStatus(in *infraexpv1.DockerMachinePoolStatus, out *DockerMachinePoolStatus, s apiconversion.Scope) error
Convert_v1beta1_DockerMachinePoolStatus_To_v1alpha3_DockerMachinePoolStatus is an autogenerated conversion function.
func Convert_v1beta1_DockerMachinePool_To_v1alpha3_DockerMachinePool ¶ added in v1.0.0
func Convert_v1beta1_DockerMachinePool_To_v1alpha3_DockerMachinePool(in *v1beta1.DockerMachinePool, out *DockerMachinePool, s conversion.Scope) error
Convert_v1beta1_DockerMachinePool_To_v1alpha3_DockerMachinePool is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type DockerMachinePool
deprecated
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.
Deprecated: This type will be removed in one of the next releases.
func (*DockerMachinePool) ConvertFrom ¶ added in v1.0.0
func (dst *DockerMachinePool) ConvertFrom(srcRaw conversion.Hub) error
func (*DockerMachinePool) ConvertTo ¶ added in v1.0.0
func (src *DockerMachinePool) ConvertTo(dstRaw conversion.Hub) error
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() clusterv1alpha3.Conditions
GetConditions returns the set of conditions for this object.
func (*DockerMachinePool) SetConditions ¶
func (c *DockerMachinePool) SetConditions(conditions clusterv1alpha3.Conditions)
SetConditions sets the conditions on this object.
type DockerMachinePoolInstanceStatus ¶
type DockerMachinePoolInstanceStatus struct { // Addresses contains the associated addresses for the docker machine. // +optional Addresses []clusterv1alpha3.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"` }
DockerMachinePoolInstanceStatus contains status information about a DockerMachinePool.
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
deprecated
type DockerMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DockerMachinePool `json:"items"` }
DockerMachinePoolList contains a list of DockerMachinePool.
Deprecated: This type will be removed in one of the next releases.
func (*DockerMachinePoolList) ConvertFrom ¶ added in v1.0.0
func (dst *DockerMachinePoolList) ConvertFrom(srcRaw conversion.Hub) error
func (*DockerMachinePoolList) ConvertTo ¶ added in v1.0.0
func (src *DockerMachinePoolList) ConvertTo(dstRaw conversion.Hub) error
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 DockerMachinePoolMachineTemplate ¶ added in v0.4.3
type DockerMachinePoolMachineTemplate 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 []infrav1alpha3.Mount `json:"extraMounts,omitempty"` }
DockerMachinePoolMachineTemplate defines the desired state of DockerMachine.
func (*DockerMachinePoolMachineTemplate) DeepCopy ¶ added in v0.4.3
func (in *DockerMachinePoolMachineTemplate) DeepCopy() *DockerMachinePoolMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachinePoolMachineTemplate.
func (*DockerMachinePoolMachineTemplate) DeepCopyInto ¶ added in v0.4.3
func (in *DockerMachinePoolMachineTemplate) DeepCopyInto(out *DockerMachinePoolMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachinePoolSpec ¶
type DockerMachinePoolSpec struct { // Template contains the details used to build a replica machine within the Machine Pool // +optional Template DockerMachinePoolMachineTemplate `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 clusterv1alpha3.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.