...

Package v1beta1

import "kubevirt.io/api/snapshot/v1beta1"
Overview
Index

Overview ▾

Index ▾

Constants
Variables
func Kind(kind string) schema.GroupKind
func Resource(resource string) schema.GroupResource
type Condition
    func (in *Condition) DeepCopy() *Condition
    func (in *Condition) DeepCopyInto(out *Condition)
    func (Condition) SwaggerDoc() map[string]string
type ConditionType
type DeletionPolicy
type Error
    func (in *Error) DeepCopy() *Error
    func (in *Error) DeepCopyInto(out *Error)
    func (Error) SwaggerDoc() map[string]string
type Indication
type PersistentVolumeClaim
    func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim
    func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim)
    func (PersistentVolumeClaim) SwaggerDoc() map[string]string
type SnapshotVolumesLists
    func (in *SnapshotVolumesLists) DeepCopy() *SnapshotVolumesLists
    func (in *SnapshotVolumesLists) DeepCopyInto(out *SnapshotVolumesLists)
    func (SnapshotVolumesLists) SwaggerDoc() map[string]string
type SourceSpec
    func (in *SourceSpec) DeepCopy() *SourceSpec
    func (in *SourceSpec) DeepCopyInto(out *SourceSpec)
    func (SourceSpec) SwaggerDoc() map[string]string
type VirtualMachine
    func (in *VirtualMachine) DeepCopy() *VirtualMachine
    func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)
    func (VirtualMachine) SwaggerDoc() map[string]string
type VirtualMachineRestore
    func (in *VirtualMachineRestore) DeepCopy() *VirtualMachineRestore
    func (in *VirtualMachineRestore) DeepCopyInto(out *VirtualMachineRestore)
    func (in *VirtualMachineRestore) DeepCopyObject() runtime.Object
    func (VirtualMachineRestore) SwaggerDoc() map[string]string
type VirtualMachineRestoreList
    func (in *VirtualMachineRestoreList) DeepCopy() *VirtualMachineRestoreList
    func (in *VirtualMachineRestoreList) DeepCopyInto(out *VirtualMachineRestoreList)
    func (in *VirtualMachineRestoreList) DeepCopyObject() runtime.Object
    func (VirtualMachineRestoreList) SwaggerDoc() map[string]string
type VirtualMachineRestoreSpec
    func (in *VirtualMachineRestoreSpec) DeepCopy() *VirtualMachineRestoreSpec
    func (in *VirtualMachineRestoreSpec) DeepCopyInto(out *VirtualMachineRestoreSpec)
    func (VirtualMachineRestoreSpec) SwaggerDoc() map[string]string
type VirtualMachineRestoreStatus
    func (in *VirtualMachineRestoreStatus) DeepCopy() *VirtualMachineRestoreStatus
    func (in *VirtualMachineRestoreStatus) DeepCopyInto(out *VirtualMachineRestoreStatus)
    func (VirtualMachineRestoreStatus) SwaggerDoc() map[string]string
type VirtualMachineSnapshot
    func (in *VirtualMachineSnapshot) DeepCopy() *VirtualMachineSnapshot
    func (in *VirtualMachineSnapshot) DeepCopyInto(out *VirtualMachineSnapshot)
    func (in *VirtualMachineSnapshot) DeepCopyObject() runtime.Object
    func (VirtualMachineSnapshot) SwaggerDoc() map[string]string
type VirtualMachineSnapshotContent
    func (in *VirtualMachineSnapshotContent) DeepCopy() *VirtualMachineSnapshotContent
    func (in *VirtualMachineSnapshotContent) DeepCopyInto(out *VirtualMachineSnapshotContent)
    func (in *VirtualMachineSnapshotContent) DeepCopyObject() runtime.Object
    func (VirtualMachineSnapshotContent) SwaggerDoc() map[string]string
