v1beta1

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=harvesterhci.io +k8s:openapi-gen=true

+k8s:deepcopy-gen=package +groupName=harvesterhci.io

+k8s:deepcopy-gen=package +groupName=harvesterhci.io

Index

Constants

View Source
const (
	// BackupConditionReady is the "ready" condition type
	BackupConditionReady condition.Cond = "Ready"

	// ConditionProgressing is the "progressing" condition type
	BackupConditionProgressing condition.Cond = "InProgress"
)
View Source
const (
	VirtualMachineImageSourceTypeDownload     = "download"
	VirtualMachineImageSourceTypeUpload       = "upload"
	VirtualMachineImageSourceTypeExportVolume = "export-from-volume"
)

Variables

View Source
var (
	ImageInitialized condition.Cond = "Initialized"
	ImageImported    condition.Cond = "Imported"
)
View Source
var (
	UpgradeCompleted condition.Cond = "Completed"
	// ImageReady is true when upgrade image is downloaded
	ImageReady condition.Cond = "ImageReady"
	// RepoProvisioned is true when upgrade repo is provisioned
	RepoProvisioned condition.Cond = "RepoReady"
	// NodesPrepared is true when all nodes are prepared
	NodesPrepared condition.Cond = "NodesPrepared"
	// NodesUpgraded is true when all nodes are upgraded
	NodesUpgraded condition.Cond = "NodesUpgraded"
	// SystemServicesUpgraded is true when Harvester chart is upgraded
	SystemServicesUpgraded condition.Cond = "SystemServicesUpgraded"
)
View Source
var (
	KeyPairResourceName                       = "keypairs"
	PreferenceResourceName                    = "preferences"
	SettingResourceName                       = "settings"
	SupportBundleResourceName                 = "supportbundles"
	UpgradeResourceName                       = "upgrades"
	VersionResourceName                       = "versions"
	VirtualMachineBackupResourceName          = "virtualmachinebackups"
	VirtualMachineImageResourceName           = "virtualmachineimages"
	VirtualMachineRestoreResourceName         = "virtualmachinerestores"
	VirtualMachineTemplateResourceName        = "virtualmachinetemplates"
	VirtualMachineTemplateVersionResourceName = "virtualmachinetemplateversions"
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	KeyPairValidated condition.Cond = "validated"
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: harvesterhci.GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

View Source
var (
	SettingConfigured condition.Cond = "configured"
)
View Source
var (
	SupportBundleInitialized condition.Cond = "Initialized"
)
View Source
var (
	VersionAssigned condition.Cond = "assigned" // version number was assigned to templateVersion object's status.Version
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BackupTarget

type BackupTarget struct {
	Endpoint     string `json:"endpoint,omitempty"`
	BucketName   string `json:"bucketName,omitempty"`
	BucketRegion string `json:"bucketRegion,omitempty"`
}

BackupTarget is where VM Backup stores

func (*BackupTarget) DeepCopy

func (in *BackupTarget) DeepCopy() *BackupTarget

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

func (*BackupTarget) DeepCopyInto

func (in *BackupTarget) DeepCopyInto(out *BackupTarget)

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

type Condition

type Condition struct {
	// Type of the condition.
	Type condition.Cond `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status"`
	// The last time this condition was updated.
	LastUpdateTime string `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// Human-readable message indicating details about last transition
	Message string `json:"message,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type DeletionPolicy

type DeletionPolicy string

DeletionPolicy defines that to do with resources when VirtualMachineRestore is deleted

const (
	// VirtualMachineRestoreDelete is the default and causes the
	// VirtualMachineRestore deleted resources like PVC to be deleted
	VirtualMachineRestoreDelete DeletionPolicy = "delete"

	// VirtualMachineRestoreRetain causes the VirtualMachineRestore deleted resources like PVC to be retained
	VirtualMachineRestoreRetain DeletionPolicy = "retain"
)

type Error

type Error struct {
	// +optional
	Time *metav1.Time `json:"time,omitempty"`

	// +optional
	Message *string `json:"message,omitempty"`
}

Error is the last error encountered during the snapshot/restore

func (*Error) DeepCopy

func (in *Error) DeepCopy() *Error

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

func (*Error) DeepCopyInto

func (in *Error) DeepCopyInto(out *Error)

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

type ErrorResponse

type ErrorResponse struct {
	// Errors happened during request.
	Errors []string `json:"errors,omitempty"`
}

func (*ErrorResponse) DeepCopy

func (in *ErrorResponse) DeepCopy() *ErrorResponse

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

func (*ErrorResponse) DeepCopyInto

func (in *ErrorResponse) DeepCopyInto(out *ErrorResponse)

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

type KeyGenInput

type KeyGenInput struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*KeyGenInput) DeepCopy

func (in *KeyGenInput) DeepCopy() *KeyGenInput

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

func (*KeyGenInput) DeepCopyInto

func (in *KeyGenInput) DeepCopyInto(out *KeyGenInput)

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

type KeyPair

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

	Spec   KeyPairSpec   `json:"spec"`
	Status KeyPairStatus `json:"status,omitempty"`
}

func NewKeyPair

func NewKeyPair(namespace, name string, obj KeyPair) *KeyPair

func (*KeyPair) DeepCopy

func (in *KeyPair) DeepCopy() *KeyPair

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

func (*KeyPair) DeepCopyInto

func (in *KeyPair) DeepCopyInto(out *KeyPair)

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

func (*KeyPair) DeepCopyObject

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

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

type KeyPairList

type KeyPairList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []KeyPair `json:"items"`
}

