v1alpha1

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kubevirt v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=kubevirt.io

Package v1alpha1 contains API Schema definitions for the kubevirt v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=kubevirt.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "kubevirt.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type V2VVmware

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

	Spec   V2VVmwareSpec   `json:"spec,omitempty"`
	Status V2VVmwareStatus `json:"status,omitempty"`
}

V2VVmware is the Schema for the v2vvmwares API +k8s:openapi-gen=true

func (*V2VVmware) DeepCopy

func (in *V2VVmware) DeepCopy() *V2VVmware

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

func (*V2VVmware) DeepCopyInto

func (in *V2VVmware) DeepCopyInto(out *V2VVmware)

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

func (*V2VVmware) DeepCopyObject

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

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

type V2VVmwareList

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

V2VVmwareList contains a list of V2VVmware

func (*V2VVmwareList) DeepCopy

func (in *V2VVmwareList) DeepCopy() *V2VVmwareList

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

func (*V2VVmwareList) DeepCopyInto

func (in *V2VVmwareList) DeepCopyInto(out *V2VVmwareList)

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

func (*V2VVmwareList) DeepCopyObject

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

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

type V2VVmwareSpec

type V2VVmwareSpec struct {
	Connection string     `json:"connection,omitempty"` // name of Secret wit vmware connection details
	TimeToLive string     `json:"timeToLive,omitempty"` // for custom garbage collector
	Vms        []VmwareVm `json:"vms,omitempty"`
	Thumbprint string     `json:"thumbprint,omitempty"`
}

V2VVmwareSpec defines the desired state of V2VVmware +k8s:openapi-gen=true

func (*V2VVmwareSpec) DeepCopy

func (in *V2VVmwareSpec) DeepCopy() *V2VVmwareSpec

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

func (*V2VVmwareSpec) DeepCopyInto

func (in *V2VVmwareSpec) DeepCopyInto(out *V2VVmwareSpec)

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

type V2VVmwareStatus

type V2VVmwareStatus struct {
	Phase string `json:"phase,omitempty"` // one of the Phase* constants
}

V2VVmwareStatus defines the observed state of V2VVmware +k8s:openapi-gen=true

func (*V2VVmwareStatus) DeepCopy

func (in *V2VVmwareStatus) DeepCopy() *V2VVmwareStatus

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

func (*V2VVmwareStatus) DeepCopyInto

func (in *V2VVmwareStatus) DeepCopyInto(out *V2VVmwareStatus)

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

type VmwareVm

type VmwareVm struct {
	Name          string         `json:"name"`
	DetailRequest bool           `json:"detailRequest,omitempty"` // true if details are requested to be loaded
	Detail        VmwareVmDetail `json:"detail,omitempty"`
}

type VmwareVmDetail

type VmwareVmDetail struct {
	// TODO: list required details
	Raw      string `json:"raw,omitempty"`
	HostPath string `json:"hostPath"`
}

Jump to

Keyboard shortcuts

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