type VirtualMachineSnapshotContentList
    func (in *VirtualMachineSnapshotContentList) DeepCopy() *VirtualMachineSnapshotContentList
    func (in *VirtualMachineSnapshotContentList) DeepCopyInto(out *VirtualMachineSnapshotContentList)
    func (in *VirtualMachineSnapshotContentList) DeepCopyObject() runtime.Object
    func (VirtualMachineSnapshotContentList) SwaggerDoc() map[string]string
type VirtualMachineSnapshotContentSpec
    func (in *VirtualMachineSnapshotContentSpec) DeepCopy() *VirtualMachineSnapshotContentSpec
    func (in *VirtualMachineSnapshotContentSpec) DeepCopyInto(out *VirtualMachineSnapshotContentSpec)
    func (VirtualMachineSnapshotContentSpec) SwaggerDoc() map[string]string
type VirtualMachineSnapshotContentStatus
    func (in *VirtualMachineSnapshotContentStatus) DeepCopy() *VirtualMachineSnapshotContentStatus
    func (in *VirtualMachineSnapshotContentStatus) DeepCopyInto(out *VirtualMachineSnapshotContentStatus)
    func (VirtualMachineSnapshotContentStatus) SwaggerDoc() map[string]string
type VirtualMachineSnapshotList
    func (in *VirtualMachineSnapshotList) DeepCopy() *VirtualMachineSnapshotList
    func (in *VirtualMachineSnapshotList) DeepCopyInto(out *VirtualMachineSnapshotList)
    func (in *VirtualMachineSnapshotList) DeepCopyObject() runtime.Object
    func (VirtualMachineSnapshotList) SwaggerDoc() map[string]string
type VirtualMachineSnapshotPhase
type VirtualMachineSnapshotSpec
    func (in *VirtualMachineSnapshotSpec) DeepCopy() *VirtualMachineSnapshotSpec
    func (in *VirtualMachineSnapshotSpec) DeepCopyInto(out *VirtualMachineSnapshotSpec)
    func (VirtualMachineSnapshotSpec) SwaggerDoc() map[string]string
type VirtualMachineSnapshotStatus
    func (in *VirtualMachineSnapshotStatus) DeepCopy() *VirtualMachineSnapshotStatus
    func (in *VirtualMachineSnapshotStatus) DeepCopyInto(out *VirtualMachineSnapshotStatus)
    func (VirtualMachineSnapshotStatus) SwaggerDoc() map[string]string
type VolumeBackup
    func (in *VolumeBackup) DeepCopy() *VolumeBackup
    func (in *VolumeBackup) DeepCopyInto(out *VolumeBackup)
    func (VolumeBackup) SwaggerDoc() map[string]string
type VolumeRestore
    func (in *VolumeRestore) DeepCopy() *VolumeRestore
    func (in *VolumeRestore) DeepCopyInto(out *VolumeRestore)
    func (VolumeRestore) SwaggerDoc() map[string]string
type VolumeSnapshotStatus
    func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus
    func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus)
    func (VolumeSnapshotStatus) SwaggerDoc() map[string]string

Package files

deepcopy_generated.go doc.go register.go types.go types_swagger_generated.go

Constants

const DefaultFailureDeadline = 5 * time.Minute

Variables