KeyPairList is a list of KeyPair resources

func (*KeyPairList) DeepCopy

func (in *KeyPairList) DeepCopy() *KeyPairList

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

func (*KeyPairList) DeepCopyInto

func (in *KeyPairList) DeepCopyInto(out *KeyPairList)

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

func (*KeyPairList) DeepCopyObject

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

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

type KeyPairSpec

type KeyPairSpec struct {
	// +kubebuilder:validation:Required
	PublicKey string `json:"publicKey"`
}

func (*KeyPairSpec) DeepCopy

func (in *KeyPairSpec) DeepCopy() *KeyPairSpec

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

func (*KeyPairSpec) DeepCopyInto

func (in *KeyPairSpec) DeepCopyInto(out *KeyPairSpec)

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

type KeyPairStatus

type KeyPairStatus struct {
	// +optional
	FingerPrint string `json:"fingerPrint,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*KeyPairStatus) DeepCopy

func (in *KeyPairStatus) DeepCopy() *KeyPairStatus

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

func (*KeyPairStatus) DeepCopyInto

func (in *KeyPairStatus) DeepCopyInto(out *KeyPairStatus)

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

type NodeUpgradeStatus

type NodeUpgradeStatus struct {
	State   string `json:"state,omitempty"`
	Reason  string `json:"reason,omitempty"`
	Message string `json:"message,omitempty"`
}

func (*NodeUpgradeStatus) DeepCopy

func (in *NodeUpgradeStatus) DeepCopy() *NodeUpgradeStatus

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

func (*NodeUpgradeStatus) DeepCopyInto

func (in *NodeUpgradeStatus) DeepCopyInto(out *NodeUpgradeStatus)

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

type PersistentVolumeClaimSourceSpec

type PersistentVolumeClaimSourceSpec struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	// +optional
	ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec corev1.PersistentVolumeClaimSpec `json:"spec,omitempty"`
}

func (*PersistentVolumeClaimSourceSpec) DeepCopy

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

func (*PersistentVolumeClaimSourceSpec) DeepCopyInto

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

type Preference

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

	// +kubebuilder:validation:Required
	Value string `json:"value"`
}

func NewPreference

func NewPreference(namespace, name string, obj Preference) *Preference

func (*Preference) DeepCopy

func (in *Preference) DeepCopy() *Preference

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

func (*Preference) DeepCopyInto

func (in *Preference) DeepCopyInto(out *Preference)

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

func (*Preference) DeepCopyObject

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

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

type PreferenceList

type PreferenceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Preference `json:"items"`
}

PreferenceList is a list of Preference resources

func (*PreferenceList) DeepCopy

func (in *PreferenceList) DeepCopy() *PreferenceList

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

func (*PreferenceList) DeepCopyInto

func (in *PreferenceList) DeepCopyInto(out *PreferenceList)

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

func (*PreferenceList) DeepCopyObject

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

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

type SecretBackup

type SecretBackup struct {
	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty"`

	// +optional
	Data map[string][]byte `json:"data,omitempty"`
}

