v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const ConditionReconcileComplete conditionsv1.ConditionType = "ReconcileComplete"

ConditionReconcileComplete communicates the status of the HyperConverged resource's reconcile functionality. Basically, is the Reconcile function running to completion.

View Source
const HyperConvergedName = "kubevirt-hyperconverged"

HyperConvergedName is the name of the HyperConverged resource that will be reconciled

Variables

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

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

	// AddToScheme tbd
	AddToScheme = SchemeBuilder.AddToScheme
)

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 HyperConverged

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

	Spec   HyperConvergedSpec   `json:"spec,omitempty"`
	Status HyperConvergedStatus `json:"status,omitempty"`
}

HyperConverged is the Schema for the hyperconvergeds API +k8s:openapi-gen=true

func (*HyperConverged) DeepCopy

func (in *HyperConverged) DeepCopy() *HyperConverged

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

func (*HyperConverged) DeepCopyInto

func (in *HyperConverged) DeepCopyInto(out *HyperConverged)

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

func (*HyperConverged) DeepCopyObject

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

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

type HyperConvergedList

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

HyperConvergedList contains a list of HyperConverged

func (*HyperConvergedList) DeepCopy

func (in *HyperConvergedList) DeepCopy() *HyperConvergedList

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

func (*HyperConvergedList) DeepCopyInto

func (in *HyperConvergedList) DeepCopyInto(out *HyperConvergedList)

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

func (*HyperConvergedList) DeepCopyObject

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

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

type HyperConvergedSpec

type HyperConvergedSpec struct {

	// BareMetalPlatform indicates whether the infrastructure is baremetal.
	BareMetalPlatform bool `json:"BareMetalPlatform,omitempty"`

	// LocalStorageClassName the name of the local storage class.
	LocalStorageClassName string `json:"LocalStorageClassName,omitempty"`
}

HyperConvergedSpec defines the desired state of HyperConverged +k8s:openapi-gen=true

func (*HyperConvergedSpec) DeepCopy

func (in *HyperConvergedSpec) DeepCopy() *HyperConvergedSpec

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

func (*HyperConvergedSpec) DeepCopyInto

func (in *HyperConvergedSpec) DeepCopyInto(out *HyperConvergedSpec)

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

type HyperConvergedStatus

type HyperConvergedStatus struct {
	// Conditions describes the state of the HyperConverged resource.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +optional
	Conditions []conditionsv1.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`

	// RelatedObjects is a list of objects created and maintained by this
	// operator. Object references will be added to this list after they have
	// been created AND found in the cluster.
	// +optional
	RelatedObjects []corev1.ObjectReference `json:"relatedObjects,omitempty"`
}

HyperConvergedStatus defines the observed state of HyperConverged +k8s:openapi-gen=true

func (*HyperConvergedStatus) DeepCopy

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

func (*HyperConvergedStatus) DeepCopyInto

func (in *HyperConvergedStatus) DeepCopyInto(out *HyperConvergedStatus)

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