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 CommonProvisioningSettings
- type InMemoryAPIServerBehaviour
- type InMemoryCluster
- func (in *InMemoryCluster) DeepCopy() *InMemoryCluster
- func (in *InMemoryCluster) DeepCopyInto(out *InMemoryCluster)
- func (in *InMemoryCluster) DeepCopyObject() runtime.Object
- func (c *InMemoryCluster) Default()
- func (c *InMemoryCluster) GetConditions() clusterv1.Conditions
- func (c *InMemoryCluster) SetConditions(conditions clusterv1.Conditions)
- func (c *InMemoryCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (c *InMemoryCluster) ValidateCreate() (admission.Warnings, error)
- func (c *InMemoryCluster) ValidateDelete() (admission.Warnings, error)
- func (c *InMemoryCluster) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type InMemoryClusterList
- type InMemoryClusterSpec
- type InMemoryClusterStatus
- type InMemoryClusterTemplate
- func (in *InMemoryClusterTemplate) DeepCopy() *InMemoryClusterTemplate
- func (in *InMemoryClusterTemplate) DeepCopyInto(out *InMemoryClusterTemplate)
- func (in *InMemoryClusterTemplate) DeepCopyObject() runtime.Object
- func (c *InMemoryClusterTemplate) Default()
- func (c *InMemoryClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (c *InMemoryClusterTemplate) ValidateCreate() (admission.Warnings, error)
- func (c *InMemoryClusterTemplate) ValidateDelete() (admission.Warnings, error)
- func (c *InMemoryClusterTemplate) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type InMemoryClusterTemplateList
- type InMemoryClusterTemplateResource
- type InMemoryClusterTemplateSpec
- type InMemoryEtcdBehaviour
- type InMemoryMachine
- func (in *InMemoryMachine) DeepCopy() *InMemoryMachine
- func (in *InMemoryMachine) DeepCopyInto(out *InMemoryMachine)
- func (in *InMemoryMachine) DeepCopyObject() runtime.Object
- func (c *InMemoryMachine) Default()
- func (c *InMemoryMachine) GetConditions() clusterv1.Conditions
- func (c *InMemoryMachine) SetConditions(conditions clusterv1.Conditions)
- func (c *InMemoryMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (c *InMemoryMachine) ValidateCreate() (admission.Warnings, error)
- func (c *InMemoryMachine) ValidateDelete() (admission.Warnings, error)
- func (c *InMemoryMachine) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type InMemoryMachineBehaviour
- type InMemoryMachineList
- type InMemoryMachineSpec
- type InMemoryMachineStatus
- type InMemoryMachineTemplate
- func (in *InMemoryMachineTemplate) DeepCopy() *InMemoryMachineTemplate
- func (in *InMemoryMachineTemplate) DeepCopyInto(out *InMemoryMachineTemplate)
- func (in *InMemoryMachineTemplate) DeepCopyObject() runtime.Object
- func (c *InMemoryMachineTemplate) Default()
- func (c *InMemoryMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (c *InMemoryMachineTemplate) ValidateCreate() (admission.Warnings, error)
- func (c *InMemoryMachineTemplate) ValidateDelete() (admission.Warnings, error)
- func (c *InMemoryMachineTemplate) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type InMemoryMachineTemplateList
- type InMemoryMachineTemplateResource
- type InMemoryMachineTemplateSpec
- type InMemoryNodeBehaviour
- type InMemoryVMBehaviour
Constants ¶
const ( // ResourceGroupAnnotationName tracks the name of a resource group a InMemoryCluster cluster is linked to. ResourceGroupAnnotationName = "inmemorycluster.infrastructure.cluster.x-k8s.io/resource-group" // ClusterFinalizer allows InMemoryClusterReconciler to clean up resources associated with InMemoryCluster before // removing it from the API server. ClusterFinalizer = "inmemorycluster.infrastructure.cluster.x-k8s.io" )
const ( // VMProvisionedCondition documents the status of the provisioning VM implementing the InMemoryMachine. VMProvisionedCondition clusterv1.ConditionType = "VMProvisioned" // WaitingForClusterInfrastructureReason (Severity=Info) documents an InMemoryMachine VM waiting for the cluster // infrastructure to be ready. WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure" // WaitingControlPlaneInitializedReason (Severity=Info) documents an InMemoryMachine VM waiting // for the control plane to be initialized. WaitingControlPlaneInitializedReason = "WaitingControlPlaneInitialized" // WaitingForBootstrapDataReason (Severity=Info) documents an InMemoryMachine VM waiting for the bootstrap // data to be ready before starting to create the CloudMachine/VM. WaitingForBootstrapDataReason = "WaitingForBootstrapData" // VMWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine VM provisioning. VMWaitingForStartupTimeoutReason = "WaitingForStartupTimeout" )
const ( // NodeProvisionedCondition documents the status of the provisioning of the node hosted on the InMemoryMachine. NodeProvisionedCondition clusterv1.ConditionType = "NodeProvisioned" // NodeWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine Node provisioning. NodeWaitingForStartupTimeoutReason = "WaitingForStartupTimeout" )
const ( // EtcdProvisionedCondition documents the status of the provisioning of the etcd member hosted on the InMemoryMachine. EtcdProvisionedCondition clusterv1.ConditionType = "EtcdProvisioned" // EtcdWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine etcd pod provisioning. EtcdWaitingForStartupTimeoutReason = "WaitingForStartupTimeout" )
const ( // APIServerProvisionedCondition documents the status of the provisioning of the APIServer instance hosted on the InMemoryMachine. APIServerProvisionedCondition clusterv1.ConditionType = "APIServerProvisioned" // APIServerWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine API server pod provisioning. APIServerWaitingForStartupTimeoutReason = "WaitingForStartupTimeout" )
const ( // MachineFinalizer allows ReconcileInMemoryMachine to clean up resources associated with InMemoryMachine before // removing it from the API server. MachineFinalizer = "inmemorymachine.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 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. // Defaults to 6443 if not set. 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 CommonProvisioningSettings ¶
type CommonProvisioningSettings struct { // StartupDuration defines the duration of the object provisioning phase. StartupDuration metav1.Duration `json:"startupDuration"` // StartupJitter adds some randomness on StartupDuration; the actual duration will be StartupDuration plus an additional // amount chosen uniformly at random from the interval between zero and `StartupJitter*StartupDuration`. // NOTE: this is modeled as string because the usage of float is highly discouraged, as support for them varies across languages. StartupJitter string `json:"startupJitter,omitempty"` }
CommonProvisioningSettings holds parameters that applies to provisioning of most of the objects.
func (*CommonProvisioningSettings) DeepCopy ¶
func (in *CommonProvisioningSettings) DeepCopy() *CommonProvisioningSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProvisioningSettings.
func (*CommonProvisioningSettings) DeepCopyInto ¶
func (in *CommonProvisioningSettings) DeepCopyInto(out *CommonProvisioningSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryAPIServerBehaviour ¶
type InMemoryAPIServerBehaviour struct { // Provisioning defines variables influencing how the APIServer hosted on the InMemoryMachine is going to be provisioned. // NOTE: APIServer provisioning includes all the steps from starting the static Pod to the Pod become ready and being registered in K8s. Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"` }
InMemoryAPIServerBehaviour defines the behaviour of the APIServer hosted on the InMemoryMachine.
func (*InMemoryAPIServerBehaviour) DeepCopy ¶
func (in *InMemoryAPIServerBehaviour) DeepCopy() *InMemoryAPIServerBehaviour
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryAPIServerBehaviour.
func (*InMemoryAPIServerBehaviour) DeepCopyInto ¶
func (in *InMemoryAPIServerBehaviour) DeepCopyInto(out *InMemoryAPIServerBehaviour)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryCluster ¶
type InMemoryCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InMemoryClusterSpec `json:"spec,omitempty"` Status InMemoryClusterStatus `json:"status,omitempty"` }
InMemoryCluster is the schema for the in-memory cluster API.
func (*InMemoryCluster) DeepCopy ¶
func (in *InMemoryCluster) DeepCopy() *InMemoryCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryCluster.
func (*InMemoryCluster) DeepCopyInto ¶
func (in *InMemoryCluster) DeepCopyInto(out *InMemoryCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryCluster) DeepCopyObject ¶
func (in *InMemoryCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InMemoryCluster) Default ¶
func (c *InMemoryCluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryCluster) GetConditions ¶
func (c *InMemoryCluster) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*InMemoryCluster) SetConditions ¶
func (c *InMemoryCluster) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*InMemoryCluster) SetupWebhookWithManager ¶
func (c *InMemoryCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryCluster) ValidateCreate ¶
func (c *InMemoryCluster) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryCluster) ValidateDelete ¶
func (c *InMemoryCluster) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryCluster) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryClusterList ¶
type InMemoryClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InMemoryCluster `json:"items"` }
InMemoryClusterList contains a list of InMemoryCluster.
func (*InMemoryClusterList) DeepCopy ¶
func (in *InMemoryClusterList) DeepCopy() *InMemoryClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterList.
func (*InMemoryClusterList) DeepCopyInto ¶
func (in *InMemoryClusterList) DeepCopyInto(out *InMemoryClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryClusterList) DeepCopyObject ¶
func (in *InMemoryClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InMemoryClusterSpec ¶
type InMemoryClusterSpec struct { // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint"` }
InMemoryClusterSpec defines the desired state of the InMemoryCluster.
func (*InMemoryClusterSpec) DeepCopy ¶
func (in *InMemoryClusterSpec) DeepCopy() *InMemoryClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterSpec.
func (*InMemoryClusterSpec) DeepCopyInto ¶
func (in *InMemoryClusterSpec) DeepCopyInto(out *InMemoryClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryClusterStatus ¶
type InMemoryClusterStatus struct { // Ready denotes that the in-memory cluster (infrastructure) is ready. // +optional Ready bool `json:"ready"` // Conditions defines current service state of the InMemoryCluster. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
InMemoryClusterStatus defines the observed state of the InMemoryCluster.
func (*InMemoryClusterStatus) DeepCopy ¶
func (in *InMemoryClusterStatus) DeepCopy() *InMemoryClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterStatus.
func (*InMemoryClusterStatus) DeepCopyInto ¶
func (in *InMemoryClusterStatus) DeepCopyInto(out *InMemoryClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryClusterTemplate ¶
type InMemoryClusterTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InMemoryClusterTemplateSpec `json:"spec,omitempty"` }
InMemoryClusterTemplate is the Schema for the inmemoryclustertemplates API.
func (*InMemoryClusterTemplate) DeepCopy ¶
func (in *InMemoryClusterTemplate) DeepCopy() *InMemoryClusterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterTemplate.
func (*InMemoryClusterTemplate) DeepCopyInto ¶
func (in *InMemoryClusterTemplate) DeepCopyInto(out *InMemoryClusterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryClusterTemplate) DeepCopyObject ¶
func (in *InMemoryClusterTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InMemoryClusterTemplate) Default ¶
func (c *InMemoryClusterTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) SetupWebhookWithManager ¶
func (c *InMemoryClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryClusterTemplate) ValidateCreate ¶
func (c *InMemoryClusterTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) ValidateDelete ¶
func (c *InMemoryClusterTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryClusterTemplateList ¶
type InMemoryClusterTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InMemoryClusterTemplate `json:"items"` }
InMemoryClusterTemplateList contains a list of InMemoryClusterTemplate.
func (*InMemoryClusterTemplateList) DeepCopy ¶
func (in *InMemoryClusterTemplateList) DeepCopy() *InMemoryClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterTemplateList.
func (*InMemoryClusterTemplateList) DeepCopyInto ¶
func (in *InMemoryClusterTemplateList) DeepCopyInto(out *InMemoryClusterTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryClusterTemplateList) DeepCopyObject ¶
func (in *InMemoryClusterTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InMemoryClusterTemplateResource ¶
type InMemoryClusterTemplateResource 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 InMemoryClusterSpec `json:"spec"` }
InMemoryClusterTemplateResource describes the data needed to create a InMemoryCluster from a template.
func (*InMemoryClusterTemplateResource) DeepCopy ¶
func (in *InMemoryClusterTemplateResource) DeepCopy() *InMemoryClusterTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterTemplateResource.
func (*InMemoryClusterTemplateResource) DeepCopyInto ¶
func (in *InMemoryClusterTemplateResource) DeepCopyInto(out *InMemoryClusterTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryClusterTemplateSpec ¶
type InMemoryClusterTemplateSpec struct {
Template InMemoryClusterTemplateResource `json:"template"`
}
InMemoryClusterTemplateSpec defines the desired state of InMemoryClusterTemplate.
func (*InMemoryClusterTemplateSpec) DeepCopy ¶
func (in *InMemoryClusterTemplateSpec) DeepCopy() *InMemoryClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryClusterTemplateSpec.
func (*InMemoryClusterTemplateSpec) DeepCopyInto ¶
func (in *InMemoryClusterTemplateSpec) DeepCopyInto(out *InMemoryClusterTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryEtcdBehaviour ¶
type InMemoryEtcdBehaviour struct { // Provisioning defines variables influencing how the etcd member hosted on the InMemoryMachine is going to be provisioned. // NOTE: Etcd provisioning includes all the steps from starting the static Pod to the Pod become ready and being registered in K8s. Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"` }
InMemoryEtcdBehaviour defines the behaviour of the etcd member hosted on the InMemoryMachine.
func (*InMemoryEtcdBehaviour) DeepCopy ¶
func (in *InMemoryEtcdBehaviour) DeepCopy() *InMemoryEtcdBehaviour
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryEtcdBehaviour.
func (*InMemoryEtcdBehaviour) DeepCopyInto ¶
func (in *InMemoryEtcdBehaviour) DeepCopyInto(out *InMemoryEtcdBehaviour)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryMachine ¶
type InMemoryMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InMemoryMachineSpec `json:"spec,omitempty"` Status InMemoryMachineStatus `json:"status,omitempty"` }
InMemoryMachine is the schema for the in-memory machine API.
func (*InMemoryMachine) DeepCopy ¶
func (in *InMemoryMachine) DeepCopy() *InMemoryMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachine.
func (*InMemoryMachine) DeepCopyInto ¶
func (in *InMemoryMachine) DeepCopyInto(out *InMemoryMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryMachine) DeepCopyObject ¶
func (in *InMemoryMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InMemoryMachine) Default ¶
func (c *InMemoryMachine) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryMachine) GetConditions ¶
func (c *InMemoryMachine) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*InMemoryMachine) SetConditions ¶
func (c *InMemoryMachine) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*InMemoryMachine) SetupWebhookWithManager ¶
func (c *InMemoryMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryMachine) ValidateCreate ¶
func (c *InMemoryMachine) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachine) ValidateDelete ¶
func (c *InMemoryMachine) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachine) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryMachineBehaviour ¶
type InMemoryMachineBehaviour struct { // VM defines the behaviour of the VM implementing the InMemoryMachine. VM *InMemoryVMBehaviour `json:"vm,omitempty"` // Node defines the behaviour of the Node (the kubelet) hosted on the InMemoryMachine. Node *InMemoryNodeBehaviour `json:"node,omitempty"` // APIServer defines the behaviour of the APIServer hosted on the InMemoryMachine. APIServer *InMemoryAPIServerBehaviour `json:"apiServer,omitempty"` // Etcd defines the behaviour of the etcd member hosted on the InMemoryMachine. Etcd *InMemoryEtcdBehaviour `json:"etcd,omitempty"` }
InMemoryMachineBehaviour defines the behaviour of the InMemoryMachine.
func (*InMemoryMachineBehaviour) DeepCopy ¶
func (in *InMemoryMachineBehaviour) DeepCopy() *InMemoryMachineBehaviour
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineBehaviour.
func (*InMemoryMachineBehaviour) DeepCopyInto ¶
func (in *InMemoryMachineBehaviour) DeepCopyInto(out *InMemoryMachineBehaviour)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryMachineList ¶
type InMemoryMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InMemoryMachine `json:"items"` }
InMemoryMachineList contains a list of InMemoryMachine.
func (*InMemoryMachineList) DeepCopy ¶
func (in *InMemoryMachineList) DeepCopy() *InMemoryMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineList.
func (*InMemoryMachineList) DeepCopyInto ¶
func (in *InMemoryMachineList) DeepCopyInto(out *InMemoryMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryMachineList) DeepCopyObject ¶
func (in *InMemoryMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InMemoryMachineSpec ¶
type InMemoryMachineSpec struct { // ProviderID will be the container name in ProviderID format (in-memory:////<name>) // +optional ProviderID *string `json:"providerID,omitempty"` // Behaviour of the InMemoryMachine; this will allow to make a simulation more alike to real use cases // e.g. by defining the duration of the provisioning phase mimicking the performances of the target infrastructure. Behaviour *InMemoryMachineBehaviour `json:"behaviour,omitempty"` }
InMemoryMachineSpec defines the desired state of InMemoryMachine.
func (*InMemoryMachineSpec) DeepCopy ¶
func (in *InMemoryMachineSpec) DeepCopy() *InMemoryMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineSpec.
func (*InMemoryMachineSpec) DeepCopyInto ¶
func (in *InMemoryMachineSpec) DeepCopyInto(out *InMemoryMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryMachineStatus ¶
type InMemoryMachineStatus struct { // Ready denotes that the machine is ready // +optional Ready bool `json:"ready"` // Conditions defines current service state of the InMemoryMachine. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
InMemoryMachineStatus defines the observed state of InMemoryMachine.
func (*InMemoryMachineStatus) DeepCopy ¶
func (in *InMemoryMachineStatus) DeepCopy() *InMemoryMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineStatus.
func (*InMemoryMachineStatus) DeepCopyInto ¶
func (in *InMemoryMachineStatus) DeepCopyInto(out *InMemoryMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryMachineTemplate ¶
type InMemoryMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InMemoryMachineTemplateSpec `json:"spec,omitempty"` }
InMemoryMachineTemplate is the schema for the in-memory machine template API.
func (*InMemoryMachineTemplate) DeepCopy ¶
func (in *InMemoryMachineTemplate) DeepCopy() *InMemoryMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineTemplate.
func (*InMemoryMachineTemplate) DeepCopyInto ¶
func (in *InMemoryMachineTemplate) DeepCopyInto(out *InMemoryMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryMachineTemplate) DeepCopyObject ¶
func (in *InMemoryMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InMemoryMachineTemplate) Default ¶
func (c *InMemoryMachineTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) SetupWebhookWithManager ¶
func (c *InMemoryMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryMachineTemplate) ValidateCreate ¶
func (c *InMemoryMachineTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) ValidateDelete ¶
func (c *InMemoryMachineTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryMachineTemplateList ¶
type InMemoryMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []InMemoryMachineTemplate `json:"items"` }
InMemoryMachineTemplateList contains a list of InMemoryMachineTemplate.
func (*InMemoryMachineTemplateList) DeepCopy ¶
func (in *InMemoryMachineTemplateList) DeepCopy() *InMemoryMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineTemplateList.
func (*InMemoryMachineTemplateList) DeepCopyInto ¶
func (in *InMemoryMachineTemplateList) DeepCopyInto(out *InMemoryMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InMemoryMachineTemplateList) DeepCopyObject ¶
func (in *InMemoryMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InMemoryMachineTemplateResource ¶
type InMemoryMachineTemplateResource 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 is the specification of the desired behavior of the machine. Spec InMemoryMachineSpec `json:"spec"` }
InMemoryMachineTemplateResource describes the data needed to create a InMemoryMachine from a template.
func (*InMemoryMachineTemplateResource) DeepCopy ¶
func (in *InMemoryMachineTemplateResource) DeepCopy() *InMemoryMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineTemplateResource.
func (*InMemoryMachineTemplateResource) DeepCopyInto ¶
func (in *InMemoryMachineTemplateResource) DeepCopyInto(out *InMemoryMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryMachineTemplateSpec ¶
type InMemoryMachineTemplateSpec struct {
Template InMemoryMachineTemplateResource `json:"template"`
}
InMemoryMachineTemplateSpec defines the desired state of InMemoryMachineTemplate.
func (*InMemoryMachineTemplateSpec) DeepCopy ¶
func (in *InMemoryMachineTemplateSpec) DeepCopy() *InMemoryMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryMachineTemplateSpec.
func (*InMemoryMachineTemplateSpec) DeepCopyInto ¶
func (in *InMemoryMachineTemplateSpec) DeepCopyInto(out *InMemoryMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryNodeBehaviour ¶
type InMemoryNodeBehaviour struct { // Provisioning defines variables influencing how the Node (the kubelet) hosted on the InMemoryMachine is going to be provisioned. // NOTE: Node provisioning includes all the steps from starting kubelet to the node become ready, get a provider ID, and being registered in K8s. Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"` }
InMemoryNodeBehaviour defines the behaviour of the Node (the kubelet) hosted on the InMemoryMachine.
func (*InMemoryNodeBehaviour) DeepCopy ¶
func (in *InMemoryNodeBehaviour) DeepCopy() *InMemoryNodeBehaviour
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryNodeBehaviour.
func (*InMemoryNodeBehaviour) DeepCopyInto ¶
func (in *InMemoryNodeBehaviour) DeepCopyInto(out *InMemoryNodeBehaviour)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InMemoryVMBehaviour ¶
type InMemoryVMBehaviour struct { // Provisioning defines variables influencing how the VM implementing the InMemoryMachine is going to be provisioned. // NOTE: VM provisioning includes all the steps from creation to power-on. Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"` }
InMemoryVMBehaviour defines the behaviour of the VM implementing the InMemoryMachine.
func (*InMemoryVMBehaviour) DeepCopy ¶
func (in *InMemoryVMBehaviour) DeepCopy() *InMemoryVMBehaviour
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InMemoryVMBehaviour.
func (*InMemoryVMBehaviour) DeepCopyInto ¶
func (in *InMemoryVMBehaviour) DeepCopyInto(out *InMemoryVMBehaviour)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.