SecretBackup contains the secret data need to restore a secret referenced by the VM

func (*SecretBackup) DeepCopy

func (in *SecretBackup) DeepCopy() *SecretBackup

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

func (*SecretBackup) DeepCopyInto

func (in *SecretBackup) DeepCopyInto(out *SecretBackup)

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

type Setting

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

	// +optional
	Value string `json:"value,omitempty"`

	// +optional
	Default string `json:"default,omitempty"`

	// +optional
	Customized bool `json:"customized,omitempty"`

	// +optional
	Source string `json:"source,omitempty"`

	Status SettingStatus `json:"status,omitempty"`
}

func NewSetting

func NewSetting(namespace, name string, obj Setting) *Setting

func (*Setting) DeepCopy

func (in *Setting) DeepCopy() *Setting

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

func (*Setting) DeepCopyInto

func (in *Setting) DeepCopyInto(out *Setting)

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

func (*Setting) DeepCopyObject

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

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

type SettingList

type SettingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Setting `json:"items"`
}

SettingList is a list of Setting resources

func (*SettingList) DeepCopy

func (in *SettingList) DeepCopy() *SettingList

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

func (*SettingList) DeepCopyInto

func (in *SettingList) DeepCopyInto(out *SettingList)

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

func (*SettingList) DeepCopyObject

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

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

type SettingStatus

type SettingStatus struct {
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*SettingStatus) DeepCopy

func (in *SettingStatus) DeepCopy() *SettingStatus

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

func (*SettingStatus) DeepCopyInto

func (in *SettingStatus) DeepCopyInto(out *SettingStatus)

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

type SupportBundle

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

	Spec   SupportBundleSpec   `json:"spec"`
	Status SupportBundleStatus `json:"status,omitempty"`
}

func NewSupportBundle

func NewSupportBundle(namespace, name string, obj SupportBundle) *SupportBundle

func (*SupportBundle) DeepCopy

func (in *SupportBundle) DeepCopy() *SupportBundle

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

func (*SupportBundle) DeepCopyInto

func (in *SupportBundle) DeepCopyInto(out *SupportBundle)

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

func (*SupportBundle) DeepCopyObject

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

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

type SupportBundleList

type SupportBundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []SupportBundle `json:"items"`
}

SupportBundleList is a list of SupportBundle resources

func (*SupportBundleList) DeepCopy

func (in *SupportBundleList) DeepCopy() *SupportBundleList

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

func (*SupportBundleList) DeepCopyInto

func (in *SupportBundleList) DeepCopyInto(out *SupportBundleList)

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

func (*SupportBundleList) DeepCopyObject

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

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

type SupportBundleSpec

type SupportBundleSpec struct {
	// +optional
	IssueURL string `json:"issueURL"`

	// +kubebuilder:validation:Required
	Description string `json:"description"`
}

func (*SupportBundleSpec) DeepCopy

func (in *SupportBundleSpec) DeepCopy() *SupportBundleSpec

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

func (*SupportBundleSpec) DeepCopyInto

func (in *SupportBundleSpec) DeepCopyInto(out *SupportBundleSpec)

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

type SupportBundleStatus

