v1alpha1

package
v0.0.0-...-44e52ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.liquid-metal.io

Index

Constants

View Source
const (
	// MicrovmReadyCondition indicates that the microvm is in a running state.
	MicrovmReadyCondition clusterv1.ConditionType = "MicrovmReady"

	// MicrovmProvisionFailedReason indicates that the microvm failed to provision.
	MicrovmProvisionFailedReason = "MicrovmProvisionFailed"

	// MicrovmPendingReason indicates the microvm is in a pending state.
	MicrovmPendingReason = "MicrovmPending"

	// MicrovmDeletingReason indicates the microvm is in a deleted state.
	MicrovmDeletingReason = "MicrovmDeleting"

	// MicrovmDeletedFailedReason indicates the microvm failed to deleted cleanly.
	MicrovmDeleteFailedReason = "MicrovmDeleteFailed"

	// MicrovmUnknownStateReason indicates that the microvm in in an unknown or unsupported state
	// for reconciliation.
	MicrovmUnknownStateReason = "MicrovmUnknownState"

	// MicrovmReplicaSetReadyCondition indicates that the microvmreplicaset is in a complete state.
	MicrovmReplicaSetReadyCondition clusterv1.ConditionType = "MicrovmReplicaSetReady"

	// MicrovmReplicaSetIncompleteReason indicates the microvmreplicaset does not have all replicas yet.
	MicrovmReplicaSetIncompleteReason = "MicrovmReplicaSetIncomplete"

	// MicrovmReplicaSetProvisionFailedReason indicates that the microvm failed to provision.
	MicrovmReplicaSetProvisionFailedReason = "MicrovmReplicaSetProvisionFailed"

	// MicrovmReplicaSetDeletingReason indicates the microvmreplicaset is in a deleted state.
	MicrovmReplicaSetDeletingReason = "MicrovmReplicaSetDeleting"

	// MicrovmReplicaSetDeletedFailedReason indicates the microvmreplicaset failed to deleted cleanly.
	MicrovmReplicaSetDeleteFailedReason = "MicrovmReplicaSetDeleteFailed"

	// MicrovmReplicaSetUpdatingReason indicates the microvm is in a pending state.
	MicrovmReplicaSetUpdatingReason = "MicrovmReplicaSetUpdating"

	// MicrovmDeploymentReadyCondition indicates that the microvmreplicaset is in a complete state.
	MicrovmDeploymentReadyCondition clusterv1.ConditionType = "MicrovmDeploymentReady"

	// MicrovmDeploymentIncompleteReason indicates the microvmreplicaset does not have all replicas yet.
	MicrovmDeploymentIncompleteReason = "MicrovmDeploymentIncomplete"

	// MicrovmDeploymentProvisionFailedReason indicates that the microvm deployment failed to provision.
	MicrovmDeploymentProvisionFailedReason = "MicrovmDeploymentProvisionFailed"

	// MicrovmDeploymentUpdatingReason indicates the microvm deployment is in a pending state.
	MicrovmDeploymentUpdatingReason = "MicrovmDeploymentUpdating"

	// MicrovmDeploymentUpdateFailed indicates the microvm deployment is in a pending state.
	MicrovmDeploymentUpdateFailedReason = "MicrovmDeploymentUpdateFailed"

	// MicrovmDeploymentDeletingReason indicates the microvmreplicaset is in a deleted state.
	MicrovmDeploymentDeletingReason = "MicrovmDeploymentDeleting"

	// MicrovmDeploymentDeleteFailedReason indicates the microvmreplicaset failed to deleted cleanly.
	MicrovmDeploymentDeleteFailedReason = "MicrovmDeploymentDeleteFailed"
)
View Source
const (
	// MvDeploymentSFinalizer allows ReconcileMicrovmDeployment to clean up resources associated with the Deployment
	// before removing it from the apiserver.
	MvmDeploymentFinalizer = "microvmdeployment.infrastructure.microvm.x-k8s.io"
)
View Source
const (
	// MvmFinalizer allows ReconcileMicrovm to clean up resources associated with Microvm
	// before removing it from the apiserver.
	MvmFinalizer = "microvm.infrastructure.microvm.x-k8s.io"
)
View Source
const (
	// MvmRSFinalizer allows ReconcileMicrovmReplicaSet to clean up resources associated with the ReplicaSet
	// before removing it from the apiserver.
	MvmRSFinalizer = "microvmreplicaset.infrastructure.microvm.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infrastructure.liquid-metal.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 HostMap

type HostMap map[string]struct{}

func (HostMap) DeepCopy

func (in HostMap) DeepCopy() HostMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostMap.

func (HostMap) DeepCopyInto

func (in HostMap) DeepCopyInto(out *HostMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Microvm

type Microvm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MicrovmSpec   `json:"spec,omitempty"`
	Status MicrovmStatus `json:"status,omitempty"`
}

Microvm is the Schema for the microvms API

func (*Microvm) DeepCopy

func (in *Microvm) DeepCopy() *Microvm

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Microvm.

func (*Microvm) DeepCopyInto

func (in *Microvm) DeepCopyInto(out *Microvm)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Microvm) DeepCopyObject

