v1beta1

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-cloudstack/api/v1beta3

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

Index

Constants

View Source
const (
	ClusterFinalizer           = "cloudstackcluster.infrastructure.cluster.x-k8s.io"
	CloudStackClusterLabelName = "cloudstackcluster.infrastructure.cluster.x-k8s.io/name"
	NetworkTypeIsolated        = "Isolated"
	NetworkTypeShared          = "Shared"
)
View Source
const (
	// The presence of a finalizer prevents CAPI from deleting the corresponding CAPI data.
	MachineFinalizer = "cloudstackmachine.infrastructure.cluster.x-k8s.io"
	ProAffinity      = "pro"
	AntiAffinity     = "anti"
	NoAffinity       = "no"
)
View Source
const (
	AffinityGroupFinalizer = "affinitygroup.infrastructure.cluster.x-k8s.io"
)
View Source
const DefaultEndpointCredential = "global"
View Source
const (
	// The presence of a finalizer prevents CAPI from deleting the corresponding CAPI data.
	IsolatedNetworkFinalizer = "cloudstackisolatednetwork.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	ZoneFinalizer = "cloudstackzone.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: "v1beta1"}

	// 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_v1beta1_CloudStackAffinityGroupList_To_v1beta3_CloudStackAffinityGroupList added in v0.4.9

func Convert_v1beta1_CloudStackAffinityGroupList_To_v1beta3_CloudStackAffinityGroupList(in *CloudStackAffinityGroupList, out *v1beta3.CloudStackAffinityGroupList, s conversion.Scope) error

Convert_v1beta1_CloudStackAffinityGroupList_To_v1beta3_CloudStackAffinityGroupList is an autogenerated conversion function.

func Convert_v1beta1_CloudStackAffinityGroupSpec_To_v1beta3_CloudStackAffinityGroupSpec added in v0.4.9

func Convert_v1beta1_CloudStackAffinityGroupSpec_To_v1beta3_CloudStackAffinityGroupSpec(in *CloudStackAffinityGroupSpec, out *v1beta3.CloudStackAffinityGroupSpec, s conversion.Scope) error

Convert_v1beta1_CloudStackAffinityGroupSpec_To_v1beta3_CloudStackAffinityGroupSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudStackAffinityGroupStatus_To_v1beta3_CloudStackAffinityGroupStatus added in v0.4.9

func Convert_v1beta1_CloudStackAffinityGroupStatus_To_v1beta3_CloudStackAffinityGroupStatus(in *CloudStackAffinityGroupStatus, out *v1beta3.CloudStackAffinityGroupStatus, s conversion.Scope) error

Convert_v1beta1_CloudStackAffinityGroupStatus_To_v1beta3_CloudStackAffinityGroupStatus is an autogenerated conversion function.

func Convert_v1beta1_CloudStackAffinityGroup_To_v1beta3_CloudStackAffinityGroup added in v0.4.9

func Convert_v1beta1_CloudStackAffinityGroup_To_v1beta3_CloudStackAffinityGroup(in *CloudStackAffinityGroup, out *v1beta3.CloudStackAffinityGroup, s conversion.Scope) error

Convert_v1beta1_CloudStackAffinityGroup_To_v1beta3_CloudStackAffinityGroup is an autogenerated conversion function.

func Convert_v1beta1_CloudStackCluster_To_v1beta3_CloudStackCluster added in v0.4.9

func Convert_v1beta1_CloudStackCluster_To_v1beta3_CloudStackCluster(in *CloudStackCluster, out *v1beta3.CloudStackCluster, s conv.Scope) error

func Convert_v1beta1_CloudStackIsolatedNetworkList_To_v1beta3_CloudStackIsolatedNetworkList added in v0.4.9

func Convert_v1beta1_CloudStackIsolatedNetworkList_To_v1beta3_CloudStackIsolatedNetworkList(in *CloudStackIsolatedNetworkList, out *v1beta3.CloudStackIsolatedNetworkList, s conversion.Scope) error

Convert_v1beta1_CloudStackIsolatedNetworkList_To_v1beta3_CloudStackIsolatedNetworkList is an autogenerated conversion function.

func Convert_v1beta1_CloudStackIsolatedNetworkSpec_To_v1beta3_CloudStackIsolatedNetworkSpec added in v0.4.9

func Convert_v1beta1_CloudStackIsolatedNetworkSpec_To_v1beta3_CloudStackIsolatedNetworkSpec(in *CloudStackIsolatedNetworkSpec, out *v1beta3.CloudStackIsolatedNetworkSpec, s conversion.Scope) error

Convert_v1beta1_CloudStackIsolatedNetworkSpec_To_v1beta3_CloudStackIsolatedNetworkSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudStackIsolatedNetworkStatus_To_v1beta3_CloudStackIsolatedNetworkStatus added in v0.4.9

func Convert_v1beta1_CloudStackIsolatedNetworkStatus_To_v1beta3_CloudStackIsolatedNetworkStatus(in *CloudStackIsolatedNetworkStatus, out *v1beta3.CloudStackIsolatedNetworkStatus, s conversion.Scope) error

Convert_v1beta1_CloudStackIsolatedNetworkStatus_To_v1beta3_CloudStackIsolatedNetworkStatus is an autogenerated conversion function.

func Convert_v1beta1_CloudStackIsolatedNetwork_To_v1beta3_CloudStackIsolatedNetwork added in v0.4.9

func Convert_v1beta1_CloudStackIsolatedNetwork_To_v1beta3_CloudStackIsolatedNetwork(in *CloudStackIsolatedNetwork, out *v1beta3.CloudStackIsolatedNetwork, s conversion.Scope) error

Convert_v1beta1_CloudStackIsolatedNetwork_To_v1beta3_CloudStackIsolatedNetwork is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineList_To_v1beta3_CloudStackMachineList added in v0.4.9