type SupportBundleStatus struct {
	// +optional
	State string `json:"state,omitempty"`

	// +optional
	Progress int `json:"progress,omitempty"`

	// +optional
	Filename string `json:"filename,omitempty"`

	// +optional
	Filesize int64 `json:"filesize,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*SupportBundleStatus) DeepCopy

func (in *SupportBundleStatus) DeepCopy() *SupportBundleStatus

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

func (*SupportBundleStatus) DeepCopyInto

func (in *SupportBundleStatus) DeepCopyInto(out *SupportBundleStatus)

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

type Upgrade

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

	Spec   UpgradeSpec   `json:"spec"`
	Status UpgradeStatus `json:"status,omitempty"`
}

func NewUpgrade

func NewUpgrade(namespace, name string, obj Upgrade) *Upgrade

func (*Upgrade) DeepCopy

func (in *Upgrade) DeepCopy() *Upgrade

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

func (*Upgrade) DeepCopyInto

func (in *Upgrade) DeepCopyInto(out *Upgrade)

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

func (*Upgrade) DeepCopyObject

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

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

type UpgradeList

type UpgradeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Upgrade `json:"items"`
}

UpgradeList is a list of Upgrade resources

func (*UpgradeList) DeepCopy

func (in *UpgradeList) DeepCopy() *UpgradeList

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

func (*UpgradeList) DeepCopyInto

func (in *UpgradeList) DeepCopyInto(out *UpgradeList)

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

func (*UpgradeList) DeepCopyObject

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

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

type UpgradeSpec

type UpgradeSpec struct {
	// +optional
	Version string `json:"version"`

	// +optional
	Image string `json:"image"`
}

func (*UpgradeSpec) DeepCopy

func (in *UpgradeSpec) DeepCopy() *UpgradeSpec

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

func (*UpgradeSpec) DeepCopyInto

func (in *UpgradeSpec) DeepCopyInto(out *UpgradeSpec)

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

type UpgradeStatus

type UpgradeStatus struct {
	// +optional
	PreviousVersion string `json:"previousVersion,omitempty"`
	// +optional
	ImageID string `json:"imageID,omitempty"`
	// +optional
	RepoInfo string `json:"repoInfo,omitempty"`
	// +optional
	SingleNode string `json:"singleNode,omitempty"`
	// +optional
	NodeStatuses map[string]NodeUpgradeStatus `json:"nodeStatuses,omitempty"`
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*UpgradeStatus) DeepCopy

func (in *UpgradeStatus) DeepCopy() *UpgradeStatus

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

func (*UpgradeStatus) DeepCopyInto

func (in *UpgradeStatus) DeepCopyInto(out *UpgradeStatus)

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

type Version

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

	Spec VersionSpec `json:"spec"`
}

func NewVersion

func NewVersion(namespace, name string, obj Version) *Version

func (*Version) DeepCopy

func (in *Version) DeepCopy() *Version

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

func (*Version) DeepCopyInto

func (in *Version) DeepCopyInto(out *Version)

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

func (*Version) DeepCopyObject

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

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

type VersionList

type VersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Version `json:"items"`
}

VersionList is a list of Version resources

func (*VersionList) DeepCopy

func (in *VersionList) DeepCopy() *VersionList

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

func (*VersionList) DeepCopyInto

func (in *VersionList) DeepCopyInto(out *VersionList)

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

func (*VersionList) DeepCopyObject

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

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

type VersionSpec

type VersionSpec struct {
	// +kubebuilder:validation:Required
	ISOURL string `json:"isoURL"`

	// +optional
	ISOChecksum string `json:"isoChecksum"`

	// +optional
	ReleaseDate string `json:"releaseDate"`

	// +optional
	MinUpgradableVersion string `json:"minUpgradableVersion,omitempty"`

	// +optional
	Tags []string `json:"tags"`
}

func (*VersionSpec) DeepCopy

func (in *VersionSpec) DeepCopy() *VersionSpec

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

func (*VersionSpec) DeepCopyInto

func (in *VersionSpec) DeepCopyInto(out *VersionSpec)

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

type VirtualMachineBackup

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

	Spec VirtualMachineBackupSpec `json:"spec"`

	// +optional
	Status *VirtualMachineBackupStatus `json:"status,omitempty"`
}

func NewVirtualMachineBackup

func NewVirtualMachineBackup(namespace, name string, obj VirtualMachineBackup) *VirtualMachineBackup

func (*VirtualMachineBackup) DeepCopy

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

func (*VirtualMachineBackup) DeepCopyInto

func (in *VirtualMachineBackup) DeepCopyInto(out *VirtualMachineBackup)

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

func (*VirtualMachineBackup) DeepCopyObject

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

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

type VirtualMachineBackupList

type VirtualMachineBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []VirtualMachineBackup `json:"items"`
}

VirtualMachineBackupList is a list of VirtualMachineBackup resources

func (*VirtualMachineBackupList) DeepCopy

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

func (*VirtualMachineBackupList) DeepCopyInto

func (in *VirtualMachineBackupList) DeepCopyInto(out *VirtualMachineBackupList)

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

func (*VirtualMachineBackupList) DeepCopyObject

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

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

type VirtualMachineBackupSpec

type VirtualMachineBackupSpec struct {
	Source corev1.TypedLocalObjectReference `json:"source"`
}

func (*VirtualMachineBackupSpec) DeepCopy

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

func (*VirtualMachineBackupSpec) DeepCopyInto

func (in *VirtualMachineBackupSpec) DeepCopyInto(out *VirtualMachineBackupSpec)

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

type VirtualMachineBackupStatus

type VirtualMachineBackupStatus struct {
	// +optional
	SourceUID *types.UID `json:"sourceUID,omitempty"`

	// +optional
	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	// +optional
	BackupTarget *BackupTarget `json:"backupTarget,omitempty"`

	// +kubebuilder:validation:Required
	// SourceSpec contains the vm spec source of the backup target
	SourceSpec *VirtualMachineSourceSpec `json:"source,omitempty"`

	// +optional
	VolumeBackups []VolumeBackup `json:"volumeBackups,omitempty"`

	// +optional
	SecretBackups []SecretBackup `json:"secretBackups,omitempty"`

	// +optional
	ReadyToUse *bool `json:"readyToUse,omitempty"`

	// +optional
	Error *Error `json:"error,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

VirtualMachineBackupStatus is the status for a VirtualMachineBackup resource

func (*VirtualMachineBackupStatus) DeepCopy

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

func (*VirtualMachineBackupStatus) DeepCopyInto

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

type VirtualMachineImage

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

	Spec   VirtualMachineImageSpec   `json:"spec"`
	Status VirtualMachineImageStatus `json:"status,omitempty"`
}

