v1alpha4

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

+groupName=infrastructure.cluster.x-k8s.io +k8s:conversion-gen=github.com/vmware/cluster-api-provider-cloud-director/api/v1beta2

Package v1alpha4 contains API Schema definitions for the infrastructure v1alpha4 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
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"
)
View Source
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

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha4"}

	// 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

func Convert_v1alpha4_APIEndpoint_To_v1beta2_APIEndpoint

func Convert_v1alpha4_APIEndpoint_To_v1beta2_APIEndpoint(in *APIEndpoint, out *v1beta2.APIEndpoint, s conversion.Scope) error

Convert_v1alpha4_APIEndpoint_To_v1beta2_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha4_UserCredentialsContext_To_v1beta2_UserCredentialsContext

func Convert_v1alpha4_UserCredentialsContext_To_v1beta2_UserCredentialsContext(in *UserCredentialsContext, out *v1beta2.UserCredentialsContext, s conversion.Scope) error

Convert_v1alpha4_UserCredentialsContext_To_v1beta2_UserCredentialsContext is an autogenerated conversion function.

func Convert_v1alpha4_VCDClusterList_To_v1beta2_VCDClusterList

func Convert_v1alpha4_VCDClusterList_To_v1beta2_VCDClusterList(in *VCDClusterList, out *v1beta2.VCDClusterList, s conversion.Scope) error

Convert_v1alpha4_VCDClusterList_To_v1beta2_VCDClusterList is an autogenerated conversion function.

func Convert_v1alpha4_VCDClusterSpec_To_v1beta2_VCDClusterSpec

func Convert_v1alpha4_VCDClusterSpec_To_v1beta2_VCDClusterSpec(in *VCDClusterSpec, out *v1beta2.VCDClusterSpec, s conversion.Scope) error

func Convert_v1alpha4_VCDClusterStatus_To_v1beta2_VCDClusterStatus

func Convert_v1alpha4_VCDClusterStatus_To_v1beta2_VCDClusterStatus(in *VCDClusterStatus, out *v1beta2.VCDClusterStatus, s conversion.Scope) error

Convert_v1alpha4_VCDClusterStatus_To_v1beta2_VCDClusterStatus is an autogenerated conversion function.

func Convert_v1alpha4_VCDCluster_To_v1beta2_VCDCluster

func Convert_v1alpha4_VCDCluster_To_v1beta2_VCDCluster(in *VCDCluster, out *v1beta2.VCDCluster, s conversion.Scope) error

Convert_v1alpha4_VCDCluster_To_v1beta2_VCDCluster is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineList_To_v1beta2_VCDMachineList

func Convert_v1alpha4_VCDMachineList_To_v1beta2_VCDMachineList(in *VCDMachineList, out *v1beta2.VCDMachineList, s conversion.Scope) error

Convert_v1alpha4_VCDMachineList_To_v1beta2_VCDMachineList is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineSpec_To_v1beta2_VCDMachineSpec

func Convert_v1alpha4_VCDMachineSpec_To_v1beta2_VCDMachineSpec(in *VCDMachineSpec, out *v1beta2.VCDMachineSpec, s conversion.Scope) error

func Convert_v1alpha4_VCDMachineStatus_To_v1beta2_VCDMachineStatus

func Convert_v1alpha4_VCDMachineStatus_To_v1beta2_VCDMachineStatus(in *VCDMachineStatus, out *v1beta2.VCDMachineStatus, s conversion.Scope) error

Convert_v1alpha4_VCDMachineStatus_To_v1beta2_VCDMachineStatus is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineTemplateList_To_v1beta2_VCDMachineTemplateList

func Convert_v1alpha4_VCDMachineTemplateList_To_v1beta2_VCDMachineTemplateList(in *VCDMachineTemplateList, out *v1beta2.VCDMachineTemplateList, s conversion.Scope) error

Convert_v1alpha4_VCDMachineTemplateList_To_v1beta2_VCDMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineTemplateResource_To_v1beta2_VCDMachineTemplateResource

func Convert_v1alpha4_VCDMachineTemplateResource_To_v1beta2_VCDMachineTemplateResource(in *VCDMachineTemplateResource, out *v1beta2.VCDMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha4_VCDMachineTemplateResource_To_v1beta2_VCDMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineTemplateSpec_To_v1beta2_VCDMachineTemplateSpec

func Convert_v1alpha4_VCDMachineTemplateSpec_To_v1beta2_VCDMachineTemplateSpec(in *VCDMachineTemplateSpec, out *v1beta2.VCDMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha4_VCDMachineTemplateSpec_To_v1beta2_VCDMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineTemplateStatus_To_v1beta2_VCDMachineTemplateStatus

func Convert_v1alpha4_VCDMachineTemplateStatus_To_v1beta2_VCDMachineTemplateStatus(in *VCDMachineTemplateStatus, out *v1beta2.VCDMachineTemplateStatus, s conversion.Scope) error

Convert_v1alpha4_VCDMachineTemplateStatus_To_v1beta2_VCDMachineTemplateStatus is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachineTemplate_To_v1beta2_VCDMachineTemplate

func Convert_v1alpha4_VCDMachineTemplate_To_v1beta2_VCDMachineTemplate(in *VCDMachineTemplate, out *v1beta2.VCDMachineTemplate, s conversion.Scope) error

Convert_v1alpha4_VCDMachineTemplate_To_v1beta2_VCDMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha4_VCDMachine_To_v1beta2_VCDMachine

func Convert_v1alpha4_VCDMachine_To_v1beta2_VCDMachine(in *VCDMachine, out *v1beta2.VCDMachine, s conversion.Scope) error

Convert_v1alpha4_VCDMachine_To_v1beta2_VCDMachine is an autogenerated conversion function.

func Convert_v1beta2_APIEndpoint_To_v1alpha4_APIEndpoint

func Convert_v1beta2_APIEndpoint_To_v1alpha4_APIEndpoint(in *v1beta2.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_v1beta2_APIEndpoint_To_v1alpha4_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta2_UserCredentialsContext_To_v1alpha4_UserCredentialsContext

func Convert_v1beta2_UserCredentialsContext_To_v1alpha4_UserCredentialsContext(in *v1beta2.UserCredentialsContext, out *UserCredentialsContext, s conversion.Scope) error

func Convert_v1beta2_VCDClusterList_To_v1alpha4_VCDClusterList

func Convert_v1beta2_VCDClusterList_To_v1alpha4_VCDClusterList(in *v1beta2.VCDClusterList, out *VCDClusterList, s conversion.Scope) error

Convert_v1beta2_VCDClusterList_To_v1alpha4_VCDClusterList is an autogenerated conversion function.

func Convert_v1beta2_VCDClusterSpec_To_v1alpha4_VCDClusterSpec

func Convert_v1beta2_VCDClusterSpec_To_v1alpha4_VCDClusterSpec(in *v1beta2.VCDClusterSpec, out *VCDClusterSpec, s conversion.Scope) error

func Convert_v1beta2_VCDClusterStatus_To_v1alpha4_VCDClusterStatus

func Convert_v1beta2_VCDClusterStatus_To_v1alpha4_VCDClusterStatus(in *v1beta2.VCDClusterStatus, out *VCDClusterStatus, s conversion.Scope) error

func Convert_v1beta2_VCDCluster_To_v1alpha4_VCDCluster

func Convert_v1beta2_VCDCluster_To_v1alpha4_VCDCluster(in *v1beta2.VCDCluster, out *VCDCluster, s conversion.Scope) error

Convert_v1beta2_VCDCluster_To_v1alpha4_VCDCluster is an autogenerated conversion function.

func Convert_v1beta2_VCDMachineList_To_v1alpha4_VCDMachineList

func Convert_v1beta2_VCDMachineList_To_v1alpha4_VCDMachineList(in *v1beta2.VCDMachineList, out *VCDMachineList, s conversion.Scope) error

Convert_v1beta2_VCDMachineList_To_v1alpha4_VCDMachineList is an autogenerated conversion function.

func Convert_v1beta2_VCDMachineSpec_To_v1alpha4_VCDMachineSpec

func Convert_v1beta2_VCDMachineSpec_To_v1alpha4_VCDMachineSpec(in *v1beta2.VCDMachineSpec, out *VCDMachineSpec, s conversion.Scope) error

func Convert_v1beta2_VCDMachineStatus_To_v1alpha4_VCDMachineStatus

func Convert_v1beta2_VCDMachineStatus_To_v1alpha4_VCDMachineStatus(in *v1beta2.VCDMachineStatus, out *VCDMachineStatus, s conversion.Scope) error

func Convert_v1beta2_VCDMachineTemplateList_To_v1alpha4_VCDMachineTemplateList

func Convert_v1beta2_VCDMachineTemplateList_To_v1alpha4_VCDMachineTemplateList(in *v1beta2.VCDMachineTemplateList, out *VCDMachineTemplateList, s conversion.Scope) error

Convert_v1beta2_VCDMachineTemplateList_To_v1alpha4_VCDMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta2_VCDMachineTemplateResource_To_v1alpha4_VCDMachineTemplateResource

func Convert_v1beta2_VCDMachineTemplateResource_To_v1alpha4_VCDMachineTemplateResource(in *v1beta2.VCDMachineTemplateResource, out *VCDMachineTemplateResource, s conversion.Scope) error

func Convert_v1beta2_VCDMachineTemplateSpec_To_v1alpha4_VCDMachineTemplateSpec

func Convert_v1beta2_VCDMachineTemplateSpec_To_v1alpha4_VCDMachineTemplateSpec(in *v1beta2.VCDMachineTemplateSpec, out *VCDMachineTemplateSpec, s conversion.Scope) error

Convert_v1beta2_VCDMachineTemplateSpec_To_v1alpha4_VCDMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1beta2_VCDMachineTemplateStatus_To_v1alpha4_VCDMachineTemplateStatus

func Convert_v1beta2_VCDMachineTemplateStatus_To_v1alpha4_VCDMachineTemplateStatus(in *v1beta2.VCDMachineTemplateStatus, out *VCDMachineTemplateStatus, s conversion.Scope) error

Convert_v1beta2_VCDMachineTemplateStatus_To_v1alpha4_VCDMachineTemplateStatus is an autogenerated conversion function.

func Convert_v1beta2_VCDMachineTemplate_To_v1alpha4_VCDMachineTemplate

func Convert_v1beta2_VCDMachineTemplate_To_v1alpha4_VCDMachineTemplate(in *v1beta2.VCDMachineTemplate, out *VCDMachineTemplate, s conversion.Scope) error

Convert_v1beta2_VCDMachineTemplate_To_v1alpha4_VCDMachineTemplate is an autogenerated conversion function.

func Convert_v1beta2_VCDMachine_To_v1alpha4_VCDMachine

func Convert_v1beta2_VCDMachine_To_v1alpha4_VCDMachine(in *v1beta2.VCDMachine, out *VCDMachine, s conversion.Scope) error

Convert_v1beta2_VCDMachine_To_v1alpha4_VCDMachine is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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 UserCredentialsContext

type UserCredentialsContext struct {
	Username     string `json:"username,omitempty"`
	Password     string `json:"password,omitempty"`
	RefreshToken string `json:"refreshToken,omitempty"`
}

func (*UserCredentialsContext) DeepCopy

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) ConvertFrom

func (dst *VCDCluster) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDCluster) ConvertTo

func (src *VCDCluster) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this (v1alpha4) VCDCluster to the Hub version (v1beta2).

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) GetConditions

