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 Condition
- type ConditionSeverity
- type ConditionType
- type Conditions
- type PodTemplate
- type VCluster
- func (in *VCluster) DeepCopy() *VCluster
- func (in *VCluster) DeepCopyInto(out *VCluster)
- func (in *VCluster) DeepCopyObject() runtime.Object
- func (v *VCluster) GetConditions() Conditions
- func (v *VCluster) GetSpec() *VClusterSpec
- func (v *VCluster) GetStatus() *VClusterStatus
- func (v *VCluster) SetConditions(conditions Conditions)
- type VClusterList
- type VClusterSpec
- type VClusterStatus
- type VNodeCluster
- func (in *VNodeCluster) DeepCopy() *VNodeCluster
- func (in *VNodeCluster) DeepCopyInto(out *VNodeCluster)
- func (in *VNodeCluster) DeepCopyObject() runtime.Object
- func (v *VNodeCluster) GetConditions() Conditions
- func (v *VNodeCluster) GetSpec() *VNodeClusterSpec
- func (v *VNodeCluster) GetStatus() *VNodeClusterStatus
- func (v *VNodeCluster) SetConditions(conditions Conditions)
- type VNodeClusterList
- type VNodeClusterSpec
- type VNodeClusterStatus
- type VNodeMachine
- type VNodeMachineList
- type VNodeMachineSpec
- type VNodeMachineStatus
- type VNodeMachineTemplate
- type VNodeMachineTemplateList
- type VNodeMachineTemplateResource
- type VNodeMachineTemplateSpec
- type VirtualClusterHelmChart
- type VirtualClusterHelmRelease
- type VirtualClusterPhase
Constants ¶
const ( // MachineFinalizer allows ReconcileKubevirtMachine to clean up resources associated with machine before // removing it from the apiserver. MachineFinalizer = "vnodemachine.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 Condition ¶
type Condition struct {
// Type of condition in CamelCase or in foo.example.com/CamelCase.
// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
// can be useful (see .node.status.conditions), the ability to deconflict is important.
// +required
Type ConditionType `json:"type"`
// Status of the condition, one of True, False, Unknown.
// +required
Status corev1.ConditionStatus `json:"status"`
// Severity provides an explicit classification of Reason code, so the users or machines can immediately
// understand the current situation and act accordingly.
// The Severity field MUST be set only when Status=False.
// +optional
Severity ConditionSeverity `json:"severity,omitempty"`
// Last time the condition transitioned from one status to another.
// This should be when the underlying condition changed. If that is not known, then using the time when
// the API field changed is acceptable.
// +required
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
// The reason for the condition's last transition in CamelCase.
// The specific API may choose whether this field is considered a guaranteed API.
// This field may not be empty.
// +optional
Reason string `json:"reason,omitempty"`
// A human readable message indicating details about the transition.
// This field may be empty.
// +optional
Message string `json:"message,omitempty"`
}
Condition defines an observation of a Cluster API resource operational state.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionSeverity ¶
type ConditionSeverity string
ConditionSeverity expresses the severity of a Condition Type failing.
const ( // ConditionSeverityError specifies that a condition with `Status=False` is an error. ConditionSeverityError ConditionSeverity = "Error" // ConditionSeverityWarning specifies that a condition with `Status=False` is a warning. ConditionSeverityWarning ConditionSeverity = "Warning" // ConditionSeverityInfo specifies that a condition with `Status=False` is informative. ConditionSeverityInfo ConditionSeverity = "Info" // ConditionSeverityNone should apply only to conditions with `Status=True`. ConditionSeverityNone ConditionSeverity = "" )
Condition severity levels
type ConditionType ¶
type ConditionType string
ConditionType is a valid value for Condition.Type.
const ( // ReadyCondition defines the Ready condition type that summarizes the operational state of the vcluster API object. ReadyCondition ConditionType = "Ready" // ControlPlaneInitializedCondition defines the initialized condition type if the vcluster is reachable. ControlPlaneInitializedCondition ConditionType = "ControlPlaneInitialized" // KubeconfigReadyCondition defines the ready condition type if the vcluster kubeconfig was written. KubeconfigReadyCondition ConditionType = "KubeconfigReady" // HelmChartDeployedCondition defines the helm chart deployed condition type that defines if the helm chart was deployed correctly. HelmChartDeployedCondition ConditionType = "HelmChartDeployed" // InfrastructureClusterSyncedCondition defines the infrastructure cluster synced condition type that defines if the infrastructure cluster was patched correctly. InfrastructureClusterSyncedCondition ConditionType = "InfrastructureClusterSynced" )
Common ConditionTypes used by Cluster API objects.
const (
PodProvisionedCondition ConditionType = "PodProvisioned"
)
Common ConditionTypes used by Cluster API objects.
type Conditions ¶
type Conditions []Condition
Conditions is an array of conditions
func (Conditions) DeepCopy ¶
func (in Conditions) DeepCopy() Conditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Conditions.
func (Conditions) DeepCopyInto ¶
func (in Conditions) DeepCopyInto(out *Conditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodTemplate ¶
type PodTemplate struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// Specification of the desired behavior of the pod.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
Spec runtime.RawExtension `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}
func (*PodTemplate) DeepCopy ¶
func (in *PodTemplate) DeepCopy() *PodTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate.
func (*PodTemplate) DeepCopyInto ¶
func (in *PodTemplate) DeepCopyInto(out *PodTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCluster ¶
type VCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VClusterSpec `json:"spec,omitempty"`
Status VClusterStatus `json:"status,omitempty"`
}
VCluster is the Schema for the vclusters API
func (*VCluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCluster.
func (*VCluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCluster) GetConditions ¶
func (v *VCluster) GetConditions() Conditions
GetConditions returns the set of conditions for this object.
func (*VCluster) GetSpec ¶
func (v *VCluster) GetSpec() *VClusterSpec
func (*VCluster) GetStatus ¶
func (v *VCluster) GetStatus() *VClusterStatus
func (*VCluster) SetConditions ¶
func (v *VCluster) SetConditions(conditions Conditions)
SetConditions sets the conditions on this object.
type VClusterList ¶
type VClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VCluster `json:"items"`
}
VClusterList contains a list of VCluster
func (*VClusterList) DeepCopy ¶
func (in *VClusterList) DeepCopy() *VClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VClusterList.
func (*VClusterList) DeepCopyInto ¶
func (in *VClusterList) DeepCopyInto(out *VClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VClusterList) DeepCopyObject ¶
func (in *VClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VClusterSpec ¶
type VClusterSpec struct {
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
// +optional
ControlPlaneEndpoint *clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
// The helm release configuration for the virtual cluster. This is optional, but
// when filled, specified chart will be deployed.
// +optional
HelmRelease *VirtualClusterHelmRelease `json:"helmRelease,omitempty"`
}
VClusterSpec defines the desired state of VCluster
func (*VClusterSpec) DeepCopy ¶
func (in *VClusterSpec) DeepCopy() *VClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VClusterSpec.
func (*VClusterSpec) DeepCopyInto ¶
func (in *VClusterSpec) DeepCopyInto(out *VClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VClusterStatus ¶
type VClusterStatus struct {
// Ready defines if the virtual cluster control plane is ready.
// +optional
// +kubebuilder:default=false
Ready bool `json:"ready"`
// Initialized defines if the virtual cluster control plane was initialized.
// +optional
// +kubebuilder:default=false
Initialized bool `json:"initialized"`
// Phase describes the current phase the virtual cluster is in
// +optional
Phase VirtualClusterPhase `json:"phase,omitempty"`
// Reason describes the reason in machine readable form why the cluster is in the current
// phase
// +optional
Reason string `json:"reason,omitempty"`
// Message describes the reason in human readable form why the cluster is in the currrent
// phase
// +optional
Message string `json:"message,omitempty"`
// Conditions holds several conditions the vcluster might be in
// +optional
Conditions Conditions `json:"conditions,omitempty"`
// ObservedGeneration is the latest generation observed by the controller.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// ExternalManagedControlPlane is required by Cluster API to indicate that the control plane
// is externally managed.
// +optional
ExternalManagedControlPlane *bool `json:"externalManagedControlPlane,omitempty"`
}
VClusterStatus defines the observed state of VCluster
func (*VClusterStatus) DeepCopy ¶
func (in *VClusterStatus) DeepCopy() *VClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VClusterStatus.
func (*VClusterStatus) DeepCopyInto ¶
func (in *VClusterStatus) DeepCopyInto(out *VClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeCluster ¶
type VNodeCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VNodeClusterSpec `json:"spec,omitempty"`
Status VNodeClusterStatus `json:"status,omitempty"`
}
VNodeCluster is the Schema for the vnodeclusters API
func (*VNodeCluster) DeepCopy ¶
func (in *VNodeCluster) DeepCopy() *VNodeCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeCluster.
func (*VNodeCluster) DeepCopyInto ¶
func (in *VNodeCluster) DeepCopyInto(out *VNodeCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeCluster) DeepCopyObject ¶
func (in *VNodeCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VNodeCluster) GetConditions ¶
func (v *VNodeCluster) GetConditions() Conditions
GetConditions returns the set of conditions for this object.
func (*VNodeCluster) GetSpec ¶
func (v *VNodeCluster) GetSpec() *VNodeClusterSpec
func (*VNodeCluster) GetStatus ¶
func (v *VNodeCluster) GetStatus() *VNodeClusterStatus
func (*VNodeCluster) SetConditions ¶
func (v *VNodeCluster) SetConditions(conditions Conditions)
SetConditions sets the conditions on this object.
type VNodeClusterList ¶
type VNodeClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VNodeCluster `json:"items"`
}
VNodeClusterList contains a list of VNodeCluster
func (*VNodeClusterList) DeepCopy ¶
func (in *VNodeClusterList) DeepCopy() *VNodeClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeClusterList.
func (*VNodeClusterList) DeepCopyInto ¶
func (in *VNodeClusterList) DeepCopyInto(out *VNodeClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeClusterList) DeepCopyObject ¶
func (in *VNodeClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VNodeClusterSpec ¶
type VNodeClusterSpec struct {
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
// +optional
ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}
VNodeClusterSpec defines the desired state of VCluster
func (*VNodeClusterSpec) DeepCopy ¶
func (in *VNodeClusterSpec) DeepCopy() *VNodeClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeClusterSpec.
func (*VNodeClusterSpec) DeepCopyInto ¶
func (in *VNodeClusterSpec) DeepCopyInto(out *VNodeClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeClusterStatus ¶
type VNodeClusterStatus struct {
// Ready defines if the virtual cluster control plane is ready.
// +optional
// +kubebuilder:default=false
Ready bool `json:"ready"`
// Reason describes the reason in machine readable form why the cluster is in the current
// phase
// +optional
Reason string `json:"reason,omitempty"`
// Message describes the reason in human readable form why the cluster is in the currrent
// phase
// +optional
Message string `json:"message,omitempty"`
// Conditions holds several conditions the vcluster might be in
// +optional
Conditions Conditions `json:"conditions,omitempty"`
// ObservedGeneration is the latest generation observed by the controller.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// ExternalManagedControlPlane is required by Cluster API to indicate that the control plane
// is externally managed.
// +optional
ExternalManagedControlPlane *bool `json:"externalManagedControlPlane,omitempty"`
}
VNodeClusterStatus defines the observed state of VCluster
func (*VNodeClusterStatus) DeepCopy ¶
func (in *VNodeClusterStatus) DeepCopy() *VNodeClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeClusterStatus.
func (*VNodeClusterStatus) DeepCopyInto ¶
func (in *VNodeClusterStatus) DeepCopyInto(out *VNodeClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeMachine ¶
type VNodeMachine struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VNodeMachineSpec `json:"spec,omitempty"`
Status VNodeMachineStatus `json:"status,omitempty"`
}
VNodeMachine is the Schema for the vnodemachines API.
func (*VNodeMachine) DeepCopy ¶
func (in *VNodeMachine) DeepCopy() *VNodeMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachine.
func (*VNodeMachine) DeepCopyInto ¶
func (in *VNodeMachine) DeepCopyInto(out *VNodeMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeMachine) DeepCopyObject ¶
func (in *VNodeMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VNodeMachine) GetConditions ¶
func (c *VNodeMachine) GetConditions() Conditions
func (*VNodeMachine) SetConditions ¶
func (c *VNodeMachine) SetConditions(conditions Conditions)
type VNodeMachineList ¶
type VNodeMachineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VNodeMachine `json:"items"`
}
VNodeMachineList contains a list of VNodeMachine.
func (*VNodeMachineList) DeepCopy ¶
func (in *VNodeMachineList) DeepCopy() *VNodeMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineList.
func (*VNodeMachineList) DeepCopyInto ¶
func (in *VNodeMachineList) DeepCopyInto(out *VNodeMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeMachineList) DeepCopyObject ¶
func (in *VNodeMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VNodeMachineSpec ¶
type VNodeMachineSpec struct {
// ProviderID TBD what to use for VNode
// +optional
ProviderID *string `json:"providerID,omitempty"`
// PodTemplate contains the pod template to use for the machine.
PodTemplate PodTemplate `json:"podTemplate,omitempty"`
}
VNodeMachineSpec defines the desired state of VNodeMachine.
func (*VNodeMachineSpec) DeepCopy ¶
func (in *VNodeMachineSpec) DeepCopy() *VNodeMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineSpec.
func (*VNodeMachineSpec) DeepCopyInto ¶
func (in *VNodeMachineSpec) DeepCopyInto(out *VNodeMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeMachineStatus ¶
type VNodeMachineStatus struct {
// Ready denotes that the machine is ready
// +kubebuilder:default=false
Ready bool `json:"ready"`
// Addresses contains the associated addresses for the machine.
// +optional
Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"`
// Conditions defines current service state of the KubevirtMachine.
// +optional
Conditions Conditions `json:"conditions,omitempty"`
// NodeUpdated denotes that the ProviderID is updated on Node of this KubevirtMachine
// +optional
NodeUpdated bool `json:"nodeupdated"`
// 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 string `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"`
}
VNodeMachineStatus defines the observed state of VNodeMachine.
func (*VNodeMachineStatus) DeepCopy ¶
func (in *VNodeMachineStatus) DeepCopy() *VNodeMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineStatus.
func (*VNodeMachineStatus) DeepCopyInto ¶
func (in *VNodeMachineStatus) DeepCopyInto(out *VNodeMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeMachineTemplate ¶
type VNodeMachineTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VNodeMachineTemplateSpec `json:"spec,omitempty"`
}
VNodeMachineTemplate is the Schema for the vnodemachinetemplates API.
func (*VNodeMachineTemplate) DeepCopy ¶
func (in *VNodeMachineTemplate) DeepCopy() *VNodeMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineTemplate.
func (*VNodeMachineTemplate) DeepCopyInto ¶
func (in *VNodeMachineTemplate) DeepCopyInto(out *VNodeMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeMachineTemplate) DeepCopyObject ¶
func (in *VNodeMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VNodeMachineTemplateList ¶
type VNodeMachineTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VNodeMachineTemplate `json:"items"`
}
VNodeMachineTemplateList contains a list of VNodeMachineTemplate.
func (*VNodeMachineTemplateList) DeepCopy ¶
func (in *VNodeMachineTemplateList) DeepCopy() *VNodeMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineTemplateList.
func (*VNodeMachineTemplateList) DeepCopyInto ¶
func (in *VNodeMachineTemplateList) DeepCopyInto(out *VNodeMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VNodeMachineTemplateList) DeepCopyObject ¶
func (in *VNodeMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VNodeMachineTemplateResource ¶
type VNodeMachineTemplateResource struct {
// Spec is the specification of the desired behavior of the machine.
Spec VNodeMachineSpec `json:"spec"`
}
VNodeMachineTemplateResource describes the data needed to create a VNodeMachine from a template.
func (*VNodeMachineTemplateResource) DeepCopy ¶
func (in *VNodeMachineTemplateResource) DeepCopy() *VNodeMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineTemplateResource.
func (*VNodeMachineTemplateResource) DeepCopyInto ¶
func (in *VNodeMachineTemplateResource) DeepCopyInto(out *VNodeMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VNodeMachineTemplateSpec ¶
type VNodeMachineTemplateSpec struct {
Template VNodeMachineTemplateResource `json:"template"`
}
VNodeMachineTemplateSpec defines the desired state of VNodeMachineTemplate.
func (*VNodeMachineTemplateSpec) DeepCopy ¶
func (in *VNodeMachineTemplateSpec) DeepCopy() *VNodeMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VNodeMachineTemplateSpec.
func (*VNodeMachineTemplateSpec) DeepCopyInto ¶
func (in *VNodeMachineTemplateSpec) DeepCopyInto(out *VNodeMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualClusterHelmChart ¶
type VirtualClusterHelmChart struct {
// the name of the helm chart
// +optional
Name string `json:"name,omitempty"`
// the repo of the helm chart
// +optional
Repo string `json:"repo,omitempty"`
// the version of the helm chart to use
// +optional
Version string `json:"version,omitempty"`
}
func (*VirtualClusterHelmChart) DeepCopy ¶
func (in *VirtualClusterHelmChart) DeepCopy() *VirtualClusterHelmChart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualClusterHelmChart.
func (*VirtualClusterHelmChart) DeepCopyInto ¶
func (in *VirtualClusterHelmChart) DeepCopyInto(out *VirtualClusterHelmChart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualClusterHelmRelease ¶
type VirtualClusterHelmRelease struct {
// infos about what chart to deploy
// +optional
Chart VirtualClusterHelmChart `json:"chart,omitempty"`
// the values for the given chart
// +optional
Values string `json:"values,omitempty"`
// the values for the given chart
// +optional
ValuesObject *runtime.RawExtension `json:"valuesObject,omitempty"`
}
func (*VirtualClusterHelmRelease) DeepCopy ¶
func (in *VirtualClusterHelmRelease) DeepCopy() *VirtualClusterHelmRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualClusterHelmRelease.
func (*VirtualClusterHelmRelease) DeepCopyInto ¶
func (in *VirtualClusterHelmRelease) DeepCopyInto(out *VirtualClusterHelmRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualClusterPhase ¶
type VirtualClusterPhase string
VirtualClusterPhase describes the phase of a virtual cluster +kubebuilder:validation:Enum="";Pending;Deployed;Failed
const ( // VirtualClusterUnknown represents an unknown phase VirtualClusterUnknown VirtualClusterPhase = "" // VirtualClusterPending indicates the cluster is being created VirtualClusterPending VirtualClusterPhase = "Pending" // VirtualClusterDeployed indicates the cluster is fully deployed and operational VirtualClusterDeployed VirtualClusterPhase = "Deployed" // VirtualClusterFailed indicates the cluster deployment has failed VirtualClusterFailed VirtualClusterPhase = "Failed" )