func NewVirtualMachineImage

func NewVirtualMachineImage(namespace, name string, obj VirtualMachineImage) *VirtualMachineImage

func (*VirtualMachineImage) DeepCopy

func (in *VirtualMachineImage) DeepCopy() *VirtualMachineImage

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

func (*VirtualMachineImage) DeepCopyInto

func (in *VirtualMachineImage) DeepCopyInto(out *VirtualMachineImage)

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

func (*VirtualMachineImage) DeepCopyObject

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

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

type VirtualMachineImageList

type VirtualMachineImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []VirtualMachineImage `json:"items"`
}

VirtualMachineImageList is a list of VirtualMachineImage resources

func (*VirtualMachineImageList) DeepCopy

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

func (*VirtualMachineImageList) DeepCopyInto

func (in *VirtualMachineImageList) DeepCopyInto(out *VirtualMachineImageList)

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

func (*VirtualMachineImageList) DeepCopyObject

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

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

type VirtualMachineImageSpec

type VirtualMachineImageSpec struct {
	// +optional
	Description string `json:"description,omitempty"`

	// +kubebuilder:validation:Required
	DisplayName string `json:"displayName"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=download;upload;export-from-volume
	SourceType string `json:"sourceType"`

	// +optional
	PVCName string `json:"pvcName"`

	// +optional
	PVCNamespace string `json:"pvcNamespace"`

	// +optional
	URL string `json:"url"`

	// +optional
	Checksum string `json:"checksum"`
}

func (*VirtualMachineImageSpec) DeepCopy

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

func (*VirtualMachineImageSpec) DeepCopyInto

func (in *VirtualMachineImageSpec) DeepCopyInto(out *VirtualMachineImageSpec)

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

type VirtualMachineImageStatus

type VirtualMachineImageStatus struct {
	// +optional
	AppliedURL string `json:"appliedUrl,omitempty"`

	// +optional
	Progress int `json:"progress,omitempty"`

	// +optional
	Size int64 `json:"size,omitempty"`

	// +optional
	StorageClassName string `json:"storageClassName,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*VirtualMachineImageStatus) DeepCopy

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

func (*VirtualMachineImageStatus) DeepCopyInto

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

type VirtualMachineRestore

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

	Spec VirtualMachineRestoreSpec `json:"spec"`

	// +optional
	Status *VirtualMachineRestoreStatus `json:"status,omitempty"`
}

