v1alpha1

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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"`

	// +listType=map
	// +listMapKey=name
	Profiles []VirtualMachineFlavorProfile `json:"profiles"`
}

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"`

	// +listType=map
	// +listMapKey=name
	Profiles []VirtualMachineFlavorProfile `json:"profiles"`
}

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 VirtualMachineFlavorProfile

type VirtualMachineFlavorProfile struct {
	// Name specifies the name of this custom profile.
	Name string `json:"name"`

	// Default specifies if this VirtualMachineFlavorProfile is the default for the VirtualMachineFlavor.
	// Zero or one profile can be set to default.
	//
	// +optional
	Default bool `json:"default,omitempty"`

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

VirtualMachineFlavorProfile contains definitions that will be applied to VirtualMachine.

+k8s:openapi-gen=true

func (*VirtualMachineFlavorProfile) DeepCopy

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

func (*VirtualMachineFlavorProfile) DeepCopyInto

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

func (VirtualMachineFlavorProfile) SwaggerDoc

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

Jump to

Keyboard shortcuts

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