var (
    // SchemeBuilder initializes a scheme builder
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    // AddToScheme is a global function that registers this API group & version to a scheme
    AddToScheme = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

var SchemeGroupVersion = schema.GroupVersion{Group: snapshot.GroupName, Version: "v1beta1"}

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

type Condition

Condition defines conditions

type Condition struct {
    Type ConditionType `json:"type"`

    Status corev1.ConditionStatus `json:"status"`

    // +optional
    // +nullable
    LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"`

    // +optional
    // +nullable
    LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

    // +optional
    Reason string `json:"reason,omitempty"`

    // +optional
    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.

func (Condition) SwaggerDoc

func (Condition) SwaggerDoc() map[string]string

type ConditionType

ConditionType is the const type for Conditions

type ConditionType string
const (
    // ConditionReady is the "ready" condition type
    ConditionReady ConditionType = "Ready"

    // ConditionProgressing is the "progressing" condition type
    ConditionProgressing ConditionType = "Progressing"

    // ConditionFailure is the "failure" condition type
    ConditionFailure ConditionType = "Failure"
)

type DeletionPolicy

DeletionPolicy defines that to do with VirtualMachineSnapshot when VirtualMachineSnapshot is deleted

type DeletionPolicy string
const (
    // VirtualMachineSnapshotContentDelete causes the
    // VirtualMachineSnapshotContent to be deleted
    VirtualMachineSnapshotContentDelete DeletionPolicy = "Delete"

    // VirtualMachineSnapshotContentRetain causes the
    // VirtualMachineSnapshotContent to stay around
    VirtualMachineSnapshotContentRetain DeletionPolicy = "Retain"
)

type Error

Error is the last error encountered during the snapshot/restore

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

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

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.

func (Error) SwaggerDoc

func (Error) SwaggerDoc() map[string]string

type Indication

Indication is a way to indicate the state of the vm when taking the snapshot

type Indication string
const (
    VMSnapshotOnlineSnapshotIndication Indication = "Online"
    VMSnapshotNoGuestAgentIndication   Indication = "NoGuestAgent"
    VMSnapshotGuestAgentIndication     Indication = "GuestAgent"
)

type PersistentVolumeClaim

type PersistentVolumeClaim struct {
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    // +kubebuilder:pruning:PreserveUnknownFields
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // Spec defines the desired characteristics of a volume requested by a pod author.
    // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
    // +optional
    Spec corev1.PersistentVolumeClaimSpec `json:"spec,omitempty"`
}

func (*PersistentVolumeClaim) DeepCopy

func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim

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

func (*PersistentVolumeClaim) DeepCopyInto

func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim)

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

func (PersistentVolumeClaim) SwaggerDoc

func (PersistentVolumeClaim) SwaggerDoc() map[string]string

type SnapshotVolumesLists

SnapshotVolumesLists includes the list of volumes which were included in the snapshot and volumes which were excluded from the snapshot

type SnapshotVolumesLists struct {
    // +optional
    // +listType=set
    IncludedVolumes []string `json:"includedVolumes,omitempty"`

    // +optional
    // +listType=set
    ExcludedVolumes []string `json:"excludedVolumes,omitempty"`
}

func (*SnapshotVolumesLists) DeepCopy

func (in *SnapshotVolumesLists) DeepCopy() *SnapshotVolumesLists

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

func (*SnapshotVolumesLists) DeepCopyInto

func (in *SnapshotVolumesLists) DeepCopyInto(out *SnapshotVolumesLists)

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

func (SnapshotVolumesLists) SwaggerDoc

func (SnapshotVolumesLists) SwaggerDoc() map[string]string

type SourceSpec

SourceSpec contains the appropriate spec for the resource being snapshotted

type SourceSpec struct {
    // +optional
    VirtualMachine *VirtualMachine `json:"virtualMachine,omitempty"`
}

func (*SourceSpec) DeepCopy

func (in *SourceSpec) DeepCopy() *SourceSpec

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

func (*SourceSpec) DeepCopyInto

func (in *SourceSpec) DeepCopyInto(out *SourceSpec)

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

func (SourceSpec) SwaggerDoc

func (SourceSpec) SwaggerDoc() map[string]string

type VirtualMachine

type VirtualMachine struct {
    // +kubebuilder:pruning:PreserveUnknownFields
    // +nullable
    metav1.ObjectMeta `json:"metadata,omitempty"`
    // VirtualMachineSpec contains the VirtualMachine specification.
    Spec v1.VirtualMachineSpec `json:"spec,omitempty" valid:"required"`
    // Status holds the current state of the controller and brief information
    // about its associated VirtualMachineInstance
    Status v1.VirtualMachineStatus `json:"status,omitempty"`
}

func (*VirtualMachine) DeepCopy

func (in *VirtualMachine) DeepCopy() *VirtualMachine

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

func (*VirtualMachine) DeepCopyInto

func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)

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

func (VirtualMachine) SwaggerDoc

func (VirtualMachine) SwaggerDoc() map[string]string

type VirtualMachineRestore