func NewVirtualMachineRestore

func NewVirtualMachineRestore(namespace, name string, obj VirtualMachineRestore) *VirtualMachineRestore

func (*VirtualMachineRestore) DeepCopy

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

func (*VirtualMachineRestore) DeepCopyInto

func (in *VirtualMachineRestore) DeepCopyInto(out *VirtualMachineRestore)

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

func (*VirtualMachineRestore) DeepCopyObject

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

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

type VirtualMachineRestoreList

type VirtualMachineRestoreList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []VirtualMachineRestore `json:"items"`
}

VirtualMachineRestoreList is a list of VirtualMachineRestore resources

func (*VirtualMachineRestoreList) DeepCopy

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

func (*VirtualMachineRestoreList) DeepCopyInto

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

func (*VirtualMachineRestoreList) DeepCopyObject

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

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

type VirtualMachineRestoreSpec

type VirtualMachineRestoreSpec struct {
	// initially only VirtualMachine type supported
	Target corev1.TypedLocalObjectReference `json:"target"`

	// +kubebuilder:validation:Required
	VirtualMachineBackupName string `json:"virtualMachineBackupName"`

	// +kubebuilder:validation:Required
	VirtualMachineBackupNamespace string `json:"virtualMachineBackupNamespace"`

	// +optional
	NewVM bool `json:"newVM,omitempty"`

	// +optional
	DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty"`
}

VirtualMachineRestoreSpec is the spec for a VirtualMachineRestore resource

func (*VirtualMachineRestoreSpec) DeepCopy

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

func (*VirtualMachineRestoreSpec) DeepCopyInto

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

type VirtualMachineRestoreStatus

type VirtualMachineRestoreStatus struct {
	// +optional
	VolumeRestores []VolumeRestore `json:"restores,omitempty"`

	// +optional
	RestoreTime *metav1.Time `json:"restoreTime,omitempty"`

	// +optional
	DeletedVolumes []string `json:"deletedVolumes,omitempty"`

	// +optional
	Complete *bool `json:"complete,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`

	TargetUID *types.UID `json:"targetUID,omitempty"`
}

VirtualMachineRestoreStatus is the spec for a VirtualMachineRestore resource

func (*VirtualMachineRestoreStatus) DeepCopy

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

func (*VirtualMachineRestoreStatus) DeepCopyInto

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

type VirtualMachineSourceSpec

type VirtualMachineSourceSpec struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	// +optional
	ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec kubevirtv1.VirtualMachineSpec `json:"spec,omitempty"`
}

func (*VirtualMachineSourceSpec) DeepCopy

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

func (*VirtualMachineSourceSpec) DeepCopyInto

func (in *VirtualMachineSourceSpec) DeepCopyInto(out *VirtualMachineSourceSpec)

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

type VirtualMachineTemplate

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

	Spec   VirtualMachineTemplateSpec   `json:"spec,omitempty"`
	Status VirtualMachineTemplateStatus `json:"status,omitempty"`
}

func NewVirtualMachineTemplate

func NewVirtualMachineTemplate(namespace, name string, obj VirtualMachineTemplate) *VirtualMachineTemplate

func (*VirtualMachineTemplate) DeepCopy

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

func (*VirtualMachineTemplate) DeepCopyInto

func (in *VirtualMachineTemplate) DeepCopyInto(out *VirtualMachineTemplate)

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

func (*VirtualMachineTemplate) DeepCopyObject

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

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

type VirtualMachineTemplateList

type VirtualMachineTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []VirtualMachineTemplate `json:"items"`
}

VirtualMachineTemplateList is a list of VirtualMachineTemplate resources

func (*VirtualMachineTemplateList) DeepCopy

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

func (*VirtualMachineTemplateList) DeepCopyInto

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

func (*VirtualMachineTemplateList) DeepCopyObject

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

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

type VirtualMachineTemplateSpec

type VirtualMachineTemplateSpec struct {
	// +optional
	DefaultVersionID string `json:"defaultVersionId"`

	// +optional
	Description string `json:"description,omitempty"`
}

