Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=livemigration.liqo.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "livemigration.liqo.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 LiveMigration ¶
type LiveMigration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LiveMigrationSpec `json:"spec,omitempty"` Status LiveMigrationStatus `json:"status,omitempty"` }
LiveMigration is the Schema for the livemigrations API
func (*LiveMigration) DeepCopy ¶
func (in *LiveMigration) DeepCopy() *LiveMigration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveMigration.
func (*LiveMigration) DeepCopyInto ¶
func (in *LiveMigration) DeepCopyInto(out *LiveMigration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LiveMigration) DeepCopyObject ¶
func (in *LiveMigration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LiveMigrationList ¶
type LiveMigrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LiveMigration `json:"items"` }
LiveMigrationList contains a list of LiveMigration
func (*LiveMigrationList) DeepCopy ¶
func (in *LiveMigrationList) DeepCopy() *LiveMigrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveMigrationList.
func (*LiveMigrationList) DeepCopyInto ¶
func (in *LiveMigrationList) DeepCopyInto(out *LiveMigrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LiveMigrationList) DeepCopyObject ¶
func (in *LiveMigrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LiveMigrationSpec ¶
type LiveMigrationSpec struct { // Number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. // +optional Replicas int `json:"replicas,omitempty"` SourcePod string `json:"sourcePod,omitempty"` DestHost string `json:"destHost,omitempty"` SnapshotPath string `json:"snapshotPath,omitempty"` // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // It must match the pod template's labels. Selector *metav1.LabelSelector `json:"selector"` Template corev1.PodTemplateSpec `json:"template,omitempty"` // Template describes the pods that will be created. // +kubebuilder:validation:Required Action string `json:"action"` }
LiveMigrationSpec defines the desired state of LiveMigration
func (*LiveMigrationSpec) DeepCopy ¶
func (in *LiveMigrationSpec) DeepCopy() *LiveMigrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveMigrationSpec.
func (*LiveMigrationSpec) DeepCopyInto ¶
func (in *LiveMigrationSpec) DeepCopyInto(out *LiveMigrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LiveMigrationStatus ¶
type LiveMigrationStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // State indicates the state of the MigratingPod State string `json:"state"` // CurrentRevision indicates the version of the MigratingPod to generate the current Pod CurrentRevision string `json:"currentRevision"` // ActivePod ActivePod string `json:"activePod"` }
LiveMigrationStatus defines the observed state of LiveMigration
func (*LiveMigrationStatus) DeepCopy ¶
func (in *LiveMigrationStatus) DeepCopy() *LiveMigrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveMigrationStatus.
func (*LiveMigrationStatus) DeepCopyInto ¶
func (in *LiveMigrationStatus) DeepCopyInto(out *LiveMigrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.