VirtualMachineRestore defines the operation of restoring a VM +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

    Spec VirtualMachineRestoreSpec `json:"spec"`

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

func (*VirtualMachineRestore) DeepCopy

func (in *VirtualMachineRestore) DeepCopy() *VirtualMachineRestore

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.

func (VirtualMachineRestore) SwaggerDoc

func (VirtualMachineRestore) SwaggerDoc() map[string]string

type VirtualMachineRestoreList

VirtualMachineRestoreList is a list of VirtualMachineRestore resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

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

func (*VirtualMachineRestoreList) DeepCopy

func (in *VirtualMachineRestoreList) DeepCopy() *VirtualMachineRestoreList

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

func (*VirtualMachineRestoreList) DeepCopyInto

func (in *VirtualMachineRestoreList) DeepCopyInto(out *VirtualMachineRestoreList)

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.

func (VirtualMachineRestoreList) SwaggerDoc

func (VirtualMachineRestoreList) SwaggerDoc() map[string]string

type VirtualMachineRestoreSpec

VirtualMachineRestoreSpec is the spec for a VirtualMachineRestoreresource

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

    VirtualMachineSnapshotName string `json:"virtualMachineSnapshotName"`

    // If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be
    // applied to the target manifest before it's created. Patches should fit the target's Kind.
    //
    // Example for a patch: {"op": "replace", "path": "/metadata/name", "value": "new-vm-name"}
    //
    // +optional
    // +listType=atomic
    Patches []string `json:"patches,omitempty"`
}

func (*VirtualMachineRestoreSpec) DeepCopy

func (in *VirtualMachineRestoreSpec) DeepCopy() *VirtualMachineRestoreSpec

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

func (*VirtualMachineRestoreSpec) DeepCopyInto

func (in *VirtualMachineRestoreSpec) DeepCopyInto(out *VirtualMachineRestoreSpec)

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

func (VirtualMachineRestoreSpec) SwaggerDoc

func (VirtualMachineRestoreSpec) SwaggerDoc() map[string]string

type VirtualMachineRestoreStatus

VirtualMachineRestoreStatus is the spec for a VirtualMachineRestoreresource