func (*VirtualMachineTemplateSpec) DeepCopy

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

func (*VirtualMachineTemplateSpec) DeepCopyInto

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

type VirtualMachineTemplateStatus

type VirtualMachineTemplateStatus struct {
	// +optional
	DefaultVersion int `json:"defaultVersion,omitempty"`

	// +optional
	LatestVersion int `json:"latestVersion,omitempty"`
}

func (*VirtualMachineTemplateStatus) DeepCopy

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

func (*VirtualMachineTemplateStatus) DeepCopyInto

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

type VirtualMachineTemplateVersion

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

	Spec   VirtualMachineTemplateVersionSpec   `json:"spec"`
	Status VirtualMachineTemplateVersionStatus `json:"status,omitempty"`
}

func NewVirtualMachineTemplateVersion

func NewVirtualMachineTemplateVersion(namespace, name string, obj VirtualMachineTemplateVersion) *VirtualMachineTemplateVersion

func (*VirtualMachineTemplateVersion) DeepCopy

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

func (*VirtualMachineTemplateVersion) DeepCopyInto

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

func (*VirtualMachineTemplateVersion) DeepCopyObject

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

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

type VirtualMachineTemplateVersionList

type VirtualMachineTemplateVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []VirtualMachineTemplateVersion `json:"items"`
}

VirtualMachineTemplateVersionList is a list of VirtualMachineTemplateVersion resources

func (*VirtualMachineTemplateVersionList) DeepCopy

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

func (*VirtualMachineTemplateVersionList) DeepCopyInto

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

func (*VirtualMachineTemplateVersionList) DeepCopyObject

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

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

type VirtualMachineTemplateVersionSpec

type VirtualMachineTemplateVersionSpec struct {
	// +kubebuilder:validation:Required
	TemplateID string `json:"templateId"`

	// +optional
	Description string `json:"description,omitempty"`

	// +optional
	ImageID string `json:"imageId,omitempty"`

	// +optional
	KeyPairIDs []string `json:"keyPairIds,omitempty"`

	// +optional
	VM VirtualMachineSourceSpec `json:"vm,omitempty"`
}

func (*VirtualMachineTemplateVersionSpec) DeepCopy

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

func (*VirtualMachineTemplateVersionSpec) DeepCopyInto

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

type VirtualMachineTemplateVersionStatus

type VirtualMachineTemplateVersionStatus struct {
	// +optional
	Version int `json:"version,omitempty"`

	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
}

func (*VirtualMachineTemplateVersionStatus) DeepCopy

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

func (*VirtualMachineTemplateVersionStatus) DeepCopyInto

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

type VolumeBackup

type VolumeBackup struct {
	// +optional
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	VolumeName string `json:"volumeName"`

	// +optional
	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	// +kubebuilder:validation:Required
	PersistentVolumeClaim PersistentVolumeClaimSourceSpec `json:"persistentVolumeClaim"`

	// +optional
	LonghornBackupName *string `json:"longhornBackupName,omitempty"`

	// +optional
	ReadyToUse *bool `json:"readyToUse,omitempty"`

	// +optional
	Error *Error `json:"error,omitempty"`
}

VolumeBackup contains the volume data need to restore a PVC

func (*VolumeBackup) DeepCopy

func (in *VolumeBackup) DeepCopy() *VolumeBackup

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

func (*VolumeBackup) DeepCopyInto

func (in *VolumeBackup) DeepCopyInto(out *VolumeBackup)

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

type VolumeRestore

type VolumeRestore struct {
	VolumeName string `json:"volumeName,omitempty"`

	PersistentVolumeClaim PersistentVolumeClaimSourceSpec `json:"persistentVolumeClaimSpec,omitempty"`

	VolumeBackupName string `json:"volumeBackupName,omitempty"`
}

VolumeRestore contains the volume data need to restore a PVC

func (*VolumeRestore) DeepCopy

func (in *VolumeRestore) DeepCopy() *VolumeRestore

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

func (*VolumeRestore) DeepCopyInto

func (in *VolumeRestore) DeepCopyInto(out *VolumeRestore)

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