Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the vsphereproviderconfig v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-vsphere/pkg/apis/vsphereproviderconfig +k8s:defaulter-gen=TypeMeta +groupName=vsphereproviderconfig.sigs.k8s.io
Package v1alpha1 contains API Schema definitions for the vsphereproviderconfig v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-vsphere/pkg/apis/vsphereproviderconfig +k8s:defaulter-gen=TypeMeta +groupName=vsphereproviderconfig.sigs.k8s.io
Index ¶
- Variables
- type APIStatus
- type DiskSpec
- type IPConfig
- type NetworkSpec
- type NetworkType
- type VsphereClusterProviderConfig
- type VsphereClusterProviderConfigList
- type VsphereClusterProviderStatus
- type VsphereMachineProviderConfig
- type VsphereMachineProviderConfigList
- type VsphereMachineProviderStatus
- type VsphereMachineSpec
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "vsphereproviderconfig.sigs.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type DiskSpec ¶
type DiskSpec struct { DiskSizeGB int64 `json:"diskSizeGB,omitempty"` DiskLabel string `json:"diskLabel,omitempty"` }
func (*DiskSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSpec.
func (*DiskSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPConfig ¶
type IPConfig struct { NetworkType NetworkType `json:"networkType"` IP string `json:"ip,omitempty"` Netmask string `json:"netmask,omitempty"` Gateway string `json:"gateway,omitempty"` Dns []string `json:"dns,omitempty"` }
func (*IPConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfig.
func (*IPConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { NetworkName string `json:"networkName"` IPConfig IPConfig `json:"ipConfig,omitempty"` }
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkType ¶
type NetworkType string
const ( Static NetworkType = "static" DHCP NetworkType = "dhcp" )
type VsphereClusterProviderConfig ¶
type VsphereClusterProviderConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` VsphereUser string `json:"vsphereUser"` VspherePassword string `json:"vspherePassword"` VsphereServer string `json:"vsphereServer"` }
VsphereClusterProviderConfig is the Schema for the vsphereclusterproviderconfigs API +k8s:openapi-gen=true
func (*VsphereClusterProviderConfig) DeepCopy ¶
func (in *VsphereClusterProviderConfig) DeepCopy() *VsphereClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereClusterProviderConfig.
func (*VsphereClusterProviderConfig) DeepCopyInto ¶
func (in *VsphereClusterProviderConfig) DeepCopyInto(out *VsphereClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereClusterProviderConfig) DeepCopyObject ¶
func (in *VsphereClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereClusterProviderConfigList ¶
type VsphereClusterProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VsphereClusterProviderConfig `json:"items"` }
VsphereClusterProviderConfigList contains a list of VsphereClusterProviderConfig
func (*VsphereClusterProviderConfigList) DeepCopy ¶
func (in *VsphereClusterProviderConfigList) DeepCopy() *VsphereClusterProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereClusterProviderConfigList.
func (*VsphereClusterProviderConfigList) DeepCopyInto ¶
func (in *VsphereClusterProviderConfigList) DeepCopyInto(out *VsphereClusterProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereClusterProviderConfigList) DeepCopyObject ¶
func (in *VsphereClusterProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereClusterProviderStatus ¶
type VsphereClusterProviderStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LastUpdated string `json:"lastUpdated"` APIStatus APIStatus `json:"clusterApiStatus"` }
VsphereClusterProviderStatus defines the observed state of VsphereClusterProviderConfig
func (*VsphereClusterProviderStatus) DeepCopy ¶
func (in *VsphereClusterProviderStatus) DeepCopy() *VsphereClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereClusterProviderStatus.
func (*VsphereClusterProviderStatus) DeepCopyInto ¶
func (in *VsphereClusterProviderStatus) DeepCopyInto(out *VsphereClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VsphereMachineProviderConfig ¶
type VsphereMachineProviderConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` MachineRef string `json:"machineRef,omitempty"` MachineSpec VsphereMachineSpec `json:"machineSpec,omitempty"` }
VsphereMachineProviderConfig is the Schema for the vspheremachineproviderconfigs API +k8s:openapi-gen=true
func (*VsphereMachineProviderConfig) DeepCopy ¶
func (in *VsphereMachineProviderConfig) DeepCopy() *VsphereMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereMachineProviderConfig.
func (*VsphereMachineProviderConfig) DeepCopyInto ¶
func (in *VsphereMachineProviderConfig) DeepCopyInto(out *VsphereMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereMachineProviderConfig) DeepCopyObject ¶
func (in *VsphereMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereMachineProviderConfigList ¶
type VsphereMachineProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VsphereMachineProviderConfig `json:"items"` }
VsphereMachineProviderConfigList contains a list of VsphereMachineProviderConfig
func (*VsphereMachineProviderConfigList) DeepCopy ¶
func (in *VsphereMachineProviderConfigList) DeepCopy() *VsphereMachineProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereMachineProviderConfigList.
func (*VsphereMachineProviderConfigList) DeepCopyInto ¶
func (in *VsphereMachineProviderConfigList) DeepCopyInto(out *VsphereMachineProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereMachineProviderConfigList) DeepCopyObject ¶
func (in *VsphereMachineProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereMachineProviderStatus ¶
type VsphereMachineProviderStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LastUpdated string `json:"lastUpdated"` TaskRef string `json:"taskRef"` }
VsphereMachineProviderConfigStatus defines the observed state of VsphereMachineProviderConfig
func (*VsphereMachineProviderStatus) DeepCopy ¶
func (in *VsphereMachineProviderStatus) DeepCopy() *VsphereMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereMachineProviderStatus.
func (*VsphereMachineProviderStatus) DeepCopyInto ¶
func (in *VsphereMachineProviderStatus) DeepCopyInto(out *VsphereMachineProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VsphereMachineSpec ¶
type VsphereMachineSpec struct { Datacenter string `json:"datacenter"` Datastore string `json:"datastore"` ResourcePool string `json:"resourcePool,omitempty"` VMFolder string `json:"vmFolder,omitempty"` Networks []NetworkSpec `json:"networks"` NumCPUs int32 `json:"numCPUs,omitempty"` MemoryMB int64 `json:"memoryMB,omitempty"` VMTemplate string `json:"template" yaml:"template"` Disks []DiskSpec `json:"disks"` Preloaded bool `json:"preloaded,omitempty"` VsphereCloudInit bool `json:"vsphereCloudInit,omitempty"` }
func (*VsphereMachineSpec) DeepCopy ¶
func (in *VsphereMachineSpec) DeepCopy() *VsphereMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereMachineSpec.
func (*VsphereMachineSpec) DeepCopyInto ¶
func (in *VsphereMachineSpec) DeepCopyInto(out *VsphereMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.