v1alpha1

package
v0.0.0-...-ea18efd Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kvm v1alpha1 API group +kubebuilder:object:generate=true +groupName=kvm.cloud.sap

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kvm.cloud.sap", 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 Migration

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

	Spec   MigrationSpec   `json:"spec"`
	Status MigrationStatus `json:"status"`
}

Migration is the Schema for the migrations API.

func (*Migration) DeepCopy

func (in *Migration) DeepCopy() *Migration

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

func (*Migration) DeepCopyInto

func (in *Migration) DeepCopyInto(out *Migration)

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

func (*Migration) DeepCopyObject

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

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

type MigrationList

type MigrationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Migration `json:"items"`
}

MigrationList contains a list of Migration.

func (*MigrationList) DeepCopy

func (in *MigrationList) DeepCopy() *MigrationList

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

func (*MigrationList) DeepCopyInto

func (in *MigrationList) DeepCopyInto(out *MigrationList)

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

func (*MigrationList) DeepCopyObject

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

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

type MigrationSpec

type MigrationSpec struct {
}

MigrationSpec defines the desired state of Migration.

func (*MigrationSpec) DeepCopy

func (in *MigrationSpec) DeepCopy() *MigrationSpec

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

func (*MigrationSpec) DeepCopyInto

func (in *MigrationSpec) DeepCopyInto(out *MigrationSpec)

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

type MigrationStatus

type MigrationStatus struct {
	Origin               string      `json:"origin,omitempty"`
	Destination          string      `json:"destination,omitempty"`
	Type                 string      `json:"type,omitempty"`
	Started              metav1.Time `json:"started"`
	ErrMsg               string      `json:"errMsg,omitempty"`
	AutoConvergeThrottle string      `json:"autoConvergeThrottle,omitempty"`
	DiskBps              string      `json:"diskBps,omitempty"`
	DiskRemaining        string      `json:"diskRemaining,omitempty"`
	DiskProcessed        string      `json:"diskProcessed,omitempty"`
	DiskTotal            string      `json:"diskTotal,omitempty"`
	MemPostcopyRequests  uint64      `json:"memPostcopyRequests,omitempty"`
	MemIteration         uint64      `json:"memIteration,omitempty"`
	MemPageSize          string      `json:"memPageSize,omitempty"`
	MemDirtyRate         string      `json:"memDirtyRate,omitempty"`
	MemBps               string      `json:"memBps,omitempty"`
	MemNormalBytes       string      `json:"memNormalBytes,omitempty"`
	MemNormal            uint64      `json:"memNormal,omitempty"`
	MemConstant          uint64      `json:"memConstant,omitempty"`
	MemRemaining         string      `json:"memRemaining,omitempty"`
	MemProcessed         string      `json:"memProcessed,omitempty"`
	MemTotal             string      `json:"memTotal,omitempty"`
	DataRemaining        string      `json:"dataRemaining,omitempty"`
	DataProcessed        string      `json:"dataProcessed,omitempty"`
	DataTotal            string      `json:"dataTotal,omitempty"`
	SetupTime            string      `json:"setupTime,omitempty"`
	TimeElapsed          string      `json:"timeElapsed,omitempty"`
	TimeRemaining        string      `json:"timeRemaining,omitempty"`
	Downtime             string      `json:"downtime,omitempty"`
	Operation            string      `json:"operation,omitempty"`
}

MigrationStatus defines the observed state of Migration.

func (*MigrationStatus) DeepCopy

func (in *MigrationStatus) DeepCopy() *MigrationStatus

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

func (*MigrationStatus) DeepCopyInto

func (in *MigrationStatus) DeepCopyInto(out *MigrationStatus)

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