func (in *Microvm) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Microvm) GetConditions

func (r *Microvm) GetConditions() clusterv1.Conditions

GetConditions returns the observations of the operational state of the MicrovmMachine resource.

func (*Microvm) SetConditions

func (r *Microvm) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the underlying service state of the MicrovmMachine to the predescribed clusterv1.Conditions.

type MicrovmDeployment

type MicrovmDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MicrovmDeploymentSpec   `json:"spec,omitempty"`
	Status MicrovmDeploymentStatus `json:"status,omitempty"`
}

MicrovmDeployment is the Schema for the microvmdeployments API

func (*MicrovmDeployment) DeepCopy

func (in *MicrovmDeployment) DeepCopy() *MicrovmDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmDeployment.

func (*MicrovmDeployment) DeepCopyInto

func (in *MicrovmDeployment) DeepCopyInto(out *MicrovmDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmDeployment) DeepCopyObject

func (in *MicrovmDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MicrovmDeployment) GetConditions

func (r *MicrovmDeployment) GetConditions() clusterv1.Conditions

GetConditions returns the observations of the operational state of the MicrovmMachine resource.

func (*MicrovmDeployment) SetConditions

func (r *MicrovmDeployment) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the underlying service state of the MicrovmMachine to the predescribed clusterv1.Conditions.

type MicrovmDeploymentList

type MicrovmDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MicrovmDeployment `json:"items"`
}

MicrovmDeploymentList contains a list of MicrovmDeployment

