Documentation
¶
Overview ¶
Package v1beta2 contains API Schema definitions for the infrastructure v1beta2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type APIEndpoint
- type LoadBalancerConfig
- type Ports
- type ProxyConfig
- type UserCredentialsContext
- type VCDCluster
- func (in *VCDCluster) DeepCopy() *VCDCluster
- func (in *VCDCluster) DeepCopyInto(out *VCDCluster)
- func (in *VCDCluster) DeepCopyObject() runtime.Object
- func (r *VCDCluster) Default()
- func (c *VCDCluster) GetConditions() clusterv1.Conditions
- func (*VCDCluster) Hub()
- func (c *VCDCluster) SetConditions(conditions clusterv1.Conditions)
- func (r *VCDCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *VCDCluster) ValidateCreate() (admission.Warnings, error)
- func (r *VCDCluster) ValidateDelete() (admission.Warnings, error)
- func (r *VCDCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type VCDClusterList
- type VCDClusterSpec
- type VCDClusterStatus
- type VCDClusterTemplate
- type VCDClusterTemplateList
- type VCDClusterTemplateResource
- type VCDClusterTemplateSpec
- type VCDMachine
- func (in *VCDMachine) DeepCopy() *VCDMachine
- func (in *VCDMachine) DeepCopyInto(out *VCDMachine)
- func (in *VCDMachine) DeepCopyObject() runtime.Object
- func (r *VCDMachine) Default()
- func (c *VCDMachine) GetConditions() clusterv1.Conditions
- func (*VCDMachine) Hub()
- func (c *VCDMachine) SetConditions(conditions clusterv1.Conditions)
- func (r *VCDMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *VCDMachine) ValidateCreate() (admission.Warnings, error)
- func (r *VCDMachine) ValidateDelete() (admission.Warnings, error)
- func (r *VCDMachine) ValidateUpdate(oldRaw runtime.Object) (admission.Warnings, error)
- type VCDMachineList
- type VCDMachineSpec
- type VCDMachineStatus
- type VCDMachineTemplate
- func (in *VCDMachineTemplate) DeepCopy() *VCDMachineTemplate
- func (in *VCDMachineTemplate) DeepCopyInto(out *VCDMachineTemplate)
- func (in *VCDMachineTemplate) DeepCopyObject() runtime.Object
- func (*VCDMachineTemplate) Hub()
- func (r *VCDMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- type VCDMachineTemplateList
- type VCDMachineTemplateResource
- type VCDMachineTemplateSpec
- type VCDMachineTemplateStatus
- type VCDResource
- type VCDResourceMap
- type VCDResources
Constants ¶
const ( // MachineFinalizer allows ReconcileDockerMachine to clean up resources associated with AWSMachine before // removing it from the apiserver. MachineFinalizer = "vcdmachine.infrastructure.cluster.x-k8s.io" VCDProviderID = "vmware-cloud-director" )
const ( // ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before // removing it from the apiserver. ClusterFinalizer = "vcdcluster.infrastructure.cluster.x-k8s.io" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type APIEndpoint ¶
type APIEndpoint struct { // Host is the hostname on which the API server is serving. Host string `json:"host"` // Port is the port on which the API server is serving. Port int `json:"port"` }
APIEndpoint represents a reachable Kubernetes API endpoint.
func (*APIEndpoint) DeepCopy ¶
func (in *APIEndpoint) DeepCopy() *APIEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.
func (*APIEndpoint) DeepCopyInto ¶
func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerConfig ¶
type LoadBalancerConfig struct { // UseOneArm defines the intent to une OneArm when upgrading CAPVCD from 0.5.x to 1.0.0 UseOneArm bool `json:"useOneArm,omitempty"` VipSubnet string `json:"vipSubnet,omitempty"` }
LoadBalancerConfig defines load-balancer configuration for the Cluster both for the control plane nodes and for the CPI
func (*LoadBalancerConfig) DeepCopy ¶
func (in *LoadBalancerConfig) DeepCopy() *LoadBalancerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerConfig.
func (*LoadBalancerConfig) DeepCopyInto ¶
func (in *LoadBalancerConfig) DeepCopyInto(out *LoadBalancerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
type Ports struct { HTTP int32 `json:"http,omitempty"` HTTPS int32 `json:"https,omitempty"` TCP int32 `json:"tcp,omitempty"` }
Ports :
func (*Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyConfig ¶
type ProxyConfig struct { HTTPProxy string `json:"httpProxy,omitempty"` HTTPSProxy string `json:"httpsProxy,omitempty"` NoProxy string `json:"noProxy,omitempty"` }
ProxyConfig defines HTTP proxy environment variables for containerd
func (*ProxyConfig) DeepCopy ¶
func (in *ProxyConfig) DeepCopy() *ProxyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.
func (*ProxyConfig) DeepCopyInto ¶
func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserCredentialsContext ¶
type UserCredentialsContext struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` RefreshToken string `json:"refreshToken,omitempty"` SecretRef *v1.SecretReference `json:"secretRef,omitempty"` }
func (*UserCredentialsContext) DeepCopy ¶
func (in *UserCredentialsContext) DeepCopy() *UserCredentialsContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserCredentialsContext.
func (*UserCredentialsContext) DeepCopyInto ¶
func (in *UserCredentialsContext) DeepCopyInto(out *UserCredentialsContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDCluster ¶
type VCDCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec VCDClusterSpec `json:"spec"` Status VCDClusterStatus `json:"status,omitempty"` }
VCDCluster is the Schema for the vcdclusters API
func (*VCDCluster) DeepCopy ¶
func (in *VCDCluster) DeepCopy() *VCDCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDCluster.
func (*VCDCluster) DeepCopyInto ¶
func (in *VCDCluster) DeepCopyInto(out *VCDCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDCluster) DeepCopyObject ¶
func (in *VCDCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDCluster) Default ¶
func (r *VCDCluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*VCDCluster) GetConditions ¶
func (c *VCDCluster) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*VCDCluster) Hub ¶
func (*VCDCluster) Hub()
func (*VCDCluster) SetConditions ¶
func (c *VCDCluster) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*VCDCluster) SetupWebhookWithManager ¶
func (r *VCDCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VCDCluster) ValidateCreate ¶
func (r *VCDCluster) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*VCDCluster) ValidateDelete ¶
func (r *VCDCluster) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*VCDCluster) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type VCDClusterList ¶
type VCDClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VCDCluster `json:"items"` }
VCDClusterList contains a list of VCDCluster
func (*VCDClusterList) DeepCopy ¶
func (in *VCDClusterList) DeepCopy() *VCDClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterList.
func (*VCDClusterList) DeepCopyInto ¶
func (in *VCDClusterList) DeepCopyInto(out *VCDClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDClusterList) DeepCopyObject ¶
func (in *VCDClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDClusterList) Hub ¶
func (*VCDClusterList) Hub()
type VCDClusterSpec ¶
type VCDClusterSpec struct { // +optional ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint"` // +kubebuilder:validation:Required Site string `json:"site"` // +kubebuilder:validation:Required Org string `json:"org"` // +kubebuilder:validation:Required Ovdc string `json:"ovdc"` // +kubebuilder:validation:Required OvdcNetwork string `json:"ovdcNetwork"` // +kubebuilder:validation:Required UserCredentialsContext UserCredentialsContext `json:"userContext"` // + optional RDEId string `json:"rdeId,omitempty"` // +optional ParentUID string `json:"parentUid,omitempty"` // +optional //+kubebuilder:default=false UseAsManagementCluster bool `json:"useAsManagementCluster,omitempty"` // +optional ProxyConfigSpec ProxyConfig `json:"proxyConfigSpec,omitempty"` // +optional LoadBalancerConfigSpec LoadBalancerConfig `json:"loadBalancerConfigSpec,omitempty"` }
VCDClusterSpec defines the desired state of VCDCluster
func (*VCDClusterSpec) DeepCopy ¶
func (in *VCDClusterSpec) DeepCopy() *VCDClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterSpec.
func (*VCDClusterSpec) DeepCopyInto ¶
func (in *VCDClusterSpec) DeepCopyInto(out *VCDClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDClusterStatus ¶
type VCDClusterStatus struct { // Ready denotes that the vcd cluster (infrastructure) is ready. // +kubebuilder:default=false Ready bool `json:"ready"` // RdeVersionInUse indicates the version of capvcdCluster entity type used by CAPVCD. // +kubebuilder:default="1.1.0" RdeVersionInUse string `json:"rdeVersionInUse"` // MetadataUpdated denotes that the metadata of Vapp is updated. // +optional VAppMetadataUpdated bool `json:"vappMetadataUpdated,omitempty"` // Conditions defines current service state of the VCDCluster. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // optional Site string `json:"site,omitempty"` // optional VcdResourceMap VCDResourceMap `json:"vcdResourceMap,omitempty"` // optional Org string `json:"org,omitempty"` // optional Ovdc string `json:"ovdc,omitempty"` // optional OvdcNetwork string `json:"ovdcNetwork,omitempty"` // +optional InfraId string `json:"infraId,omitempty"` // +optional ParentUID string `json:"parentUid,omitempty"` // +optional UseAsManagementCluster bool `json:"useAsManagementCluster,omitempty"` // +optional ProxyConfig ProxyConfig `json:"proxyConfig,omitempty"` // +optional LoadBalancerConfig LoadBalancerConfig `json:"loadBalancerConfig,omitempty"` }
VCDClusterStatus defines the observed state of VCDCluster
func (*VCDClusterStatus) DeepCopy ¶
func (in *VCDClusterStatus) DeepCopy() *VCDClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterStatus.
func (*VCDClusterStatus) DeepCopyInto ¶
func (in *VCDClusterStatus) DeepCopyInto(out *VCDClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDClusterTemplate ¶
type VCDClusterTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VCDClusterTemplateSpec `json:"spec,omitempty"` }
VCDClusterTemplate is the Schema for the vcdclustertemplates API
func (*VCDClusterTemplate) DeepCopy ¶
func (in *VCDClusterTemplate) DeepCopy() *VCDClusterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterTemplate.
func (*VCDClusterTemplate) DeepCopyInto ¶
func (in *VCDClusterTemplate) DeepCopyInto(out *VCDClusterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDClusterTemplate) DeepCopyObject ¶
func (in *VCDClusterTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VCDClusterTemplateList ¶
type VCDClusterTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VCDClusterTemplate `json:"items"` }
VCDClusterTemplateList contains a list of VCDClusterTemplate
func (*VCDClusterTemplateList) DeepCopy ¶
func (in *VCDClusterTemplateList) DeepCopy() *VCDClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterTemplateList.
func (*VCDClusterTemplateList) DeepCopyInto ¶
func (in *VCDClusterTemplateList) DeepCopyInto(out *VCDClusterTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDClusterTemplateList) DeepCopyObject ¶
func (in *VCDClusterTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VCDClusterTemplateResource ¶
type VCDClusterTemplateResource struct {
Spec VCDClusterSpec `json:"spec"`
}
func (*VCDClusterTemplateResource) DeepCopy ¶
func (in *VCDClusterTemplateResource) DeepCopy() *VCDClusterTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterTemplateResource.
func (*VCDClusterTemplateResource) DeepCopyInto ¶
func (in *VCDClusterTemplateResource) DeepCopyInto(out *VCDClusterTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDClusterTemplateSpec ¶
type VCDClusterTemplateSpec struct {
Template VCDClusterTemplateResource `json:"template"`
}
VCDClusterTemplateSpec defines the desired state of VCDClusterTemplate
func (*VCDClusterTemplateSpec) DeepCopy ¶
func (in *VCDClusterTemplateSpec) DeepCopy() *VCDClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDClusterTemplateSpec.
func (*VCDClusterTemplateSpec) DeepCopyInto ¶
func (in *VCDClusterTemplateSpec) DeepCopyInto(out *VCDClusterTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDMachine ¶
type VCDMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VCDMachineSpec `json:"spec,omitempty"` Status VCDMachineStatus `json:"status,omitempty"` }
VCDMachine is the Schema for the vcdmachines API
func (*VCDMachine) DeepCopy ¶
func (in *VCDMachine) DeepCopy() *VCDMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachine.
func (*VCDMachine) DeepCopyInto ¶
func (in *VCDMachine) DeepCopyInto(out *VCDMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDMachine) DeepCopyObject ¶
func (in *VCDMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDMachine) Default ¶
func (r *VCDMachine) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*VCDMachine) GetConditions ¶
func (c *VCDMachine) GetConditions() clusterv1.Conditions
GetConditions returns the set of conditions for this object.
func (*VCDMachine) Hub ¶
func (*VCDMachine) Hub()
func (*VCDMachine) SetConditions ¶
func (c *VCDMachine) SetConditions(conditions clusterv1.Conditions)
SetConditions sets the conditions on this object.
func (*VCDMachine) SetupWebhookWithManager ¶
func (r *VCDMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VCDMachine) ValidateCreate ¶
func (r *VCDMachine) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*VCDMachine) ValidateDelete ¶
func (r *VCDMachine) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*VCDMachine) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type VCDMachineList ¶
type VCDMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VCDMachine `json:"items"` }
VCDMachineList contains a list of VCDMachine
func (*VCDMachineList) DeepCopy ¶
func (in *VCDMachineList) DeepCopy() *VCDMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineList.
func (*VCDMachineList) DeepCopyInto ¶
func (in *VCDMachineList) DeepCopyInto(out *VCDMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDMachineList) DeepCopyObject ¶
func (in *VCDMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDMachineList) Hub ¶
func (*VCDMachineList) Hub()
type VCDMachineSpec ¶
type VCDMachineSpec struct { // ProviderID will be the container name in ProviderID format (vmware-cloud-director://<vm id>) // +optional ProviderID *string `json:"providerID,omitempty"` // Catalog hosting templates // +optional Catalog string `json:"catalog,omitempty"` // TemplatePath is the path of the template OVA that is to be used // +optional Template string `json:"template,omitempty"` // SizingPolicy is the sizing policy to be used on this machine. // If no sizing policy is specified, default sizing policy will be used to create the nodes // +optional SizingPolicy string `json:"sizingPolicy,omitempty"` // PlacementPolicy is the placement policy to be used on this machine. // +optional PlacementPolicy string `json:"placementPolicy,omitempty"` // StorageProfile is the storage profile to be used on this machine // +optional StorageProfile string `json:"storageProfile,omitempty"` // DiskSize is the size, in bytes, of the disk for this machine // +optional DiskSize resource.Quantity `json:"diskSize,omitempty"` // Bootstrapped is true when the kubeadm bootstrapping has been run // against this machine // +optional Bootstrapped bool `json:"bootstrapped,omitempty"` // EnableNvidiaGPU is true when a VM should be created with the relevant binaries installed // If true, then an appropriate placement policy should be set // +optional EnableNvidiaGPU bool `json:"enableNvidiaGPU,omitempty"` // ExtraOvdcNetworks is the list of extra Ovdc Networks that are mounted to machines. // VCDClusterSpec.OvdcNetwork is always attached regardless of this field. // +optional ExtraOvdcNetworks []string `json:"extraOvdcNetworks,omitempty"` // VmNamingTemplate is go template to generate VM names based on Machine and VCDMachine CRs. // Functions of Sprig library are supported. See https://github.com/Masterminds/sprig // Immutable field. machine.Name is used as VM name when this field is empty. // +optional VmNamingTemplate string `json:"vmNamingTemplate,omitempty"` }
VCDMachineSpec defines the desired state of VCDMachine
func (*VCDMachineSpec) DeepCopy ¶
func (in *VCDMachineSpec) DeepCopy() *VCDMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineSpec.
func (*VCDMachineSpec) DeepCopyInto ¶
func (in *VCDMachineSpec) DeepCopyInto(out *VCDMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDMachineStatus ¶
type VCDMachineStatus struct { // ProviderID will be the container name in ProviderID format (vmware-cloud-director://<vm id>) // +optional ProviderID *string `json:"providerID,omitempty"` // Ready denotes that the machine (docker container) is ready // +optional Ready bool `json:"ready"` // Addresses contains the associated addresses for the docker machine. // +optional Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"` // Template is the path of the template OVA that is to be used // +optional Template string `json:"template,omitempty"` // SizingPolicy is the sizing policy to be used on this machine. // +optional SizingPolicy string `json:"sizingPolicy,omitempty"` // PlacementPolicy is the placement policy to be used on this machine. // +optional PlacementPolicy string `json:"placementPolicy,omitempty"` // NvidiaGPUEnabled is true when a VM should be created with the relevant binaries installed // +optional NvidiaGPUEnabled bool `json:"nvidiaGpuEnabled,omitempty"` // DiskSize is the size, in bytes, of the disk for this machine // +optional DiskSize resource.Quantity `json:"diskSize,omitempty"` // Conditions defines current service state of the DockerMachine. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
VCDMachineStatus defines the observed state of VCDMachine
func (*VCDMachineStatus) DeepCopy ¶
func (in *VCDMachineStatus) DeepCopy() *VCDMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineStatus.
func (*VCDMachineStatus) DeepCopyInto ¶
func (in *VCDMachineStatus) DeepCopyInto(out *VCDMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDMachineTemplate ¶
type VCDMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VCDMachineTemplateSpec `json:"spec,omitempty"` Status VCDMachineTemplateStatus `json:"status,omitempty"` }
VCDMachineTemplate is the Schema for the vcdmachinetemplates API
func (*VCDMachineTemplate) DeepCopy ¶
func (in *VCDMachineTemplate) DeepCopy() *VCDMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineTemplate.
func (*VCDMachineTemplate) DeepCopyInto ¶
func (in *VCDMachineTemplate) DeepCopyInto(out *VCDMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDMachineTemplate) DeepCopyObject ¶
func (in *VCDMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDMachineTemplate) Hub ¶
func (*VCDMachineTemplate) Hub()
func (*VCDMachineTemplate) SetupWebhookWithManager ¶
func (r *VCDMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
type VCDMachineTemplateList ¶
type VCDMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VCDMachineTemplate `json:"items"` }
VCDMachineTemplateList contains a list of VCDMachineTemplate
func (*VCDMachineTemplateList) DeepCopy ¶
func (in *VCDMachineTemplateList) DeepCopy() *VCDMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineTemplateList.
func (*VCDMachineTemplateList) DeepCopyInto ¶
func (in *VCDMachineTemplateList) DeepCopyInto(out *VCDMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VCDMachineTemplateList) DeepCopyObject ¶
func (in *VCDMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VCDMachineTemplateList) Hub ¶
func (*VCDMachineTemplateList) Hub()
type VCDMachineTemplateResource ¶
type VCDMachineTemplateResource struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty"` // Spec is the specification of the desired behavior of the machine. Spec VCDMachineSpec `json:"spec"` }
func (*VCDMachineTemplateResource) DeepCopy ¶
func (in *VCDMachineTemplateResource) DeepCopy() *VCDMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineTemplateResource.
func (*VCDMachineTemplateResource) DeepCopyInto ¶
func (in *VCDMachineTemplateResource) DeepCopyInto(out *VCDMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDMachineTemplateSpec ¶
type VCDMachineTemplateSpec struct {
Template VCDMachineTemplateResource `json:"template"`
}
VCDMachineTemplateSpec defines the desired state of VCDMachineTemplate
func (*VCDMachineTemplateSpec) DeepCopy ¶
func (in *VCDMachineTemplateSpec) DeepCopy() *VCDMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineTemplateSpec.
func (*VCDMachineTemplateSpec) DeepCopyInto ¶
func (in *VCDMachineTemplateSpec) DeepCopyInto(out *VCDMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDMachineTemplateStatus ¶
type VCDMachineTemplateStatus struct { }
VCDMachineTemplateStatus defines the observed state of VCDMachineTemplate
func (*VCDMachineTemplateStatus) DeepCopy ¶
func (in *VCDMachineTemplateStatus) DeepCopy() *VCDMachineTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDMachineTemplateStatus.
func (*VCDMachineTemplateStatus) DeepCopyInto ¶
func (in *VCDMachineTemplateStatus) DeepCopyInto(out *VCDMachineTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDResource ¶
type VCDResource struct { Type string `json:"type,omitempty"` ID string `json:"id"` Name string `json:"name"` }
VCDResource restores the data structure for some VCD Resources
func (*VCDResource) DeepCopy ¶
func (in *VCDResource) DeepCopy() *VCDResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDResource.
func (*VCDResource) DeepCopyInto ¶
func (in *VCDResource) DeepCopyInto(out *VCDResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDResourceMap ¶
type VCDResourceMap struct {
Ovdcs VCDResources `json:"ovdcs,omitempty"`
}
VCDResourceMap provides a structured way to store and retrieve information about VCD resources
func (*VCDResourceMap) DeepCopy ¶
func (in *VCDResourceMap) DeepCopy() *VCDResourceMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDResourceMap.
func (*VCDResourceMap) DeepCopyInto ¶
func (in *VCDResourceMap) DeepCopyInto(out *VCDResourceMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCDResources ¶
type VCDResources []VCDResource
VCDResources stores the latest ID and name of VCD resources for specific resource types.
func (VCDResources) DeepCopy ¶
func (in VCDResources) DeepCopy() VCDResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCDResources.
func (VCDResources) DeepCopyInto ¶
func (in VCDResources) DeepCopyInto(out *VCDResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.