type VirtualMachineRestoreStatus struct {
    // +optional
    // +listType=atomic
    Restores []VolumeRestore `json:"restores,omitempty"`

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

    // +optional
    // +listType=set
    DeletedDataVolumes []string `json:"deletedDataVolumes,omitempty"`

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

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

func (*VirtualMachineRestoreStatus) DeepCopy

func (in *VirtualMachineRestoreStatus) DeepCopy() *VirtualMachineRestoreStatus

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

func (*VirtualMachineRestoreStatus) DeepCopyInto

func (in *VirtualMachineRestoreStatus) DeepCopyInto(out *VirtualMachineRestoreStatus)

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

func (VirtualMachineRestoreStatus) SwaggerDoc

func (VirtualMachineRestoreStatus) SwaggerDoc() map[string]string

type VirtualMachineSnapshot

VirtualMachineSnapshot defines the operation of snapshotting a VM +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

    Spec VirtualMachineSnapshotSpec `json:"spec"`

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

func (*VirtualMachineSnapshot) DeepCopy

func (in *VirtualMachineSnapshot) DeepCopy() *VirtualMachineSnapshot

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

func (*VirtualMachineSnapshot) DeepCopyInto

func (in *VirtualMachineSnapshot) DeepCopyInto(out *VirtualMachineSnapshot)

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

func (*VirtualMachineSnapshot) DeepCopyObject

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

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

func (VirtualMachineSnapshot) SwaggerDoc

func (VirtualMachineSnapshot) SwaggerDoc() map[string]string

type VirtualMachineSnapshotContent

VirtualMachineSnapshotContent contains the snapshot data +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

    Spec VirtualMachineSnapshotContentSpec `json:"spec"`

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

func (*VirtualMachineSnapshotContent) DeepCopy

func (in *VirtualMachineSnapshotContent) DeepCopy() *VirtualMachineSnapshotContent

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

func (*VirtualMachineSnapshotContent) DeepCopyInto

func (in *VirtualMachineSnapshotContent) DeepCopyInto(out *VirtualMachineSnapshotContent)

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

func (*VirtualMachineSnapshotContent) DeepCopyObject

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

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

func (VirtualMachineSnapshotContent) SwaggerDoc

func (VirtualMachineSnapshotContent) SwaggerDoc() map[string]string

type VirtualMachineSnapshotContentList

VirtualMachineSnapshotContentList is a list of VirtualMachineSnapshot resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

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

func (*VirtualMachineSnapshotContentList) DeepCopy

func (in *VirtualMachineSnapshotContentList) DeepCopy() *VirtualMachineSnapshotContentList

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

func (*VirtualMachineSnapshotContentList) DeepCopyInto

func (in *VirtualMachineSnapshotContentList) DeepCopyInto(out *VirtualMachineSnapshotContentList)

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

func (*VirtualMachineSnapshotContentList) DeepCopyObject

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

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

func (VirtualMachineSnapshotContentList) SwaggerDoc

func (VirtualMachineSnapshotContentList) SwaggerDoc() map[string]string

type VirtualMachineSnapshotContentSpec

VirtualMachineSnapshotContentSpec is the spec for a VirtualMachineSnapshotContent resource

type VirtualMachineSnapshotContentSpec struct {
    VirtualMachineSnapshotName *string `json:"virtualMachineSnapshotName,omitempty"`

    Source SourceSpec `json:"source"`

    // +optional
    // +listType=atomic
    VolumeBackups []VolumeBackup `json:"volumeBackups,omitempty"`
}

func (*VirtualMachineSnapshotContentSpec) DeepCopy

func (in *VirtualMachineSnapshotContentSpec) DeepCopy() *VirtualMachineSnapshotContentSpec

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

func (*VirtualMachineSnapshotContentSpec) DeepCopyInto

func (in *VirtualMachineSnapshotContentSpec) DeepCopyInto(out *VirtualMachineSnapshotContentSpec)

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

func (VirtualMachineSnapshotContentSpec) SwaggerDoc

func (VirtualMachineSnapshotContentSpec) SwaggerDoc() map[string]string

type VirtualMachineSnapshotContentStatus

VirtualMachineSnapshotContentStatus is the status for a VirtualMachineSnapshotStatus resource

type VirtualMachineSnapshotContentStatus struct {
    // +optional
    // +nullable
    CreationTime *metav1.Time `json:"creationTime,omitempty"`

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

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

    // +optional
    // +listType=atomic
    VolumeSnapshotStatus []VolumeSnapshotStatus `json:"volumeSnapshotStatus,omitempty"`
}

func (*VirtualMachineSnapshotContentStatus) DeepCopy

func (in *VirtualMachineSnapshotContentStatus) DeepCopy() *VirtualMachineSnapshotContentStatus

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

func (*VirtualMachineSnapshotContentStatus) DeepCopyInto

func (in *VirtualMachineSnapshotContentStatus) DeepCopyInto(out *VirtualMachineSnapshotContentStatus)

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

func (VirtualMachineSnapshotContentStatus) SwaggerDoc

func (VirtualMachineSnapshotContentStatus) SwaggerDoc() map[string]string

type VirtualMachineSnapshotList

VirtualMachineSnapshotList is a list of VirtualMachineSnapshot resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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

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

func (*VirtualMachineSnapshotList) DeepCopy

func (in *VirtualMachineSnapshotList) DeepCopy() *VirtualMachineSnapshotList

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

func (*VirtualMachineSnapshotList) DeepCopyInto

func (in *VirtualMachineSnapshotList) DeepCopyInto(out *VirtualMachineSnapshotList)

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

func (*VirtualMachineSnapshotList) DeepCopyObject

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

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

func (VirtualMachineSnapshotList) SwaggerDoc

func (VirtualMachineSnapshotList) SwaggerDoc() map[string]string

type VirtualMachineSnapshotPhase

VirtualMachineSnapshotPhase is the current phase of the VirtualMachineSnapshot

type VirtualMachineSnapshotPhase string
const (
    PhaseUnset VirtualMachineSnapshotPhase = ""
    InProgress VirtualMachineSnapshotPhase = "InProgress"
    Succeeded  VirtualMachineSnapshotPhase = "Succeeded"
    Failed     VirtualMachineSnapshotPhase = "Failed"
    Deleting   VirtualMachineSnapshotPhase = "Deleting"
    Unknown    VirtualMachineSnapshotPhase = "Unknown"
)

type VirtualMachineSnapshotSpec

VirtualMachineSnapshotSpec is the spec for a VirtualMachineSnapshot resource

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

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

    // This time represents the number of seconds we permit the vm snapshot
    // to take. In case we pass this deadline we mark this snapshot
    // as failed.
    // Defaults to DefaultFailureDeadline - 5min
    // +optional
    FailureDeadline *metav1.Duration `json:"failureDeadline,omitempty"`
}