func Convert_v1beta1_CloudStackMachineList_To_v1beta3_CloudStackMachineList(in *CloudStackMachineList, out *v1beta3.CloudStackMachineList, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineList_To_v1beta3_CloudStackMachineList is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineSpec_To_v1beta3_CloudStackMachineSpec added in v0.4.9

func Convert_v1beta1_CloudStackMachineSpec_To_v1beta3_CloudStackMachineSpec(in *CloudStackMachineSpec, out *v1beta3.CloudStackMachineSpec, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineSpec_To_v1beta3_CloudStackMachineSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineStateCheckerList_To_v1beta3_CloudStackMachineStateCheckerList added in v0.4.9

func Convert_v1beta1_CloudStackMachineStateCheckerList_To_v1beta3_CloudStackMachineStateCheckerList(in *CloudStackMachineStateCheckerList, out *v1beta3.CloudStackMachineStateCheckerList, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineStateCheckerList_To_v1beta3_CloudStackMachineStateCheckerList is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineStateCheckerSpec_To_v1beta3_CloudStackMachineStateCheckerSpec added in v0.4.9

func Convert_v1beta1_CloudStackMachineStateCheckerSpec_To_v1beta3_CloudStackMachineStateCheckerSpec(in *CloudStackMachineStateCheckerSpec, out *v1beta3.CloudStackMachineStateCheckerSpec, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineStateCheckerSpec_To_v1beta3_CloudStackMachineStateCheckerSpec is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineStateCheckerStatus_To_v1beta3_CloudStackMachineStateCheckerStatus added in v0.4.9

func Convert_v1beta1_CloudStackMachineStateCheckerStatus_To_v1beta3_CloudStackMachineStateCheckerStatus(in *CloudStackMachineStateCheckerStatus, out *v1beta3.CloudStackMachineStateCheckerStatus, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineStateCheckerStatus_To_v1beta3_CloudStackMachineStateCheckerStatus is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineStateChecker_To_v1beta3_CloudStackMachineStateChecker added in v0.4.9

func Convert_v1beta1_CloudStackMachineStateChecker_To_v1beta3_CloudStackMachineStateChecker(in *CloudStackMachineStateChecker, out *v1beta3.CloudStackMachineStateChecker, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineStateChecker_To_v1beta3_CloudStackMachineStateChecker is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineStatus_To_v1beta3_CloudStackMachineStatus added in v0.4.9

func Convert_v1beta1_CloudStackMachineStatus_To_v1beta3_CloudStackMachineStatus(in *CloudStackMachineStatus, out *v1beta3.CloudStackMachineStatus, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineStatus_To_v1beta3_CloudStackMachineStatus is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineTemplateList_To_v1beta3_CloudStackMachineTemplateList added in v0.4.9

func Convert_v1beta1_CloudStackMachineTemplateList_To_v1beta3_CloudStackMachineTemplateList(in *CloudStackMachineTemplateList, out *v1beta3.CloudStackMachineTemplateList, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineTemplateList_To_v1beta3_CloudStackMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachineTemplateResource_To_v1beta3_CloudStackMachineTemplateResource added in v0.4.9

func Convert_v1beta1_CloudStackMachineTemplateResource_To_v1beta3_CloudStackMachineTemplateResource(in *CloudStackMachineTemplateResource, out *v1beta3.CloudStackMachineTemplateResource, s machineryconversion.Scope) error

func Convert_v1beta1_CloudStackMachineTemplateSpec_To_v1beta3_CloudStackMachineTemplateSpec added in v0.4.9

func Convert_v1beta1_CloudStackMachineTemplateSpec_To_v1beta3_CloudStackMachineTemplateSpec(in *CloudStackMachineTemplateSpec, out *v1beta3.CloudStackMachineTemplateSpec, s machineryconversion.Scope) error

func Convert_v1beta1_CloudStackMachineTemplate_To_v1beta3_CloudStackMachineTemplate added in v0.4.9

func Convert_v1beta1_CloudStackMachineTemplate_To_v1beta3_CloudStackMachineTemplate(in *CloudStackMachineTemplate, out *v1beta3.CloudStackMachineTemplate, s conversion.Scope) error

Convert_v1beta1_CloudStackMachineTemplate_To_v1beta3_CloudStackMachineTemplate is an autogenerated conversion function.

func Convert_v1beta1_CloudStackMachine_To_v1beta3_CloudStackMachine added in v0.4.9

func Convert_v1beta1_CloudStackMachine_To_v1beta3_CloudStackMachine(in *CloudStackMachine, out *v1beta3.CloudStackMachine, s conversion.Scope) error

Convert_v1beta1_CloudStackMachine_To_v1beta3_CloudStackMachine is an autogenerated conversion function.

func Convert_v1beta1_CloudStackResourceDiskOffering_To_v1beta3_CloudStackResourceDiskOffering added in v0.4.9

func Convert_v1beta1_CloudStackResourceDiskOffering_To_v1beta3_CloudStackResourceDiskOffering(in *CloudStackResourceDiskOffering, out *v1beta3.CloudStackResourceDiskOffering, s conversion.Scope) error

Convert_v1beta1_CloudStackResourceDiskOffering_To_v1beta3_CloudStackResourceDiskOffering is an autogenerated conversion function.

func Convert_v1beta1_CloudStackResourceIdentifier_To_v1beta3_CloudStackResourceIdentifier added in v0.4.9

func Convert_v1beta1_CloudStackResourceIdentifier_To_v1beta3_CloudStackResourceIdentifier(in *CloudStackResourceIdentifier, out *v1beta3.CloudStackResourceIdentifier, s conversion.Scope) error

Convert_v1beta1_CloudStackResourceIdentifier_To_v1beta3_CloudStackResourceIdentifier is an autogenerated conversion function.

func Convert_v1beta1_CloudStackZoneSpec_To_v1beta3_CloudStackZoneSpec added in v0.4.9

func Convert_v1beta1_CloudStackZoneSpec_To_v1beta3_CloudStackZoneSpec(in *CloudStackZoneSpec, out *v1beta3.CloudStackZoneSpec, s conversion.Scope) error

Convert_v1beta1_CloudStackZoneSpec_To_v1beta3_CloudStackZoneSpec is an autogenerated conversion function.

func Convert_v1beta1_Network_To_v1beta3_Network added in v0.4.9

func Convert_v1beta1_Network_To_v1beta3_Network(in *Network, out *v1beta3.Network, s conversion.Scope) error

Convert_v1beta1_Network_To_v1beta3_Network is an autogenerated conversion function.

func Convert_v1beta3_CloudStackAffinityGroupList_To_v1beta1_CloudStackAffinityGroupList added in v0.4.9

func Convert_v1beta3_CloudStackAffinityGroupList_To_v1beta1_CloudStackAffinityGroupList(in *v1beta3.CloudStackAffinityGroupList, out *CloudStackAffinityGroupList, s conversion.Scope) error

Convert_v1beta3_CloudStackAffinityGroupList_To_v1beta1_CloudStackAffinityGroupList is an autogenerated conversion function.

func Convert_v1beta3_CloudStackAffinityGroupSpec_To_v1beta1_CloudStackAffinityGroupSpec added in v0.4.9

func Convert_v1beta3_CloudStackAffinityGroupSpec_To_v1beta1_CloudStackAffinityGroupSpec(in *v1beta3.CloudStackAffinityGroupSpec, out *CloudStackAffinityGroupSpec, s machineryconversion.Scope) error

func Convert_v1beta3_CloudStackAffinityGroupStatus_To_v1beta1_CloudStackAffinityGroupStatus added in v0.4.9

func Convert_v1beta3_CloudStackAffinityGroupStatus_To_v1beta1_CloudStackAffinityGroupStatus(in *v1beta3.CloudStackAffinityGroupStatus, out *CloudStackAffinityGroupStatus, s conversion.Scope) error

Convert_v1beta3_CloudStackAffinityGroupStatus_To_v1beta1_CloudStackAffinityGroupStatus is an autogenerated conversion function.

func Convert_v1beta3_CloudStackAffinityGroup_To_v1beta1_CloudStackAffinityGroup added in v0.4.9

func Convert_v1beta3_CloudStackAffinityGroup_To_v1beta1_CloudStackAffinityGroup(in *v1beta3.CloudStackAffinityGroup, out *CloudStackAffinityGroup, s conversion.Scope) error

Convert_v1beta3_CloudStackAffinityGroup_To_v1beta1_CloudStackAffinityGroup is an autogenerated conversion function.

func Convert_v1beta3_CloudStackCluster_To_v1beta1_CloudStackCluster added in v0.4.9

func Convert_v1beta3_CloudStackCluster_To_v1beta1_CloudStackCluster(in *v1beta3.CloudStackCluster, out *CloudStackCluster, scope conv.Scope) error

func Convert_v1beta3_CloudStackIsolatedNetworkList_To_v1beta1_CloudStackIsolatedNetworkList added in v0.4.9

func Convert_v1beta3_CloudStackIsolatedNetworkList_To_v1beta1_CloudStackIsolatedNetworkList(in *v1beta3.CloudStackIsolatedNetworkList, out *CloudStackIsolatedNetworkList, s conversion.Scope) error

Convert_v1beta3_CloudStackIsolatedNetworkList_To_v1beta1_CloudStackIsolatedNetworkList is an autogenerated conversion function.

func Convert_v1beta3_CloudStackIsolatedNetworkSpec_To_v1beta1_CloudStackIsolatedNetworkSpec added in v0.4.9

func Convert_v1beta3_CloudStackIsolatedNetworkSpec_To_v1beta1_CloudStackIsolatedNetworkSpec(in *v1beta3.CloudStackIsolatedNetworkSpec, out *CloudStackIsolatedNetworkSpec, s machineryconversion.Scope) error

func Convert_v1beta3_CloudStackIsolatedNetworkStatus_To_v1beta1_CloudStackIsolatedNetworkStatus added in v0.4.9

func Convert_v1beta3_CloudStackIsolatedNetworkStatus_To_v1beta1_CloudStackIsolatedNetworkStatus(in *v1beta3.CloudStackIsolatedNetworkStatus, out *CloudStackIsolatedNetworkStatus, s conversion.Scope) error

Convert_v1beta3_CloudStackIsolatedNetworkStatus_To_v1beta1_CloudStackIsolatedNetworkStatus is an autogenerated conversion function.

func Convert_v1beta3_CloudStackIsolatedNetwork_To_v1beta1_CloudStackIsolatedNetwork added in v0.4.9

func Convert_v1beta3_CloudStackIsolatedNetwork_To_v1beta1_CloudStackIsolatedNetwork(in *v1beta3.CloudStackIsolatedNetwork, out *CloudStackIsolatedNetwork, s conversion.Scope) error

Convert_v1beta3_CloudStackIsolatedNetwork_To_v1beta1_CloudStackIsolatedNetwork is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineList_To_v1beta1_CloudStackMachineList added in v0.4.9

func Convert_v1beta3_CloudStackMachineList_To_v1beta1_CloudStackMachineList(in *v1beta3.CloudStackMachineList, out *CloudStackMachineList, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineList_To_v1beta1_CloudStackMachineList is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineSpec_To_v1beta1_CloudStackMachineSpec added in v0.4.9

func Convert_v1beta3_CloudStackMachineSpec_To_v1beta1_CloudStackMachineSpec(in *v1beta3.CloudStackMachineSpec, out *CloudStackMachineSpec, s machineryconversion.Scope) error

func Convert_v1beta3_CloudStackMachineStateCheckerList_To_v1beta1_CloudStackMachineStateCheckerList added in v0.4.9

func Convert_v1beta3_CloudStackMachineStateCheckerList_To_v1beta1_CloudStackMachineStateCheckerList(in *v1beta3.CloudStackMachineStateCheckerList, out *CloudStackMachineStateCheckerList, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineStateCheckerList_To_v1beta1_CloudStackMachineStateCheckerList is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineStateCheckerSpec_To_v1beta1_CloudStackMachineStateCheckerSpec added in v0.4.9

func Convert_v1beta3_CloudStackMachineStateCheckerSpec_To_v1beta1_CloudStackMachineStateCheckerSpec(in *v1beta3.CloudStackMachineStateCheckerSpec, out *CloudStackMachineStateCheckerSpec, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineStateCheckerSpec_To_v1beta1_CloudStackMachineStateCheckerSpec is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineStateCheckerStatus_To_v1beta1_CloudStackMachineStateCheckerStatus added in v0.4.9

func Convert_v1beta3_CloudStackMachineStateCheckerStatus_To_v1beta1_CloudStackMachineStateCheckerStatus(in *v1beta3.CloudStackMachineStateCheckerStatus, out *CloudStackMachineStateCheckerStatus, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineStateCheckerStatus_To_v1beta1_CloudStackMachineStateCheckerStatus is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineStateChecker_To_v1beta1_CloudStackMachineStateChecker added in v0.4.9

func Convert_v1beta3_CloudStackMachineStateChecker_To_v1beta1_CloudStackMachineStateChecker(in *v1beta3.CloudStackMachineStateChecker, out *CloudStackMachineStateChecker, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineStateChecker_To_v1beta1_CloudStackMachineStateChecker is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineStatus_To_v1beta1_CloudStackMachineStatus added in v0.4.9

func Convert_v1beta3_CloudStackMachineStatus_To_v1beta1_CloudStackMachineStatus(in *v1beta3.CloudStackMachineStatus, out *CloudStackMachineStatus, s machineryconversion.Scope) error

func Convert_v1beta3_CloudStackMachineTemplateList_To_v1beta1_CloudStackMachineTemplateList added in v0.4.9

func Convert_v1beta3_CloudStackMachineTemplateList_To_v1beta1_CloudStackMachineTemplateList(in *v1beta3.CloudStackMachineTemplateList, out *CloudStackMachineTemplateList, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineTemplateList_To_v1beta1_CloudStackMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineTemplateResource_To_v1beta1_CloudStackMachineTemplateResource added in v0.4.9

func Convert_v1beta3_CloudStackMachineTemplateResource_To_v1beta1_CloudStackMachineTemplateResource(in *v1beta3.CloudStackMachineTemplateResource, out *CloudStackMachineTemplateResource, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineTemplateResource_To_v1beta1_CloudStackMachineTemplateResource is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachineTemplateSpec_To_v1beta1_CloudStackMachineTemplateSpec added in v0.4.9

func Convert_v1beta3_CloudStackMachineTemplateSpec_To_v1beta1_CloudStackMachineTemplateSpec(in *v1beta3.CloudStackMachineTemplateSpec, out *CloudStackMachineTemplateSpec, s machineryconversion.Scope) error

func Convert_v1beta3_CloudStackMachineTemplate_To_v1beta1_CloudStackMachineTemplate added in v0.4.9

func Convert_v1beta3_CloudStackMachineTemplate_To_v1beta1_CloudStackMachineTemplate(in *v1beta3.CloudStackMachineTemplate, out *CloudStackMachineTemplate, s conversion.Scope) error

Convert_v1beta3_CloudStackMachineTemplate_To_v1beta1_CloudStackMachineTemplate is an autogenerated conversion function.

func Convert_v1beta3_CloudStackMachine_To_v1beta1_CloudStackMachine added in v0.4.9

func Convert_v1beta3_CloudStackMachine_To_v1beta1_CloudStackMachine(in *v1beta3.CloudStackMachine, out *CloudStackMachine, s conversion.Scope) error

Convert_v1beta3_CloudStackMachine_To_v1beta1_CloudStackMachine is an autogenerated conversion function.

func Convert_v1beta3_CloudStackResourceDiskOffering_To_v1beta1_CloudStackResourceDiskOffering added in v0.4.9

func Convert_v1beta3_CloudStackResourceDiskOffering_To_v1beta1_CloudStackResourceDiskOffering(in *v1beta3.CloudStackResourceDiskOffering, out *CloudStackResourceDiskOffering, s conversion.Scope) error

Convert_v1beta3_CloudStackResourceDiskOffering_To_v1beta1_CloudStackResourceDiskOffering is an autogenerated conversion function.

func Convert_v1beta3_CloudStackResourceIdentifier_To_v1beta1_CloudStackResourceIdentifier added in v0.4.9

func Convert_v1beta3_CloudStackResourceIdentifier_To_v1beta1_CloudStackResourceIdentifier(in *v1beta3.CloudStackResourceIdentifier, out *CloudStackResourceIdentifier, s conversion.Scope) error

Convert_v1beta3_CloudStackResourceIdentifier_To_v1beta1_CloudStackResourceIdentifier is an autogenerated conversion function.

func Convert_v1beta3_CloudStackZoneSpec_To_v1beta1_CloudStackZoneSpec added in v0.4.9

func Convert_v1beta3_CloudStackZoneSpec_To_v1beta1_CloudStackZoneSpec(in *v1beta3.CloudStackZoneSpec, out *CloudStackZoneSpec, s conversion.Scope) error

Convert_v1beta3_CloudStackZoneSpec_To_v1beta1_CloudStackZoneSpec is an autogenerated conversion function.

func Convert_v1beta3_Network_To_v1beta1_Network added in v0.4.9

func Convert_v1beta3_Network_To_v1beta1_Network(in *v1beta3.Network, out *Network, s conversion.Scope) error

Convert_v1beta3_Network_To_v1beta1_Network is an autogenerated conversion function.

func GetDefaultFailureDomainName

func GetDefaultFailureDomainName(namespace string, clusterName string, zoneID string, zoneName string) (string, error)

GetDefaultFailureDomainName return zoneID as failuredomain name. Default failure domain name is used when migrating an old cluster to a multiple-endpoints supported cluster, that requires to convert each zone to a failure domain. When upgrading cluster using eks-a, a secret named global will be created by eks-a, and it is used by following method to get zoneID by calling cloudstack API. When upgrading cluster using clusterctl directly, zoneID is fetched directly from kubernetes cluster in cloudstackzones.

func GetFailureDomains

func GetFailureDomains(csCluster *CloudStackCluster) ([]v1beta3.CloudStackFailureDomainSpec, error)

GetFailureDomains maps v1beta1 zones to v1beta3 failure domains.

func GetK8sSecret

func GetK8sSecret(name, namespace string) (*corev1.Secret, error)

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

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

Types

type CloudStackAffinityGroup

type CloudStackAffinityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackAffinityGroupSpec   `json:"spec,omitempty"`
	Status CloudStackAffinityGroupStatus `json:"status,omitempty"`
}

CloudStackAffinityGroup is the Schema for the cloudstackaffinitygroups API

func (*CloudStackAffinityGroup) ConvertFrom

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

func (*CloudStackAffinityGroup) ConvertTo

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

func (*CloudStackAffinityGroup) DeepCopy

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

func (*CloudStackAffinityGroup) DeepCopyInto

func (in *CloudStackAffinityGroup) DeepCopyInto(out *CloudStackAffinityGroup)

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

func (*CloudStackAffinityGroup) DeepCopyObject

func (in *CloudStackAffinityGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackAffinityGroupList

type CloudStackAffinityGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackAffinityGroup `json:"items"`
}

CloudStackAffinityGroupList contains a list of CloudStackAffinityGroup

func (*CloudStackAffinityGroupList) DeepCopy

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

func (*CloudStackAffinityGroupList) DeepCopyInto

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

func (*CloudStackAffinityGroupList) DeepCopyObject

func (in *CloudStackAffinityGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackAffinityGroupSpec

type CloudStackAffinityGroupSpec struct {
	// Mutually exclusive parameter with AffinityGroupIDs.
	// Can be "host affinity" or "host anti-affinity". Will create an affinity group per machine set.
	Type string `json:"type,omitempty"`

	// Name.
	Name string `json:"name,omitempty"`

	// ID.
	//+optional
	ID string `json:"id,omitempty"`
}

CloudStackAffinityGroupSpec defines the desired state of CloudStackAffinityGroup

func (*CloudStackAffinityGroupSpec) DeepCopy

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

func (*CloudStackAffinityGroupSpec) DeepCopyInto

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

type CloudStackAffinityGroupStatus

type CloudStackAffinityGroupStatus struct {
	// Reflects the readiness of the CS Affinity Group.
	Ready bool `json:"ready"`
}

CloudStackAffinityGroupStatus defines the observed state of CloudStackAffinityGroup

func (*CloudStackAffinityGroupStatus) DeepCopy

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

func (*CloudStackAffinityGroupStatus) DeepCopyInto

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

type CloudStackCluster

type CloudStackCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec CloudStackClusterSpec `json:"spec,omitempty"`

	// The actual cluster state reported by CloudStack.
	Status CloudStackClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +k8s:conversion-gen=false CloudStackCluster is the Schema for the cloudstackclusters API

func (*CloudStackCluster) ConvertFrom

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

func (*CloudStackCluster) ConvertTo

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

func (*CloudStackCluster) DeepCopy

func (in *CloudStackCluster) DeepCopy() *CloudStackCluster

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

func (*CloudStackCluster) DeepCopyInto

func (in *CloudStackCluster) DeepCopyInto(out *CloudStackCluster)

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

func (*CloudStackCluster) DeepCopyObject

func (in *CloudStackCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackClusterList

type CloudStackClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackCluster `json:"items"`
}

+kubebuilder:object:root=true +k8s:conversion-gen=false CloudStackClusterList contains a list of CloudStackCluster

func (*CloudStackClusterList) DeepCopy

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

func (*CloudStackClusterList) DeepCopyInto

func (in *CloudStackClusterList) DeepCopyInto(out *CloudStackClusterList)

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

func (*CloudStackClusterList) DeepCopyObject

func (in *CloudStackClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackClusterSpec

type CloudStackClusterSpec struct {
	Zones []Zone `json:"zones"`

	// The kubernetes control plane endpoint.
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// CloudStack account.
	// +optional
	Account string `json:"account,omitempty"`

	// CloudStack domain.
	// +optional
	Domain string `json:"domain,omitempty"`

	// +optional
	IdentityRef *CloudStackIdentityReference `json:"identityRef,omitempty"`
}

+k8s:conversion-gen=false CloudStackClusterSpec defines the desired state of CloudStackCluster.

func (*CloudStackClusterSpec) DeepCopy

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

func (*CloudStackClusterSpec) DeepCopyInto

func (in *CloudStackClusterSpec) DeepCopyInto(out *CloudStackClusterSpec)

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

type CloudStackClusterStatus

type CloudStackClusterStatus struct {

	// The status of the cluster's ACS Zones.
	// +optional
	Zones ZoneStatusMap `json:"zones,omitempty"`

	// CAPI recognizes failure domains as a method to spread machines.
	// CAPC sets failure domains to indicate functioning Zones.
	// +optional
	FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"`

	// Reflects the readiness of the CS cluster.
	Ready bool `json:"ready"`

	// Cloudstack Domain ID the cluster is built in.
	DomainID string `json:"domainID,omitempty"`

	// The CS public IP ID to use for the k8s endpoint.
	PublicIPID string `json:"publicIPID,omitempty"`

	// The ID of the network the PublicIP is in.
	PublicIPNetworkID string `json:"publicIPNetworkID,omitempty"`

	// The ID of the lb rule used to assign VMs to the lb.
	LBRuleID string `json:"loadBalancerRuleID,omitempty"`
}

+k8s:conversion-gen=false The status of the abstract CS k8s (not an actual Cloudstack Cluster) cluster.

func (*CloudStackClusterStatus) DeepCopy

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

func (*CloudStackClusterStatus) DeepCopyInto

func (in *CloudStackClusterStatus) DeepCopyInto(out *CloudStackClusterStatus)

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

type CloudStackIdentityReference

type CloudStackIdentityReference struct {
	// Kind of the identity. Must be supported by the infrastructure provider
	// and may be either cluster or namespace-scoped.
	// +kubebuilder:validation:MinLength=1
	Kind string `json:"kind"`

	// Name of the infrastructure identity to be used.
	Name string `json:"name"`
}

CloudStackIdentityReference is a reference to an infrastructure provider identity to be used to provision cluster resources.

func (*CloudStackIdentityReference) DeepCopy

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

func (*CloudStackIdentityReference) DeepCopyInto

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

type CloudStackIsolatedNetwork

type CloudStackIsolatedNetwork struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackIsolatedNetworkSpec   `json:"spec,omitempty"`
	Status CloudStackIsolatedNetworkStatus `json:"status,omitempty"`
}

CloudStackIsolatedNetwork is the Schema for the cloudstackisolatednetworks API

func (*CloudStackIsolatedNetwork) ConvertFrom

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

func (*CloudStackIsolatedNetwork) ConvertTo

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

func (*CloudStackIsolatedNetwork) DeepCopy

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

func (*CloudStackIsolatedNetwork) DeepCopyInto

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

func (*CloudStackIsolatedNetwork) DeepCopyObject

func (in *CloudStackIsolatedNetwork) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CloudStackIsolatedNetwork) Network

func (n *CloudStackIsolatedNetwork) Network() *Network

type CloudStackIsolatedNetworkList

type CloudStackIsolatedNetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackIsolatedNetwork `json:"items"`
}

CloudStackIsolatedNetworkList contains a list of CloudStackIsolatedNetwork

func (*CloudStackIsolatedNetworkList) DeepCopy

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

func (*CloudStackIsolatedNetworkList) DeepCopyInto

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

func (*CloudStackIsolatedNetworkList) DeepCopyObject

func (in *CloudStackIsolatedNetworkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackIsolatedNetworkSpec

type CloudStackIsolatedNetworkSpec struct {
	// Name.
	//+optional
	Name string `json:"name,omitempty"`

	// ID.
	//+optional
	ID string `json:"id,omitempty"`

	// The kubernetes control plane endpoint.
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

CloudStackIsolatedNetworkSpec defines the desired state of CloudStackIsolatedNetwork

func (*CloudStackIsolatedNetworkSpec) DeepCopy

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

func (*CloudStackIsolatedNetworkSpec) DeepCopyInto

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

type CloudStackIsolatedNetworkStatus

type CloudStackIsolatedNetworkStatus struct {
	// The CS public IP ID to use for the k8s endpoint.
	PublicIPID string `json:"publicIPID,omitempty"`

	// The ID of the lb rule used to assign VMs to the lb.
	LBRuleID string `json:"loadBalancerRuleID,omitempty"`

	// Ready indicates the readiness of this provider resource.
	Ready bool `json:"ready"`
}

CloudStackIsolatedNetworkStatus defines the observed state of CloudStackIsolatedNetwork

func (*CloudStackIsolatedNetworkStatus) DeepCopy

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

func (*CloudStackIsolatedNetworkStatus) DeepCopyInto

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

type CloudStackMachine

type CloudStackMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackMachineSpec   `json:"spec,omitempty"`
	Status CloudStackMachineStatus `json:"status,omitempty"`
}

CloudStackMachine is the Schema for the cloudstackmachines API

func (*CloudStackMachine) ConvertFrom

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

func (*CloudStackMachine) ConvertTo

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

func (*CloudStackMachine) DeepCopy

func (in *CloudStackMachine) DeepCopy() *CloudStackMachine

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

func (*CloudStackMachine) DeepCopyInto

func (in *CloudStackMachine) DeepCopyInto(out *CloudStackMachine)

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

func (*CloudStackMachine) DeepCopyObject

func (in *CloudStackMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineList

type CloudStackMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackMachine `json:"items"`
}

CloudStackMachineList contains a list of CloudStackMachine

func (*CloudStackMachineList) DeepCopy

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

func (*CloudStackMachineList) DeepCopyInto

func (in *CloudStackMachineList) DeepCopyInto(out *CloudStackMachineList)

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

func (*CloudStackMachineList) DeepCopyObject

func (in *CloudStackMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineSpec

type CloudStackMachineSpec struct {
	// Name.
	//+optional
	Name string `json:"name,omitempty"`

	// ID.
	//+optional
	ID string `json:"id,omitempty"`

	// Instance ID. Should only be useful to modify an existing instance.
	InstanceID *string `json:"instanceID,omitempty"`

	// CloudStack compute offering.
	Offering CloudStackResourceIdentifier `json:"offering"`

	// CloudStack template to use.
	Template CloudStackResourceIdentifier `json:"template"`

	// CloudStack disk offering to use.
	// +optional
	DiskOffering CloudStackResourceDiskOffering `json:"diskOffering,omitempty"`

	// CloudStack ssh key to use.
	// +optional
	SSHKey string `json:"sshKey"`

	// Optional details map for deployVirtualMachine
	Details map[string]string `json:"details,omitempty"`

	// Optional affinitygroupids for deployVirtualMachine
	// +optional
	AffinityGroupIDs []string `json:"affinitygroupids,omitempty"`

	// Mutually exclusive parameter with AffinityGroupIDs.
	// Defaults to `no`. Can be `pro` or `anti`. Will create an affinity group per machine set.
	// +optional
	Affinity string `json:"affinity,omitempty"`

	// Mutually exclusive parameter with AffinityGroupIDs.
	// Is a reference to a CloudStack affiniity group CRD.
	// +optional
	AffinityGroupRef *corev1.ObjectReference `json:"cloudstackaffinityref,omitempty"`

	// The CS specific unique identifier. Of the form: fmt.Sprintf("cloudstack:///%s", CS Machine ID)
	// +optional
	ProviderID *string `json:"providerID,omitempty"`

	// Optionally settable Zone ID to land the machine in.
	// +k8s:conversion-gen=false
	ZoneID string `json:"zoneID,omitempty"`

	// +k8s:conversion-gen=false
	// Optionally settable Zone Name to land the machine in.
	ZoneName string `json:"zoneName,omitempty"`

	// IdentityRef is a reference to an identity to be used when reconciling this cluster
	// +optional
	// +k8s:conversion-gen=false
	IdentityRef *CloudStackIdentityReference `json:"identityRef,omitempty"`
}

CloudStackMachineSpec defines the desired state of CloudStackMachine

func (*CloudStackMachineSpec) DeepCopy

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

func (*CloudStackMachineSpec) DeepCopyInto

func (in *CloudStackMachineSpec) DeepCopyInto(out *CloudStackMachineSpec)

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

type CloudStackMachineStateChecker

type CloudStackMachineStateChecker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackMachineStateCheckerSpec   `json:"spec,omitempty"`
	Status CloudStackMachineStateCheckerStatus `json:"status,omitempty"`
}

CloudStackMachineStateChecker is the Schema for the cloudstackmachinestatecheckers API

func (*CloudStackMachineStateChecker) ConvertFrom

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

func (*CloudStackMachineStateChecker) ConvertTo

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

func (*CloudStackMachineStateChecker) DeepCopy

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

func (*CloudStackMachineStateChecker) DeepCopyInto

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

func (*CloudStackMachineStateChecker) DeepCopyObject

func (in *CloudStackMachineStateChecker) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineStateCheckerList

type CloudStackMachineStateCheckerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackMachineStateChecker `json:"items"`
}

CloudStackMachineStateCheckerList contains a list of CloudStackMachineStateChecker

func (*CloudStackMachineStateCheckerList) DeepCopy

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

func (*CloudStackMachineStateCheckerList) DeepCopyInto

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

func (*CloudStackMachineStateCheckerList) DeepCopyObject

func (in *CloudStackMachineStateCheckerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineStateCheckerSpec

type CloudStackMachineStateCheckerSpec struct {
	// CloudStack machine instance ID
	InstanceID string `json:"instanceID,omitempty"`
}

CloudStackMachineStateCheckerSpec

func (*CloudStackMachineStateCheckerSpec) DeepCopy

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

func (*CloudStackMachineStateCheckerSpec) DeepCopyInto

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

type CloudStackMachineStateCheckerStatus

type CloudStackMachineStateCheckerStatus struct {
	// Reflects the readiness of the Machine State Checker.
	Ready bool `json:"ready"`
}

CloudStackMachineStateCheckerStatus defines the observed state of CloudStackMachineStateChecker

func (*CloudStackMachineStateCheckerStatus) DeepCopy

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

func (*CloudStackMachineStateCheckerStatus) DeepCopyInto

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

type CloudStackMachineStatus

type CloudStackMachineStatus struct {
	// Zone ID is used so that the zone can be computed once per reconcile and then propagate.
	// +optional
	// +k8s:conversion-gen=false
	ZoneID string `json:"zoneID,omitempty"`

	// Addresses contains a CloudStack VM instance's IP addresses.
	Addresses []corev1.NodeAddress `json:"addresses,omitempty"`

	// InstanceState is the state of the CloudStack instance for this machine.
	// +optional
	InstanceState InstanceState `json:"instanceState,omitempty"`

	// InstanceStateLastUpdated is the time the instance state was last updated.
	// +optional
	InstanceStateLastUpdated metav1.Time `json:"instanceStateLastUpdated,omitempty"`

	// Ready indicates the readiness of the provider resource.
	Ready bool `json:"ready"`
}

Type pulled mostly from the CloudStack API.

func (*CloudStackMachineStatus) DeepCopy

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

func (*CloudStackMachineStatus) DeepCopyInto

func (in *CloudStackMachineStatus) DeepCopyInto(out *CloudStackMachineStatus)

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

func (*CloudStackMachineStatus) TimeSinceLastStateChange

func (s *CloudStackMachineStatus) TimeSinceLastStateChange() time.Duration

TimeSinceLastStateChange returns the amount of time that's elapsed since the state was last updated. If the state hasn't ever been updated, it returns a negative value.

type CloudStackMachineTemplate

type CloudStackMachineTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec CloudStackMachineTemplateSpec `json:"spec,omitempty"`
}

CloudStackMachineTemplate is the Schema for the cloudstackmachinetemplates API

func (*CloudStackMachineTemplate) ConvertFrom

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

func (*CloudStackMachineTemplate) ConvertTo

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

func (*CloudStackMachineTemplate) DeepCopy

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

func (*CloudStackMachineTemplate) DeepCopyInto

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

func (*CloudStackMachineTemplate) DeepCopyObject

func (in *CloudStackMachineTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineTemplateList

type CloudStackMachineTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackMachineTemplate `json:"items"`
}

CloudStackMachineTemplateList contains a list of CloudStackMachineTemplate

func (*CloudStackMachineTemplateList) DeepCopy

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

func (*CloudStackMachineTemplateList) DeepCopyInto

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

func (*CloudStackMachineTemplateList) DeepCopyObject

func (in *CloudStackMachineTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackMachineTemplateResource

type CloudStackMachineTemplateResource struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta metav1.ObjectMeta     `json:"metadata,omitempty"`
	Spec       CloudStackMachineSpec `json:"spec"`
}

func (*CloudStackMachineTemplateResource) DeepCopy

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

func (*CloudStackMachineTemplateResource) DeepCopyInto

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

type CloudStackMachineTemplateSpec

type CloudStackMachineTemplateSpec struct {
	Spec CloudStackMachineTemplateResource `json:"template"`
}

CloudStackMachineTemplateSpec defines the desired state of CloudStackMachineTemplate

func (*CloudStackMachineTemplateSpec) DeepCopy

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

func (*CloudStackMachineTemplateSpec) DeepCopyInto

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

type CloudStackResourceDiskOffering

type CloudStackResourceDiskOffering struct {
	CloudStackResourceIdentifier `json:",inline"`
	// Desired disk size. Used if disk offering is customizable as indicated by the ACS field 'Custom Disk Size'.
	// +optional
	CustomSize int64 `json:"customSizeInGB"`
	// mount point the data disk uses to mount. The actual partition, mkfs and mount are done by cloud-init generated by kubeadmConfig.
	MountPath string `json:"mountPath"`
	// device name of data disk, for example /dev/vdb
	Device string `json:"device"`
	// filesystem used by data disk, for example, ext4, xfs
	Filesystem string `json:"filesystem"`
	// label of data disk, used by mkfs as label parameter
	Label string `json:"label"`
}

func (*CloudStackResourceDiskOffering) DeepCopy

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

func (*CloudStackResourceDiskOffering) DeepCopyInto

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

type CloudStackResourceIdentifier

type CloudStackResourceIdentifier struct {
	// Cloudstack resource ID.
	// +optional
	ID string `json:"id,omitempty"`

	// Cloudstack resource Name
	// +optional
	Name string `json:"name,omitempty"`
}

func (*CloudStackResourceIdentifier) DeepCopy

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

func (*CloudStackResourceIdentifier) DeepCopyInto

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

type CloudStackZone

type CloudStackZone struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CloudStackZoneSpec   `json:"spec,omitempty"`
	Status CloudStackZoneStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +k8s:conversion-gen=false CloudStackZone is the Schema for the cloudstackzones API

func (*CloudStackZone) DeepCopy

func (in *CloudStackZone) DeepCopy() *CloudStackZone

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

func (*CloudStackZone) DeepCopyInto

func (in *CloudStackZone) DeepCopyInto(out *CloudStackZone)

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

func (*CloudStackZone) DeepCopyObject

func (in *CloudStackZone) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackZoneList

type CloudStackZoneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CloudStackZone `json:"items"`
}

CloudStackZoneList contains a list of CloudStackZone

func (*CloudStackZoneList) DeepCopy

func (in *CloudStackZoneList) DeepCopy() *CloudStackZoneList

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

func (*CloudStackZoneList) DeepCopyInto

func (in *CloudStackZoneList) DeepCopyInto(out *CloudStackZoneList)

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

func (*CloudStackZoneList) DeepCopyObject

func (in *CloudStackZoneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloudStackZoneSpec

type CloudStackZoneSpec struct {
	// Name.
	//+optional
	Name string `json:"name,omitempty"`

	// ID.
	//+optional
	ID string `json:"id,omitempty"`

	// The network within the Zone to use.
	Network Network `json:"network"`
}

CloudStackZoneSpec defines the desired state of CloudStackZone

func (*CloudStackZoneSpec) DeepCopy

func (in *CloudStackZoneSpec) DeepCopy() *CloudStackZoneSpec

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

func (*CloudStackZoneSpec) DeepCopyInto

func (in *CloudStackZoneSpec) DeepCopyInto(out *CloudStackZoneSpec)

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

type CloudStackZoneStatus

type CloudStackZoneStatus struct {
	// Reflects the readiness of the CloudStack zone.
	Ready bool `json:"ready"`
}

CloudStackZoneStatus defines the observed state of CloudStackZone

func (*CloudStackZoneStatus) DeepCopy

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

func (*CloudStackZoneStatus) DeepCopyInto

func (in *CloudStackZoneStatus) DeepCopyInto(out *CloudStackZoneStatus)

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

type InstanceState

type InstanceState string

TODO: Review the use of this field/type.

type Network

type Network struct {
	// Cloudstack Network ID the cluster is built in.
	// +optional
	ID string `json:"id,omitempty"`

	// Cloudstack Network Type the cluster is built in.
	// +optional
	Type string `json:"type,omitempty"`

	// Cloudstack Network Name the cluster is built in.
	// +optional
	Name string `json:"name"`
}

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

type Zone

type Zone struct {
	// Name.
	// +optional
	Name string `json:"name,omitempty"`

	// ID.
	// +optional
	ID string `json:"id,omitempty"`

	// The network within the Zone to use.
	Network Network `json:"network"`
}

func (*Zone) DeepCopy

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto

func (in *Zone) DeepCopyInto(out *Zone)

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

func (*Zone) MetaName

func (z *Zone) MetaName() string

MetaName returns a lower cased name to be used in a k8s object meta. It prefers the zone's name, but will use the ID if that's the only present identifier.

type ZoneStatusMap

type ZoneStatusMap map[string]Zone

func (ZoneStatusMap) DeepCopy

func (in ZoneStatusMap) DeepCopy() ZoneStatusMap

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

func (ZoneStatusMap) DeepCopyInto

func (in ZoneStatusMap) DeepCopyInto(out *ZoneStatusMap)

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