v1alpha1

package
v0.53.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: flavor.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

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 VirtualMachineClusterFlavor

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

	// VirtualMachineFlavorSpec for the flavor
	Spec VirtualMachineFlavorSpec `json:"spec"`
}

VirtualMachineClusterFlavor is a cluster scoped version of VirtualMachineFlavor resource.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +genclient +genclient:nonNamespaced

func (*VirtualMachineClusterFlavor) DeepCopy

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

func (*VirtualMachineClusterFlavor) DeepCopyInto

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

func (*VirtualMachineClusterFlavor) DeepCopyObject

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

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

func (VirtualMachineClusterFlavor) SwaggerDoc

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

type VirtualMachineClusterFlavorList

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

VirtualMachineClusterFlavorList is a list of VirtualMachineClusterFlavor resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*VirtualMachineClusterFlavorList) DeepCopy

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

func (*VirtualMachineClusterFlavorList) DeepCopyInto

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

func (*VirtualMachineClusterFlavorList) DeepCopyObject

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

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

func (VirtualMachineClusterFlavorList) SwaggerDoc

type VirtualMachineFlavor

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

	// VirtualMachineFlavorSpec for the flavor
	Spec VirtualMachineFlavorSpec `json:"spec"`
}

VirtualMachineFlavor resource contains common VirtualMachine configuration that can be used by multiple VirtualMachine resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +genclient

func (*VirtualMachineFlavor) DeepCopy

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

func (*VirtualMachineFlavor) DeepCopyInto

func (in *VirtualMachineFlavor) DeepCopyInto(out *VirtualMachineFlavor)

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

func (*VirtualMachineFlavor) DeepCopyObject

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

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

func (VirtualMachineFlavor) SwaggerDoc

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

type VirtualMachineFlavorList

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

VirtualMachineFlavorList is a list of VirtualMachineFlavor resources.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*VirtualMachineFlavorList) DeepCopy

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

func (*VirtualMachineFlavorList) DeepCopyInto

func (in *VirtualMachineFlavorList) DeepCopyInto(out *VirtualMachineFlavorList)

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

func (*VirtualMachineFlavorList) DeepCopyObject

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

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

func (VirtualMachineFlavorList) SwaggerDoc

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

type VirtualMachineFlavorSpec added in v0.53.0

type VirtualMachineFlavorSpec struct {

	// +optional
	CPU *v1.CPU `json:"cpu,omitempty"`
}

VirtualMachineFlavorSpec

+k8s:openapi-gen=true

func (*VirtualMachineFlavorSpec) DeepCopy added in v0.53.0

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

func (*VirtualMachineFlavorSpec) DeepCopyInto added in v0.53.0

func (in *VirtualMachineFlavorSpec) DeepCopyInto(out *VirtualMachineFlavorSpec)

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

func (VirtualMachineFlavorSpec) SwaggerDoc added in v0.53.0

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

Jump to

Keyboard shortcuts

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