func (*VirtualMachineSnapshotSpec) DeepCopy

func (in *VirtualMachineSnapshotSpec) DeepCopy() *VirtualMachineSnapshotSpec

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

func (*VirtualMachineSnapshotSpec) DeepCopyInto

func (in *VirtualMachineSnapshotSpec) DeepCopyInto(out *VirtualMachineSnapshotSpec)

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

func (VirtualMachineSnapshotSpec) SwaggerDoc

func (VirtualMachineSnapshotSpec) SwaggerDoc() map[string]string

type VirtualMachineSnapshotStatus

VirtualMachineSnapshotStatus is the status for a VirtualMachineSnapshot resource

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

    // +optional
    VirtualMachineSnapshotContentName *string `json:"virtualMachineSnapshotContentName,omitempty"`

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

    // +optional
    Phase VirtualMachineSnapshotPhase `json:"phase,omitempty"`

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

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

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

    // +optional
    // +listType=set
    Indications []Indication `json:"indications,omitempty"`

    // +optional
    SnapshotVolumes *SnapshotVolumesLists `json:"snapshotVolumes,omitempty"`
}

func (*VirtualMachineSnapshotStatus) DeepCopy

func (in *VirtualMachineSnapshotStatus) DeepCopy() *VirtualMachineSnapshotStatus

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

func (*VirtualMachineSnapshotStatus) DeepCopyInto

func (in *VirtualMachineSnapshotStatus) DeepCopyInto(out *VirtualMachineSnapshotStatus)

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

func (VirtualMachineSnapshotStatus) SwaggerDoc

func (VirtualMachineSnapshotStatus) SwaggerDoc() map[string]string

type VolumeBackup

VolumeBackup contains the data neeed to restore a PVC

type VolumeBackup struct {
    VolumeName string `json:"volumeName"`

    PersistentVolumeClaim PersistentVolumeClaim `json:"persistentVolumeClaim"`

    // +optional
    VolumeSnapshotName *string `json:"volumeSnapshotName,omitempty"`
}

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.

func (VolumeBackup) SwaggerDoc

func (VolumeBackup) SwaggerDoc() map[string]string

type VolumeRestore

VolumeRestore contains the data neeed to restore a PVC

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

    PersistentVolumeClaimName string `json:"persistentVolumeClaim"`

    VolumeSnapshotName string `json:"volumeSnapshotName"`

    // +optional
    DataVolumeName *string `json:"dataVolumeName,omitempty"`
}

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.

func (VolumeRestore) SwaggerDoc

func (VolumeRestore) SwaggerDoc() map[string]string

type VolumeSnapshotStatus

VolumeSnapshotStatus is the status of a VolumeSnapshot

type VolumeSnapshotStatus struct {
    VolumeSnapshotName string `json:"volumeSnapshotName"`

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

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

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

func (*VolumeSnapshotStatus) DeepCopy

func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus

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

func (*VolumeSnapshotStatus) DeepCopyInto

func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus)

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

func (VolumeSnapshotStatus) SwaggerDoc

func (VolumeSnapshotStatus) SwaggerDoc() map[string]string