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 APIEndpoint
- type MetalStackCluster
- func (in *MetalStackCluster) DeepCopy() *MetalStackCluster
- func (in *MetalStackCluster) DeepCopyInto(out *MetalStackCluster)
- func (in *MetalStackCluster) DeepCopyObject() runtime.Object
- func (c *MetalStackCluster) GetClusterID() string
- func (c *MetalStackCluster) GetConditions() clusterv1.Conditions
- func (c *MetalStackCluster) SetConditions(conditions clusterv1.Conditions)
- type MetalStackClusterList
- type MetalStackClusterSpec
- type MetalStackClusterStatus
- type MetalStackFirewallAutoUpdate
- type MetalStackFirewallDeployment
- func (in *MetalStackFirewallDeployment) DeepCopy() *MetalStackFirewallDeployment
- func (in *MetalStackFirewallDeployment) DeepCopyInto(out *MetalStackFirewallDeployment)
- func (in *MetalStackFirewallDeployment) DeepCopyObject() runtime.Object
- func (c *MetalStackFirewallDeployment) GetConditions() clusterv1.Conditions
- func (c *MetalStackFirewallDeployment) SetConditions(conditions clusterv1.Conditions)
- type MetalStackFirewallDeploymentList
- type MetalStackFirewallDeploymentRef
- type MetalStackFirewallDeploymentSpec
- type MetalStackFirewallDeploymentStatus
- type MetalStackFirewallTemplate
- type MetalStackFirewallTemplateList
- type MetalStackFirewallTemplateRef
- type MetalStackMachine
- func (in *MetalStackMachine) DeepCopy() *MetalStackMachine
- func (in *MetalStackMachine) DeepCopyInto(out *MetalStackMachine)
- func (in *MetalStackMachine) DeepCopyObject() runtime.Object
- func (c *MetalStackMachine) GetConditions() clusterv1.Conditions
- func (c *MetalStackMachine) SetConditions(conditions clusterv1.Conditions)
- type MetalStackMachineList
- type MetalStackMachineSpec
- type MetalStackMachineStatus
- type MetalStackMachineTemplate
- type MetalStackMachineTemplateList
- type MetalStackMachineTemplateResource
- type MetalStackMachineTemplateSpec
- type MetalStackManagedResourceRef
Constants ¶
const ( MetalStackClusterKind = "MetalStackCluster" // ClusterFinalizer allows to clean up resources associated with before removing it from the apiserver. ClusterFinalizer = "metal-stack.infrastructure.cluster.x-k8s.io/cluster" TagInfraClusterResource = "metal-stack.infrastructure.cluster.x-k8s.io/cluster-resource" ClusterControlPlaneEndpointDefaultPort = 443 ClusterPaused clusterv1.ConditionType = clusterv1.PausedV1Beta2Condition ClusterControlPlaneIPEnsured clusterv1.ConditionType = "ClusterControlPlaneIPEnsured" )
const ( MetalStackFirewallDeploymentKind = "MetalStackFirewallDeployment" // FirewallDeploymentFinalizer allows to clean up resources associated with before removing it from the apiserver. FirewallDeploymentFinalizer = "metal-stack.infrastructure.cluster.x-k8s.io/firewall-deployment" TagFirewallDeploymentResource = "metal-stack.infrastructure.cluster.x-k8s.io/firewall-deployment-resource" ClusterFirewallDeploymentEnsured clusterv1.ConditionType = "ClusterFirewallDeploymentEnsured" )
const ( MetalStackMachineKind = "MetalStackMachine" // MachineFinalizer allows to clean up resources associated with before removing it from the apiserver. MachineFinalizer = "metal-stack.infrastructure.cluster.x-k8s.io/machine" TagInfraMachineResource = "metal-stack.infrastructure.cluster.x-k8s.io/machine-resource" ProviderMachineCreated clusterv1.ConditionType = "MachineCreated" ProviderMachineReady clusterv1.ConditionType = "MachineReady" ProviderMachineHealthy clusterv1.ConditionType = "MachineHealthy" ProviderMachinePaused clusterv1.ConditionType = clusterv1.PausedV1Beta2Condition )
const (
MetalStackFirewallTemplateKind = "MetalStackFirewallTemplate"
)
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 )
var (
TagControlPlanePurpose = tag.New("metal-stack.infrastructure.cluster.x-k8s.io/purpose", "control-plane")
)
Functions ¶
This section is empty.
Types ¶
type APIEndpoint ¶
type APIEndpoint struct {
// Host is the hostname on which the API server is serving.
Host string `json:"host"`
// Port is the port on which the API server is serving.
Port int `json:"port"`
}
APIEndpoint represents a reachable Kubernetes API endpoint.
func (*APIEndpoint) DeepCopy ¶
func (in *APIEndpoint) DeepCopy() *APIEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.
func (*APIEndpoint) DeepCopyInto ¶
func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackCluster ¶
type MetalStackCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MetalStackClusterSpec `json:"spec,omitempty"`
Status MetalStackClusterStatus `json:"status,omitempty"`
}
MetalStackCluster is the Schema for the metalstackclusters API.
func (*MetalStackCluster) DeepCopy ¶
func (in *MetalStackCluster) DeepCopy() *MetalStackCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackCluster.
func (*MetalStackCluster) DeepCopyInto ¶
func (in *MetalStackCluster) DeepCopyInto(out *MetalStackCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackCluster) DeepCopyObject ¶
func (in *MetalStackCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetalStackCluster) GetClusterID ¶ added in v0.3.1
func (c *MetalStackCluster) GetClusterID() string
func (*MetalStackCluster) GetConditions ¶
func (c *MetalStackCluster) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions.
func (*MetalStackCluster) SetConditions ¶
func (c *MetalStackCluster) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions.
type MetalStackClusterList ¶
type MetalStackClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetalStackCluster `json:"items"`
}
MetalStackClusterList contains a list of MetalStackCluster.
func (*MetalStackClusterList) DeepCopy ¶
func (in *MetalStackClusterList) DeepCopy() *MetalStackClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackClusterList.
func (*MetalStackClusterList) DeepCopyInto ¶
func (in *MetalStackClusterList) DeepCopyInto(out *MetalStackClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackClusterList) DeepCopyObject ¶
func (in *MetalStackClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackClusterSpec ¶
type MetalStackClusterSpec struct {
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
// +optional
ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint,omitzero"`
// ProjectID is the project id of the project in metal-stack in which the associated metal-stack resources are created.
ProjectID string `json:"projectID"`
// NodeNetworkID is the network ID in metal-stack in which the worker nodes and the firewall of the cluster are placed.
NodeNetworkID string `json:"nodeNetworkID"`
// ControlPlaneIP is the ip address in metal-stack on which the control plane will be exposed.
// If this ip and the control plane endpoint are not provided, an ephemeral ip will automatically be acquired during reconcile.
// Static ip addresses will not be deleted.
// +optional
ControlPlaneIP *string `json:"controlPlaneIP,omitempty"`
// Partition is the data center partition in which the resources are created.
Partition string `json:"partition"`
// FirewallDeploymentRef references a MetalStackFirewallDeployment resource which manages the firewall for this cluster.
// This feature is currently in public preview.
// +optional
FirewallDeploymentRef *MetalStackFirewallDeploymentRef `json:"firewallDeploymentRef,omitempty"`
}
MetalStackClusterSpec defines the desired state of MetalStackCluster.
func (*MetalStackClusterSpec) DeepCopy ¶
func (in *MetalStackClusterSpec) DeepCopy() *MetalStackClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackClusterSpec.
func (*MetalStackClusterSpec) DeepCopyInto ¶
func (in *MetalStackClusterSpec) DeepCopyInto(out *MetalStackClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackClusterStatus ¶
type MetalStackClusterStatus struct {
// Ready denotes that the cluster is ready.
// +kubebuilder:default=false
Ready bool `json:"ready"`
// FailureReason indicates that there is a fatal problem reconciling the
// state, and will be set to a token value suitable for
// programmatic interpretation.
// +optional
FailureReason *capierrors.ClusterStatusError `json:"failureReason,omitempty"`
// FailureMessage indicates that there is a fatal problem reconciling the
// state, and will be set to a descriptive error message.
// +optional
FailureMessage *string `json:"failureMessage,omitempty"`
// Conditions defines current service state of the MetalStackCluster.
// +optional
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}
MetalStackClusterStatus defines the observed state of MetalStackCluster.
func (*MetalStackClusterStatus) DeepCopy ¶
func (in *MetalStackClusterStatus) DeepCopy() *MetalStackClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackClusterStatus.
func (*MetalStackClusterStatus) DeepCopyInto ¶
func (in *MetalStackClusterStatus) DeepCopyInto(out *MetalStackClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackFirewallAutoUpdate ¶ added in v0.7.0
type MetalStackFirewallAutoUpdate struct {
MachineImage bool `json:"machineImage,omitempty"`
}
func (*MetalStackFirewallAutoUpdate) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallAutoUpdate) DeepCopy() *MetalStackFirewallAutoUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallAutoUpdate.
func (*MetalStackFirewallAutoUpdate) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallAutoUpdate) DeepCopyInto(out *MetalStackFirewallAutoUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackFirewallDeployment ¶ added in v0.7.0
type MetalStackFirewallDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MetalStackFirewallDeploymentSpec `json:"spec,omitzero"`
Status MetalStackFirewallDeploymentStatus `json:"status,omitempty"`
}
MetalStackFirewallDeployment is the Schema for the MetalStackFirewallDeployments API
func (*MetalStackFirewallDeployment) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallDeployment) DeepCopy() *MetalStackFirewallDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallDeployment.
func (*MetalStackFirewallDeployment) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallDeployment) DeepCopyInto(out *MetalStackFirewallDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackFirewallDeployment) DeepCopyObject ¶ added in v0.7.0
func (in *MetalStackFirewallDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetalStackFirewallDeployment) GetConditions ¶ added in v0.7.0
func (c *MetalStackFirewallDeployment) GetConditions() clusterv1.Conditions
func (*MetalStackFirewallDeployment) SetConditions ¶ added in v0.7.0
func (c *MetalStackFirewallDeployment) SetConditions(conditions clusterv1.Conditions)
type MetalStackFirewallDeploymentList ¶ added in v0.7.0
type MetalStackFirewallDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetalStackFirewallDeployment `json:"items"`
}
func (*MetalStackFirewallDeploymentList) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentList) DeepCopy() *MetalStackFirewallDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallDeploymentList.
func (*MetalStackFirewallDeploymentList) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentList) DeepCopyInto(out *MetalStackFirewallDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackFirewallDeploymentList) DeepCopyObject ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackFirewallDeploymentRef ¶ added in v0.7.0
type MetalStackFirewallDeploymentRef struct {
// Name is the name of the MetalStackFirewallDeployment resource.
Name string `json:"name"`
}
MetalStackFirewallDeploymentRef contains a reference to a MetalStackFirewallDeployment resource.
func (*MetalStackFirewallDeploymentRef) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentRef) DeepCopy() *MetalStackFirewallDeploymentRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallDeploymentRef.
func (*MetalStackFirewallDeploymentRef) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentRef) DeepCopyInto(out *MetalStackFirewallDeploymentRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackFirewallDeploymentSpec ¶ added in v0.7.0
type MetalStackFirewallDeploymentSpec struct {
// FirewallTemplateRef references the MetalStackFirewallTemplate to use for the firewall deployment.
FirewallTemplateRef MetalStackFirewallTemplateRef `json:"firewallTemplateRef"`
// ManagedResourceRef references the resource that represents the firewall deployment. At this moment it is a metal-stack firewall id.
// It is planned to reference a FirewallDeployment.
// +optional
ManagedResourceRef *MetalStackManagedResourceRef `json:"managedResourceRef,omitempty"`
// AutoUpdate defines the behavior for automatic updates.
AutoUpdate *MetalStackFirewallAutoUpdate `json:"autoUpdate,omitempty"`
}
MetalStackFirewallDeploymentSpec defines the desired state of MetalStackFirewallDeployment
func (*MetalStackFirewallDeploymentSpec) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentSpec) DeepCopy() *MetalStackFirewallDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallDeploymentSpec.
func (*MetalStackFirewallDeploymentSpec) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentSpec) DeepCopyInto(out *MetalStackFirewallDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackFirewallDeploymentStatus ¶ added in v0.7.0
type MetalStackFirewallDeploymentStatus struct {
// +kubebuilder:default=false
Ready bool `json:"ready"`
// Conditions defines current service state of the MetalStackCluster.
// +optional
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}
MetalStackFirewallDeploymentStatus defines the observed state of MetalStackFirewallDeployment
func (*MetalStackFirewallDeploymentStatus) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentStatus) DeepCopy() *MetalStackFirewallDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallDeploymentStatus.
func (*MetalStackFirewallDeploymentStatus) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallDeploymentStatus) DeepCopyInto(out *MetalStackFirewallDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackFirewallTemplate ¶ added in v0.7.0
type MetalStackFirewallTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the firewall deployment template spec used to create firewalls for the cluster.
Spec fcmv2.FirewallSpec `json:"spec"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Namespaced,categories=cluster-api,shortName=msfwtemplate +kubebuilder:printcolumn:name="Partition",type="string",JSONPath=".spec.partition",description="The Metal Stack partition where the firewall will be created" +kubebuilder:printcolumn:name="Project",type="string",JSONPath=".spec.project",description="The Metal Stack project where the firewall will be created" +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.image",description="The Metal Stack firewall image" +kubebuilder:printcolumn:name="Size",type="string",JSONPath=".spec.size",description="The Metal Stack firewall size" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="The age of the firewall template"
func (*MetalStackFirewallTemplate) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallTemplate) DeepCopy() *MetalStackFirewallTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallTemplate.
func (*MetalStackFirewallTemplate) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallTemplate) DeepCopyInto(out *MetalStackFirewallTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackFirewallTemplate) DeepCopyObject ¶ added in v0.7.0
func (in *MetalStackFirewallTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackFirewallTemplateList ¶ added in v0.7.0
type MetalStackFirewallTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetalStackFirewallTemplate `json:"items"`
}
func (*MetalStackFirewallTemplateList) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallTemplateList) DeepCopy() *MetalStackFirewallTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallTemplateList.
func (*MetalStackFirewallTemplateList) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallTemplateList) DeepCopyInto(out *MetalStackFirewallTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackFirewallTemplateList) DeepCopyObject ¶ added in v0.7.0
func (in *MetalStackFirewallTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackFirewallTemplateRef ¶ added in v0.7.0
type MetalStackFirewallTemplateRef struct {
// Name of the MetalStackFirewallTemplate.
Name string `json:"name"`
}
MetalStackFirewallTemplateRef references a MetalStackFirewallTemplate.
func (*MetalStackFirewallTemplateRef) DeepCopy ¶ added in v0.7.0
func (in *MetalStackFirewallTemplateRef) DeepCopy() *MetalStackFirewallTemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackFirewallTemplateRef.
func (*MetalStackFirewallTemplateRef) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackFirewallTemplateRef) DeepCopyInto(out *MetalStackFirewallTemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackMachine ¶
type MetalStackMachine struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MetalStackMachineSpec `json:"spec,omitempty"`
Status MetalStackMachineStatus `json:"status,omitempty"`
}
MetalStackMachine is the Schema for the metalstackmachines API.
func (*MetalStackMachine) DeepCopy ¶
func (in *MetalStackMachine) DeepCopy() *MetalStackMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachine.
func (*MetalStackMachine) DeepCopyInto ¶
func (in *MetalStackMachine) DeepCopyInto(out *MetalStackMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackMachine) DeepCopyObject ¶
func (in *MetalStackMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetalStackMachine) GetConditions ¶
func (c *MetalStackMachine) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions.
func (*MetalStackMachine) SetConditions ¶
func (c *MetalStackMachine) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions.
type MetalStackMachineList ¶
type MetalStackMachineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetalStackMachine `json:"items"`
}
MetalStackMachineList contains a list of MetalStackMachine.
func (*MetalStackMachineList) DeepCopy ¶
func (in *MetalStackMachineList) DeepCopy() *MetalStackMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineList.
func (*MetalStackMachineList) DeepCopyInto ¶
func (in *MetalStackMachineList) DeepCopyInto(out *MetalStackMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackMachineList) DeepCopyObject ¶
func (in *MetalStackMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackMachineSpec ¶
type MetalStackMachineSpec struct {
// ProviderID points to the metal-stack machine ID.
// +optional
ProviderID string `json:"providerID"`
// Image is the operating system to deploy on the machine
Image string `json:"image"`
// Size is the size of the machine
Size string `json:"size"`
}
MetalStackMachineSpec defines the desired state of MetalStackMachine.
func (*MetalStackMachineSpec) DeepCopy ¶
func (in *MetalStackMachineSpec) DeepCopy() *MetalStackMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineSpec.
func (*MetalStackMachineSpec) DeepCopyInto ¶
func (in *MetalStackMachineSpec) DeepCopyInto(out *MetalStackMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackMachineStatus ¶
type MetalStackMachineStatus struct {
// Ready denotes that the machine is ready.
// +kubebuilder:default=false
Ready bool `json:"ready"`
// FailureReason indicates that there is a fatal problem reconciling the
// state, and will be set to a token value suitable for
// programmatic interpretation.
// +optional
FailureReason *capierrors.MachineStatusError `json:"failureReason,omitempty"`
// FailureMessage indicates that there is a fatal problem reconciling the
// state, and will be set to a descriptive error message.
// +optional
FailureMessage *string `json:"failureMessage,omitempty"`
// Conditions defines current service state of the MetalStackMachine.
// +optional
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
// MachineAddresses contains all host names, external or internal IP addresses and external or internal DNS names.
Addresses clusterv1.MachineAddresses `json:"addresses,omitempty"`
}
MetalStackMachineStatus defines the observed state of MetalStackMachine.
func (*MetalStackMachineStatus) DeepCopy ¶
func (in *MetalStackMachineStatus) DeepCopy() *MetalStackMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineStatus.
func (*MetalStackMachineStatus) DeepCopyInto ¶
func (in *MetalStackMachineStatus) DeepCopyInto(out *MetalStackMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackMachineTemplate ¶
type MetalStackMachineTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MetalStackMachineTemplateSpec `json:"spec,omitempty"`
}
MetalStackMachineTemplate is the Schema for the inframachinetemplates API.
func (*MetalStackMachineTemplate) DeepCopy ¶
func (in *MetalStackMachineTemplate) DeepCopy() *MetalStackMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineTemplate.
func (*MetalStackMachineTemplate) DeepCopyInto ¶
func (in *MetalStackMachineTemplate) DeepCopyInto(out *MetalStackMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackMachineTemplate) DeepCopyObject ¶
func (in *MetalStackMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackMachineTemplateList ¶
type MetalStackMachineTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MetalStackMachineTemplate `json:"items"`
}
MetalStackMachineTemplateList contains a list of MetalStackMachineTemplate.
func (*MetalStackMachineTemplateList) DeepCopy ¶
func (in *MetalStackMachineTemplateList) DeepCopy() *MetalStackMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineTemplateList.
func (*MetalStackMachineTemplateList) DeepCopyInto ¶
func (in *MetalStackMachineTemplateList) DeepCopyInto(out *MetalStackMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetalStackMachineTemplateList) DeepCopyObject ¶
func (in *MetalStackMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetalStackMachineTemplateResource ¶
type MetalStackMachineTemplateResource struct {
Spec MetalStackMachineSpec `json:"spec"`
}
MetalStackMachineTemplateResource describes the data needed to create a metal-stack machine from a template.
func (*MetalStackMachineTemplateResource) DeepCopy ¶
func (in *MetalStackMachineTemplateResource) DeepCopy() *MetalStackMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineTemplateResource.
func (*MetalStackMachineTemplateResource) DeepCopyInto ¶
func (in *MetalStackMachineTemplateResource) DeepCopyInto(out *MetalStackMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackMachineTemplateSpec ¶
type MetalStackMachineTemplateSpec struct {
Template MetalStackMachine `json:"template"`
}
MetalStackMachineTemplateSpec defines the desired state of MetalStackMachineTemplateSpec.
func (*MetalStackMachineTemplateSpec) DeepCopy ¶
func (in *MetalStackMachineTemplateSpec) DeepCopy() *MetalStackMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackMachineTemplateSpec.
func (*MetalStackMachineTemplateSpec) DeepCopyInto ¶
func (in *MetalStackMachineTemplateSpec) DeepCopyInto(out *MetalStackMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetalStackManagedResourceRef ¶ added in v0.7.0
type MetalStackManagedResourceRef struct {
// Name of the MetalStackManagedResource.
Name string `json:"name"`
}
MetalStackManagedResourceRef references a MetalStackManagedResource.
func (*MetalStackManagedResourceRef) DeepCopy ¶ added in v0.7.0
func (in *MetalStackManagedResourceRef) DeepCopy() *MetalStackManagedResourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalStackManagedResourceRef.
func (*MetalStackManagedResourceRef) DeepCopyInto ¶ added in v0.7.0
func (in *MetalStackManagedResourceRef) DeepCopyInto(out *MetalStackManagedResourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.