Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.crit.sh
Index ¶
Constants ¶
const ( MachineFinalizer = "dockermachine.infrastructure.crit.sh" NodeOwnerLabelName = "infrastructure.crit.sh/dockermachine" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.crit.sh", 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 DockerInfrastructureProvider ¶
type DockerInfrastructureProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec DockerInfrastructureProviderSpec `json:"spec,omitempty"`
Status DockerInfrastructureProviderStatus `json:"status,omitempty"`
}
DockerInfrastructureProvider is the Schema for the infrastructureproviders API
func (*DockerInfrastructureProvider) DeepCopy ¶
func (in *DockerInfrastructureProvider) DeepCopy() *DockerInfrastructureProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerInfrastructureProvider.
func (*DockerInfrastructureProvider) DeepCopyInto ¶
func (in *DockerInfrastructureProvider) DeepCopyInto(out *DockerInfrastructureProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerInfrastructureProvider) DeepCopyObject ¶
func (in *DockerInfrastructureProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerInfrastructureProviderList ¶
type DockerInfrastructureProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []DockerInfrastructureProvider `json:"items"`
}
InfrastructureProviderList contains a list of DockerInfrastructureProvider
func (*DockerInfrastructureProviderList) DeepCopy ¶
func (in *DockerInfrastructureProviderList) DeepCopy() *DockerInfrastructureProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerInfrastructureProviderList.
func (*DockerInfrastructureProviderList) DeepCopyInto ¶
func (in *DockerInfrastructureProviderList) DeepCopyInto(out *DockerInfrastructureProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerInfrastructureProviderList) DeepCopyObject ¶
func (in *DockerInfrastructureProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DockerInfrastructureProviderSpec ¶
type DockerInfrastructureProviderSpec struct {
DefaultImage string `json:"defaultImage"`
}
DockerInfrastructureProviderSpec defines the desired state of DockerInfrastructureProvider
func (*DockerInfrastructureProviderSpec) DeepCopy ¶
func (in *DockerInfrastructureProviderSpec) DeepCopy() *DockerInfrastructureProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerInfrastructureProviderSpec.
func (*DockerInfrastructureProviderSpec) DeepCopyInto ¶
func (in *DockerInfrastructureProviderSpec) DeepCopyInto(out *DockerInfrastructureProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerInfrastructureProviderStatus ¶
type DockerInfrastructureProviderStatus struct {
Ready bool `json:"ready"`
LastUpdated metav1.Time `json:"lastUpdated"`
}
InfrastructureProviderStatus defines the observed state of DockerInfrastructureProvider
func (*DockerInfrastructureProviderStatus) DeepCopy ¶
func (in *DockerInfrastructureProviderStatus) DeepCopy() *DockerInfrastructureProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerInfrastructureProviderStatus.
func (*DockerInfrastructureProviderStatus) DeepCopyInto ¶
func (in *DockerInfrastructureProviderStatus) DeepCopyInto(out *DockerInfrastructureProviderStatus)
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.
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 string `json:"providerID,omitempty"`
ClusterName string `json:"clusterName"`
ContainerName string `json:"containerName"`
Image string `json:"image"`
}
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 bool `json:"ready"`
// Addresses contains the docker container associated addresses.
Addresses machinev1.MachineAddresses `json:"addresses,omitempty"`
// FailureReason will be set in the event that there is a terminal problem
// reconciling the Machine and will contain a succinct value suitable
// for machine interpretation.
//
// This field should not be set for transitive errors that a controller
// faces that are expected to be fixed automatically over
// time (like service outages), but instead indicate that something is
// fundamentally wrong with the Machine's spec or the configuration of
// the controller, and that manual intervention is required. Examples
// of terminal errors would be invalid combinations of settings in the
// spec, values that are unsupported by the controller, or the
// responsible controller itself being critically misconfigured.
//
// Any transient errors that occur during the reconciliation of Machines
// can be added as events to the Machine object and/or logged in the
// controller's output.
// +optional
FailureReason *mapierrors.MachineStatusError `json:"failureReason,omitempty"`
// FailureMessage will be set in the event that there is a terminal problem
// reconciling the Machine and will contain a more verbose string suitable
// for logging and human consumption.
//
// This field should not be set for transitive errors that a controller
// faces that are expected to be fixed automatically over
// time (like service outages), but instead indicate that something is
// fundamentally wrong with the Machine's spec or the configuration of
// the controller, and that manual intervention is required. Examples
// of terminal errors would be invalid combinations of settings in the
// spec, values that are unsupported by the controller, or the
// responsible controller itself being critically misconfigured.
//
// Any transient errors that occur during the reconciliation of Machines
// can be added as events to the Machine object and/or logged in the
// controller's output.
// +optional
FailureMessage *string `json:"failureMessage,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.
func (*DockerMachineStatus) SetFailure ¶
func (m *DockerMachineStatus) SetFailure(err mapierrors.MachineStatusError, msg string)