func (*MicrovmDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmDeploymentList.

func (*MicrovmDeploymentList) DeepCopyInto

func (in *MicrovmDeploymentList) DeepCopyInto(out *MicrovmDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmDeploymentList) DeepCopyObject

func (in *MicrovmDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MicrovmDeploymentSpec

type MicrovmDeploymentSpec struct {
	// Replicas is the number of Microvms to create on the given Host with the given
	// Microvm spec
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// Host sets the host device address for Microvm creation.
	// +kubebuilder:validation:Required
	Hosts []microvm.Host `json:"hosts,omitempty"`
	// Template is the object that describes the Microvm that will be created if
	// insufficient replicas are detected.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	// +optional
	Template MicrovmTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
}

MicrovmDeploymentSpec defines the desired state of MicrovmDeployment

func (*MicrovmDeploymentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmDeploymentSpec.

func (*MicrovmDeploymentSpec) DeepCopyInto

func (in *MicrovmDeploymentSpec) DeepCopyInto(out *MicrovmDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmDeploymentStatus

type MicrovmDeploymentStatus struct {
	// Ready is true when all Replicas report ready
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// Replicas is the most recently observed number of replicas which have been created.
	// +optional
	Replicas int32 `json:"replicas"`

	// ReadyReplicas is the number of microvms controlled by this Deployment with a Ready Condition.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Represents the latest available observations of a deployments's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

MicrovmDeploymentStatus defines the observed state of MicrovmDeployment

func (*MicrovmDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmDeploymentStatus.

func (*MicrovmDeploymentStatus) DeepCopyInto

func (in *MicrovmDeploymentStatus) DeepCopyInto(out *MicrovmDeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmList

type MicrovmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Microvm `json:"items"`
}

MicrovmList contains a list of Microvm

func (*MicrovmList) DeepCopy

func (in *MicrovmList) DeepCopy() *MicrovmList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmList.

func (*MicrovmList) DeepCopyInto

func (in *MicrovmList) DeepCopyInto(out *MicrovmList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmList) DeepCopyObject

func (in *MicrovmList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MicrovmReplicaSet

type MicrovmReplicaSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MicrovmReplicaSetSpec   `json:"spec,omitempty"`
	Status MicrovmReplicaSetStatus `json:"status,omitempty"`
}

MicrovmReplicaSet is the Schema for the microvmreplicasets API

func (*MicrovmReplicaSet) DeepCopy

func (in *MicrovmReplicaSet) DeepCopy() *MicrovmReplicaSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmReplicaSet.

func (*MicrovmReplicaSet) DeepCopyInto

func (in *MicrovmReplicaSet) DeepCopyInto(out *MicrovmReplicaSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmReplicaSet) DeepCopyObject

func (in *MicrovmReplicaSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MicrovmReplicaSet) GetConditions

func (r *MicrovmReplicaSet) GetConditions() clusterv1.Conditions

GetConditions returns the observations of the operational state of the MicrovmMachine resource.

func (*MicrovmReplicaSet) SetConditions

func (r *MicrovmReplicaSet) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the underlying service state of the MicrovmMachine to the predescribed clusterv1.Conditions.

type MicrovmReplicaSetList

type MicrovmReplicaSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MicrovmReplicaSet `json:"items"`
}

MicrovmReplicaSetList contains a list of MicrovmReplicaSet

func (*MicrovmReplicaSetList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmReplicaSetList.

func (*MicrovmReplicaSetList) DeepCopyInto

func (in *MicrovmReplicaSetList) DeepCopyInto(out *MicrovmReplicaSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmReplicaSetList) DeepCopyObject

func (in *MicrovmReplicaSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MicrovmReplicaSetSpec

type MicrovmReplicaSetSpec struct {
	// Replicas is the number of Microvms to create on the given Host with the given
	// Microvm spec
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// Host sets the host device address for Microvm creation.
	// +kubebuilder:validation:Required
	Host microvm.Host `json:"host,omitempty"`
	// Template is the object that describes the Microvm that will be created if
	// insufficient replicas are detected.
	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
	// +optional
	Template MicrovmTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
}

MicrovmReplicaSetSpec defines the desired state of MicrovmReplicaSet

func (*MicrovmReplicaSetSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmReplicaSetSpec.

func (*MicrovmReplicaSetSpec) DeepCopyInto

func (in *MicrovmReplicaSetSpec) DeepCopyInto(out *MicrovmReplicaSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmReplicaSetStatus

type MicrovmReplicaSetStatus struct {
	// Ready is true when Replicas is Equal to ReadyReplicas.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// Replicas is the most recently observed number of replicas which have been created.
	// +optional
	Replicas int32 `json:"replicas"`

	// ReadyReplicas is the number of microvms targeted by this ReplicaSet with a Ready Condition.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Represents the latest available observations of a replica set's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

MicrovmReplicaSetStatus defines the observed state of MicrovmReplicaSet

func (*MicrovmReplicaSetStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmReplicaSetStatus.

func (*MicrovmReplicaSetStatus) DeepCopyInto

func (in *MicrovmReplicaSetStatus) DeepCopyInto(out *MicrovmReplicaSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmSpec

type MicrovmSpec struct {
	// Host sets the host device address for Microvm creation.
	// +optional
	Host microvm.Host `json:"host,omitempty"`
	// VMSpec contains the Microvm spec.
	// +kubebuilder:validation:Required
	microvm.VMSpec `json:",inline"`
	// UserData is additional userdata script to execute in the Microvm's cloud init.
	// This can be in the form of a raw shell script, eg:
	// userdata: |
	//   #!/bin/bash
	//   echo "hi from my microvm"
	//
	// or in valid cloud-config, eg:
	// userdata: |
	// 	#cloud-config
	// 	write_files:
	// 	- content: "hello"
	// 		path: "/root/FINDME"
	// 		owner: "root:root"
	// 		permissions: "0755"
	// +optional
	UserData *string `json:"userdata,omitempty"`
	// SSHPublicKeys is list of SSH public keys which will be added to the Microvm.
	// +optional
	SSHPublicKeys []microvm.SSHPublicKey `json:"sshPublicKeys,omitempty"`
	// TODO this needs to go and be pulled off the owning object
	// probably needs to be part of Hosts once that becomes an array
	// mTLS Configuration:
	//
	// It is recommended that each flintlock host is configured with its own cert
	// signed by a common CA, and set to use mTLS.
	// The flintlock-operator should be provided with the CA, and a client cert and key
	// signed by that CA.
	// TLSSecretRef is a reference to the name of a secret which contains TLS cert information
	// for connecting to Flintlock hosts.
	// The secret should be created in the same namespace as the MicroVMCluster.
	// The secret should be of type Opaque
	// with the addition of a ca.crt key.
	//
	// apiVersion: v1
	// kind: Secret
	// metadata:
	// 	name: secret-tls
	// 	namespace: default  <- same as Cluster
	// type: Opaque
	// data:
	// 	tls.crt: |
	// 		-----BEGIN CERTIFICATE-----
	// 		MIIC2DCCAcCgAwIBAgIBATANBgkqh ...
	// 		-----END CERTIFICATE-----
	// 	tls.key: |
	// 		-----BEGIN EC PRIVATE KEY-----
	// 		MIIEpgIBAAKCAQEA7yn3bRHQ5FHMQ ...
	// 		-----END EC PRIVATE KEY-----
	// 	ca.crt: |
	// 		-----BEGIN CERTIFICATE-----
	// 		MIIEpgIBAAKCAQEA7yn3bRHQ5FHMQ ...
	// 		-----END CERTIFICATE-----
	// +optional
	TLSSecretRef string `json:"tlsSecretRef,omitempty"`
	// TODO this needs to go and be pulled off the owning object
	// probably needs to be part of Hosts once that becomes an array
	// BasicAuthSecret is the name of the secret containing basic auth info for the host
	// The secret should be created in the same namespace as the MicroVM.
	//
	// apiVersion: v1
	// kind: Secret
	// metadata:
	//  name: mybasicauthsecret
	//  namespace: same-as-microvm
	// type: Opaque
	// data:
	//  token: YWRtaW4=
	BasicAuthSecret string `json:"basicAuthSecret,omitempty"`
	// ProviderID is the unique identifier as specified by the cloud provider.
	// Do not supply this field as a user.
	ProviderID *string `json:"providerID,omitempty"`
	// MicrovmProxy is the proxy server details to use when calling the microvm service. This is an
	// alternative to using the http proxy environment variables and applied purely to the grpc service.
	MicrovmProxy *flclient.Proxy `json:"microvmProxy,omitempty"`
}

MicrovmSpec defines the desired state of Microvm

func (*MicrovmSpec) DeepCopy

func (in *MicrovmSpec) DeepCopy() *MicrovmSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmSpec.

func (*MicrovmSpec) DeepCopyInto

func (in *MicrovmSpec) DeepCopyInto(out *MicrovmSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmStatus

type MicrovmStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	// +kubebuilder:default=false
	Ready bool `json:"ready"`

	// VMState indicates the state of the microvm.
	VMState *microvm.VMState `json:"vmState,omitempty"`

	// FailureReason will be set in the event that there is a terminal problem
	// reconciling the Microvm 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 Microvm'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 Microvm
	// can be added as events to the Microvm 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 Microvm 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 Microvm'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 Microvm
	// can be added as events to the Microvm object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`
	// Conditions defines current service state of the Microvm.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

MicrovmStatus defines the observed state of Microvm

func (*MicrovmStatus) DeepCopy

func (in *MicrovmStatus) DeepCopy() *MicrovmStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmStatus.

func (*MicrovmStatus) DeepCopyInto

func (in *MicrovmStatus) DeepCopyInto(out *MicrovmStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MicrovmTemplate

type MicrovmTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Template defines the Microvm that will be created from this pod template.
	// +optional
	Template MicrovmTemplateSpec `json:"template,omitempty"`
}

MicrovmTemplate is the Schema for the microvmtemplates API

func (*MicrovmTemplate) DeepCopy

func (in *MicrovmTemplate) DeepCopy() *MicrovmTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmTemplate.

func (*MicrovmTemplate) DeepCopyInto

func (in *MicrovmTemplate) DeepCopyInto(out *MicrovmTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmTemplate) DeepCopyObject

func (in *MicrovmTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MicrovmTemplateList

type MicrovmTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MicrovmTemplate `json:"items"`
}

MicrovmTemplateList contains a list of MicrovmTemplate

func (*MicrovmTemplateList) DeepCopy

func (in *MicrovmTemplateList) DeepCopy() *MicrovmTemplateList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmTemplateList.

func (*MicrovmTemplateList) DeepCopyInto

func (in *MicrovmTemplateList) DeepCopyInto(out *MicrovmTemplateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MicrovmTemplateList) DeepCopyObject

func (in *MicrovmTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MicrovmTemplateSpec

type MicrovmTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the Microvm.
	// +optional
	Spec MicrovmSpec `json:"spec,omitempty"`
}

MicrovmTemplateSpec defines the desired state of MicrovmTemplate

func (*MicrovmTemplateSpec) DeepCopy

func (in *MicrovmTemplateSpec) DeepCopy() *MicrovmTemplateSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrovmTemplateSpec.

func (*MicrovmTemplateSpec) DeepCopyInto

func (in *MicrovmTemplateSpec) DeepCopyInto(out *MicrovmTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL