Documentation ¶
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type VirtualMachineClusterFlavor
- func (in *VirtualMachineClusterFlavor) DeepCopy() *VirtualMachineClusterFlavor
- func (in *VirtualMachineClusterFlavor) DeepCopyInto(out *VirtualMachineClusterFlavor)
- func (in *VirtualMachineClusterFlavor) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterFlavor) SwaggerDoc() map[string]string
- type VirtualMachineClusterFlavorList
- func (in *VirtualMachineClusterFlavorList) DeepCopy() *VirtualMachineClusterFlavorList
- func (in *VirtualMachineClusterFlavorList) DeepCopyInto(out *VirtualMachineClusterFlavorList)
- func (in *VirtualMachineClusterFlavorList) DeepCopyObject() runtime.Object
- func (VirtualMachineClusterFlavorList) SwaggerDoc() map[string]string
- type VirtualMachineFlavor
- type VirtualMachineFlavorList
- type VirtualMachineFlavorProfile
Constants ¶
This section is empty.
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: flavor.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
func (in *VirtualMachineClusterFlavor) DeepCopy() *VirtualMachineClusterFlavor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterFlavor.
func (*VirtualMachineClusterFlavor) DeepCopyInto ¶
func (in *VirtualMachineClusterFlavor) DeepCopyInto(out *VirtualMachineClusterFlavor)
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 ¶
func (in *VirtualMachineClusterFlavorList) DeepCopy() *VirtualMachineClusterFlavorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineClusterFlavorList.
func (*VirtualMachineClusterFlavorList) DeepCopyInto ¶
func (in *VirtualMachineClusterFlavorList) DeepCopyInto(out *VirtualMachineClusterFlavorList)
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 ¶
func (VirtualMachineClusterFlavorList) SwaggerDoc() map[string]string
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 ¶
func (in *VirtualMachineFlavor) DeepCopy() *VirtualMachineFlavor
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 ¶
func (in *VirtualMachineFlavorList) DeepCopy() *VirtualMachineFlavorList
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 ¶
func (in *VirtualMachineFlavorProfile) DeepCopy() *VirtualMachineFlavorProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineFlavorProfile.
func (*VirtualMachineFlavorProfile) DeepCopyInto ¶
func (in *VirtualMachineFlavorProfile) DeepCopyInto(out *VirtualMachineFlavorProfile)
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