func (c *VCDCluster) GetConditions() clusterv1.Conditions

GetConditions returns the set of conditions for this object.

func (*VCDCluster) SetConditions

func (c *VCDCluster) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the conditions on this object.

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) ConvertFrom

func (dst *VCDClusterList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDClusterList) ConvertTo

func (src *VCDClusterList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VCDClusterList to the Hub version (v1beta2).

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.

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
	DefaultComputePolicy string `json:"defaultComputePolicy,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.
	Ready bool `json:"ready"`

	// Conditions defines current service state of the VCDCluster.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
	// +optional
	InfraId string `json:"infraId,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 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) ConvertFrom

func (dst *VCDMachine) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDMachine) ConvertTo

func (src *VCDMachine) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this (v1alpha4) VCDMachine to the Hub version (v1beta2).

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) GetConditions

func (c *VCDMachine) GetConditions() clusterv1.Conditions

GetConditions returns the set of conditions for this object.

func (*VCDMachine) SetConditions

func (c *VCDMachine) SetConditions(conditions clusterv1.Conditions)

SetConditions sets the conditions on this object.

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) ConvertFrom

func (dst *VCDMachineList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDMachineList) ConvertTo

func (src *VCDMachineList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VCDMachineList to the Hub version (v1beta2).

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.

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

	// ComputePolicy is the compute policy to be used on this machine
	// +optional
	ComputePolicy string `json:"computePolicy,omitempty"`

	// Bootstrapped is true when the kubeadm bootstrapping has been run
	// against this machine
	// +optional
	Bootstrapped bool `json:"bootstrapped,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 {

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

	// 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) ConvertFrom

func (dst *VCDMachineTemplate) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDMachineTemplate) ConvertTo

func (src *VCDMachineTemplate) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this (v1alpha4) VCDMachineTemplate to the Hub version (v1beta2).

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.

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) ConvertFrom

func (dst *VCDMachineTemplateList) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1beta2) to this version (v1alpha4).

func (*VCDMachineTemplateList) ConvertTo

func (src *VCDMachineTemplateList) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this VCDMachineTemplateList to the Hub version (v1beta2).

func (*VCDMachineTemplateList) DeepCopy

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.

type VCDMachineTemplateResource

type VCDMachineTemplateResource struct {
	// Spec is the specification of the desired behavior of the machine.
	Spec VCDMachineSpec `json:"spec"`
}

func (*VCDMachineTemplateResource) DeepCopy

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

func (*VCDMachineTemplateResource) DeepCopyInto

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

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

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.

Jump to

Keyboard shortcuts

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