Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type DockerCluster
- type DockerClusterList
- type DockerClusterSpec
- type DockerClusterStatus
- type DockerMachine
- func (in *DockerMachine) DeepCopy() *DockerMachine
- func (in *DockerMachine) DeepCopyInto(out *DockerMachine)
- func (in *DockerMachine) DeepCopyObject() runtime.Object
- func (dockerMachine *DockerMachine) GetConditions() clusterv1.Conditions
- func (dockerMachine *DockerMachine) SetConditions(conditions clusterv1.Conditions)
- type DockerMachineList
- type DockerMachineSpec
- type DockerMachineStatus
- type DockerMachineTemplate
- type DockerMachineTemplateList
- type DockerMachineTemplateResource
- type DockerMachineTemplateSpec
- type DockerMachineTemplateStatus
- type Mount
Constants ¶
const ( // ContainerProvisionedCondition documents the status of the provisioning of the container // generated by a DockerMachine. ContainerProvisionedCondition clusterv1.ConditionType = "ContainerProvisioned" // WaitingForClusterInfrastructureReason (Severity=Info) documents a DockerMachine waiting for the cluster // infrastructure to be ready before starting to create the container that provides the DockerMachine // infrastructure. WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure" // WaitingForBootstrapDataReason (Severity=Info) documents a DockerMachine waiting for the bootstrap // script to be ready before starting to create the container that provides the DockerMachine infrastructure. WaitingForBootstrapDataReason = "WaitingForBootstrapData" )
const ( // ClusterFinalizer allows cleaning up resources associated with // DockerCluster before removing it from the apiserver. ClusterFinalizer = "dockercluster.infrastructure.cluster.x-k8s.io" )
const ( // MachineFinalizer allows ReconcileDockeroMachine to clean up Byo // resources associated with DockeroMachine before removing it from the // API Server. MachineFinalizer = "dockermachine.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: "v1alpha1"} // 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 DockerCluster ¶
type DockerCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DockerClusterSpec `json:"spec,omitempty"`
Status DockerClusterStatus `json:"status,omitempty"`
}
DockerCluster is the Schema for the dockerclusters API
func (*DockerCluster) DeepCopy ¶
func (in *DockerCluster) DeepCopy() *DockerCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerCluster.
func (*DockerCluster) DeepCopyInto ¶
func (in *DockerCluster) DeepCopyInto(out *DockerCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerCluster) DeepCopyObject ¶
func (in *DockerCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerClusterList ¶
type DockerClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DockerCluster `json:"items"`
}
DockerClusterList contains a list of DockerCluster
func (*DockerClusterList) DeepCopy ¶
func (in *DockerClusterList) DeepCopy() *DockerClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerClusterList.
func (*DockerClusterList) DeepCopyInto ¶
func (in *DockerClusterList) DeepCopyInto(out *DockerClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerClusterList) DeepCopyObject ¶
func (in *DockerClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerClusterSpec ¶
type DockerClusterSpec struct {
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
// +optional
ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
// LoadBalancerImage allows you override the load balancer image. If not specified a
// default image will be used.
// +optional
LoadBalancerImage string `json:"loadbalancerImage,omitempty"`
}
DockerClusterSpec defines the desired state of DockerCluster
func (*DockerClusterSpec) DeepCopy ¶
func (in *DockerClusterSpec) DeepCopy() *DockerClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerClusterSpec.
func (*DockerClusterSpec) DeepCopyInto ¶
func (in *DockerClusterSpec) DeepCopyInto(out *DockerClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerClusterStatus ¶
type DockerClusterStatus struct {
// Ready indicates that the cluster is ready.
// +optional
// +kubebuilder:default=false
Ready bool `json:"ready"`
}
DockerClusterStatus defines the observed state of DockerCluster
func (*DockerClusterStatus) DeepCopy ¶
func (in *DockerClusterStatus) DeepCopy() *DockerClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerClusterStatus.
func (*DockerClusterStatus) DeepCopyInto ¶
func (in *DockerClusterStatus) DeepCopyInto(out *DockerClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachine ¶
type DockerMachine struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DockerMachineSpec `json:"spec,omitempty"`
Status DockerMachineStatus `json:"status,omitempty"`
}
DockerMachine is the Schema for the dockermachines API
func (*DockerMachine) DeepCopy ¶
func (in *DockerMachine) DeepCopy() *DockerMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachine.
func (*DockerMachine) DeepCopyInto ¶
func (in *DockerMachine) DeepCopyInto(out *DockerMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerMachine) DeepCopyObject ¶
func (in *DockerMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DockerMachine) GetConditions ¶
func (dockerMachine *DockerMachine) GetConditions() clusterv1.Conditions
GetConditions returns the conditions of ByoMachine status
func (*DockerMachine) SetConditions ¶
func (dockerMachine *DockerMachine) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions of ByoMachine status
type DockerMachineList ¶
type DockerMachineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DockerMachine `json:"items"`
}
DockerMachineList contains a list of DockerMachine
func (*DockerMachineList) DeepCopy ¶
func (in *DockerMachineList) DeepCopy() *DockerMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineList.
func (*DockerMachineList) DeepCopyInto ¶
func (in *DockerMachineList) DeepCopyInto(out *DockerMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerMachineList) DeepCopyObject ¶
func (in *DockerMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerMachineSpec ¶
type DockerMachineSpec struct {
// ProviderID is the identifier for the DockerMachine instance
ProviderID *string `json:"providerID,omitempty"`
}
DockerMachineSpec defines the desired state of DockerMachine
func (*DockerMachineSpec) DeepCopy ¶
func (in *DockerMachineSpec) DeepCopy() *DockerMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineSpec.
func (*DockerMachineSpec) DeepCopyInto ¶
func (in *DockerMachineSpec) DeepCopyInto(out *DockerMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachineStatus ¶
type DockerMachineStatus struct {
// Ready indicates the docker infrastructure has been provisioned and is ready
// +optional
Ready bool `json:"ready"`
// Conditions defines current service state of the BYOMachine.
// +optional
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}
DockerMachineStatus defines the observed state of DockerMachine
func (*DockerMachineStatus) DeepCopy ¶
func (in *DockerMachineStatus) DeepCopy() *DockerMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineStatus.
func (*DockerMachineStatus) DeepCopyInto ¶
func (in *DockerMachineStatus) DeepCopyInto(out *DockerMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachineTemplate ¶
type DockerMachineTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DockerMachineTemplateSpec `json:"spec,omitempty"`
Status DockerMachineTemplateStatus `json:"status,omitempty"`
}
DockerMachineTemplate is the Schema for the dockermachinetemplates API
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.
func (*DockerMachineTemplate) DeepCopyObject ¶
func (in *DockerMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerMachineTemplateList ¶
type DockerMachineTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DockerMachineTemplate `json:"items"`
}
DockerMachineTemplateList contains a list of DockerMachineTemplate
func (*DockerMachineTemplateList) DeepCopy ¶
func (in *DockerMachineTemplateList) DeepCopy() *DockerMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineTemplateList.
func (*DockerMachineTemplateList) DeepCopyInto ¶
func (in *DockerMachineTemplateList) DeepCopyInto(out *DockerMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerMachineTemplateList) DeepCopyObject ¶
func (in *DockerMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerMachineTemplateResource ¶
type DockerMachineTemplateResource struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty"`
Spec DockerMachineSpec `json:"spec"`
}
func (*DockerMachineTemplateResource) DeepCopy ¶
func (in *DockerMachineTemplateResource) DeepCopy() *DockerMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineTemplateResource.
func (*DockerMachineTemplateResource) DeepCopyInto ¶
func (in *DockerMachineTemplateResource) DeepCopyInto(out *DockerMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachineTemplateSpec ¶
type DockerMachineTemplateSpec struct {
Template DockerMachineTemplateResource `json:"template"`
}
DockerMachineTemplateSpec defines the desired state of DockerMachineTemplate
func (*DockerMachineTemplateSpec) DeepCopy ¶
func (in *DockerMachineTemplateSpec) DeepCopy() *DockerMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineTemplateSpec.
func (*DockerMachineTemplateSpec) DeepCopyInto ¶
func (in *DockerMachineTemplateSpec) DeepCopyInto(out *DockerMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerMachineTemplateStatus ¶
type DockerMachineTemplateStatus struct {
}
DockerMachineTemplateStatus defines the observed state of DockerMachineTemplate
func (*DockerMachineTemplateStatus) DeepCopy ¶
func (in *DockerMachineTemplateStatus) DeepCopy() *DockerMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerMachineTemplateStatus.
func (*DockerMachineTemplateStatus) DeepCopyInto ¶
func (in *DockerMachineTemplateStatus) DeepCopyInto(out *DockerMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mount ¶
type Mount struct {
// Path of the mount within the container.
ContainerPath string `json:"containerPath,omitempty"`
// Path of the mount on the host. If the hostPath doesn't exist, then runtimes
// should report error. If the hostpath is a symbolic link, runtimes should
// follow the symlink and mount the real destination to container.
HostPath string `json:"hostPath,omitempty"`
// If set, the mount is read-only.
// +optional
Readonly bool `json:"readOnly,omitempty"`
}
Mount specifies a host volume to mount into a container. This is a simplified version of kind v1alpha4.Mount types.
func (*Mount) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mount.
func (*Mount) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.