Documentation
¶
Overview ¶
Package v1beta3 contains API Schema definitions for the infrastructure v1beta3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Package v1beta3 contains API Schema definitions for the infrastructure v1beta3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- func FailureDomainHashedMetaName(fdName, clusterName string) string
- func FailureDomainsEqual(fd1, fd2 CloudStackFailureDomainSpec) bool
- func ValidateFailureDomainUpdates(oldFDs, newFDs []CloudStackFailureDomainSpec) *field.Error
- type CloudStackAffinityGroup
- type CloudStackAffinityGroupList
- type CloudStackAffinityGroupSpec
- type CloudStackAffinityGroupStatus
- type CloudStackCluster
- func (in *CloudStackCluster) DeepCopy() *CloudStackCluster
- func (in *CloudStackCluster) DeepCopyInto(out *CloudStackCluster)
- func (in *CloudStackCluster) DeepCopyObject() runtime.Object
- func (r *CloudStackCluster) Default()
- func (*CloudStackCluster) Hub()
- func (r *CloudStackCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CloudStackCluster) ValidateCreate() (admission.Warnings, error)
- func (r *CloudStackCluster) ValidateDelete() (admission.Warnings, error)
- func (r *CloudStackCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CloudStackClusterList
- type CloudStackClusterSpec
- type CloudStackClusterStatus
- type CloudStackFailureDomain
- type CloudStackFailureDomainList
- type CloudStackFailureDomainSpec
- type CloudStackFailureDomainStatus
- type CloudStackIsolatedNetwork
- func (in *CloudStackIsolatedNetwork) DeepCopy() *CloudStackIsolatedNetwork
- func (in *CloudStackIsolatedNetwork) DeepCopyInto(out *CloudStackIsolatedNetwork)
- func (in *CloudStackIsolatedNetwork) DeepCopyObject() runtime.Object
- func (*CloudStackIsolatedNetwork) Hub()
- func (n *CloudStackIsolatedNetwork) Network() *Network
- type CloudStackIsolatedNetworkList
- type CloudStackIsolatedNetworkSpec
- type CloudStackIsolatedNetworkStatus
- type CloudStackMachine
- func (c *CloudStackMachine) CompressUserdata() bool
- func (in *CloudStackMachine) DeepCopy() *CloudStackMachine
- func (in *CloudStackMachine) DeepCopyInto(out *CloudStackMachine)
- func (in *CloudStackMachine) DeepCopyObject() runtime.Object
- func (r *CloudStackMachine) Default()
- func (*CloudStackMachine) Hub()
- func (r *CloudStackMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CloudStackMachine) ValidateCreate() (admission.Warnings, error)
- func (r *CloudStackMachine) ValidateDelete() (admission.Warnings, error)
- func (r *CloudStackMachine) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CloudStackMachineList
- type CloudStackMachineSpec
- type CloudStackMachineStateChecker
- type CloudStackMachineStateCheckerList
- func (in *CloudStackMachineStateCheckerList) DeepCopy() *CloudStackMachineStateCheckerList
- func (in *CloudStackMachineStateCheckerList) DeepCopyInto(out *CloudStackMachineStateCheckerList)
- func (in *CloudStackMachineStateCheckerList) DeepCopyObject() runtime.Object
- func (*CloudStackMachineStateCheckerList) Hub()
- type CloudStackMachineStateCheckerSpec
- type CloudStackMachineStateCheckerStatus
- type CloudStackMachineStatus
- type CloudStackMachineTemplate
- func (in *CloudStackMachineTemplate) DeepCopy() *CloudStackMachineTemplate
- func (in *CloudStackMachineTemplate) DeepCopyInto(out *CloudStackMachineTemplate)
- func (in *CloudStackMachineTemplate) DeepCopyObject() runtime.Object
- func (r *CloudStackMachineTemplate) Default()
- func (*CloudStackMachineTemplate) Hub()
- func (r *CloudStackMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CloudStackMachineTemplate) ValidateCreate() (admission.Warnings, error)
- func (r *CloudStackMachineTemplate) ValidateDelete() (admission.Warnings, error)
- func (r *CloudStackMachineTemplate) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CloudStackMachineTemplateList
- type CloudStackMachineTemplateResource
- type CloudStackMachineTemplateSpec
- type CloudStackResourceDiskOffering
- type CloudStackResourceIdentifier
- type CloudStackZoneSpec
- type Network
- type NetworkSpec
- type VPC
Constants ¶
const ( FailureDomainFinalizer = "cloudstackfailuredomain.infrastructure.cluster.x-k8s.io" FailureDomainLabelName = "cloudstackfailuredomain.infrastructure.cluster.x-k8s.io/name" )
const ( NetworkTypeIsolated = "Isolated" )
const ( ProAffinity = "pro" AntiAffinity = "anti" NoAffinity = "no" )
const AffinityGroupFinalizer = "affinitygroup.infrastructure.cluster.x-k8s.io"
const (
ClusterFinalizer = "cloudstackcluster.infrastructure.cluster.x-k8s.io"
)
const IsolatedNetworkFinalizer = "cloudstackisolatednetwork.infrastructure.cluster.x-k8s.io"
The presence of a finalizer prevents CAPI from deleting the corresponding CAPI data.
const MachineFinalizer = "cloudstackmachine.infrastructure.cluster.x-k8s.io"
The presence of a finalizer prevents CAPI from deleting the corresponding CAPI data.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta3"} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = schemeBuilder.AddToScheme )
var K8sClient client.Client
Functions ¶
func FailureDomainHashedMetaName ¶
FailureDomainHashedMetaName returns an MD5 name generated from the FailureDomain and Cluster name. FailureDomains must have a unique name even when potentially sharing a namespace with other clusters. In the future we may remove the ability to run multiple clusters in a single namespace, but today this is a consequence of being upstream of EKS-A which does run multiple clusters in a single namepace.
func FailureDomainsEqual ¶
func FailureDomainsEqual(fd1, fd2 CloudStackFailureDomainSpec) bool
FailureDomainsEqual is a manual deep equal on failure domains.
func ValidateFailureDomainUpdates ¶
func ValidateFailureDomainUpdates(oldFDs, newFDs []CloudStackFailureDomainSpec) *field.Error
ValidateFailureDomainUpdates verifies that at least one failure domain has not been deleted, and failure domains that are held over have not been modified.
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) DeepCopy ¶
func (in *CloudStackAffinityGroup) DeepCopy() *CloudStackAffinityGroup
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.
func (*CloudStackAffinityGroup) Hub ¶
func (*CloudStackAffinityGroup) Hub()
Hub marks CloudStackAffinityGroup as a conversion hub.
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 ¶
func (in *CloudStackAffinityGroupList) DeepCopy() *CloudStackAffinityGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackAffinityGroupList.
func (*CloudStackAffinityGroupList) DeepCopyInto ¶
func (in *CloudStackAffinityGroupList) DeepCopyInto(out *CloudStackAffinityGroupList)
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.
func (*CloudStackAffinityGroupList) Hub ¶
func (*CloudStackAffinityGroupList) Hub()
Hub marks CloudStackAffinityGroupList as a conversion hub.
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"`
// FailureDomainName -- the name of the FailureDomain the machine is placed in.
// +optional
FailureDomainName string `json:"failureDomainName,omitempty"`
}
CloudStackAffinityGroupSpec defines the desired state of CloudStackAffinityGroup
func (*CloudStackAffinityGroupSpec) DeepCopy ¶
func (in *CloudStackAffinityGroupSpec) DeepCopy() *CloudStackAffinityGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackAffinityGroupSpec.
func (*CloudStackAffinityGroupSpec) DeepCopyInto ¶
func (in *CloudStackAffinityGroupSpec) DeepCopyInto(out *CloudStackAffinityGroupSpec)
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 ¶
func (in *CloudStackAffinityGroupStatus) DeepCopy() *CloudStackAffinityGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackAffinityGroupStatus.
func (*CloudStackAffinityGroupStatus) DeepCopyInto ¶
func (in *CloudStackAffinityGroupStatus) DeepCopyInto(out *CloudStackAffinityGroupStatus)
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"`
}
CloudStackCluster is the Schema for the cloudstackclusters API
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.
func (*CloudStackCluster) Default ¶
func (r *CloudStackCluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CloudStackCluster) Hub ¶
func (*CloudStackCluster) Hub()
Hub marks CloudStackCluster as a conversion hub.
func (*CloudStackCluster) SetupWebhookWithManager ¶
func (r *CloudStackCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CloudStackCluster) ValidateCreate ¶
func (r *CloudStackCluster) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackCluster) ValidateDelete ¶
func (r *CloudStackCluster) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackCluster) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CloudStackClusterList ¶
type CloudStackClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CloudStackCluster `json:"items"`
}
CloudStackClusterList contains a list of CloudStackCluster
func (*CloudStackClusterList) DeepCopy ¶
func (in *CloudStackClusterList) DeepCopy() *CloudStackClusterList
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.
func (*CloudStackClusterList) Hub ¶
func (*CloudStackClusterList) Hub()
Hub marks CloudStackClusterList as a conversion hub.
type CloudStackClusterSpec ¶
type CloudStackClusterSpec struct {
FailureDomains []CloudStackFailureDomainSpec `json:"failureDomains"`
// The kubernetes control plane endpoint.
ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
// SyncWithACS determines if an externalManaged CKS cluster should be created on ACS.
// +optional
SyncWithACS *bool `json:"syncWithACS,omitempty"`
}
CloudStackClusterSpec defines the desired state of CloudStackCluster.
func (*CloudStackClusterSpec) DeepCopy ¶
func (in *CloudStackClusterSpec) DeepCopy() *CloudStackClusterSpec
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 {
// CAPI recognizes failure domains as a method to spread machines.
// CAPC sets failure domains to indicate functioning CloudStackFailureDomains.
// +optional
FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"`
// Id of CAPC managed kubernetes cluster created in CloudStack
// +optional
CloudStackClusterID string `json:"cloudStackClusterId"`
// Reflects the readiness of the CS cluster.
Ready bool `json:"ready"`
}
The status of the CloudStackCluster object.
func (*CloudStackClusterStatus) DeepCopy ¶
func (in *CloudStackClusterStatus) DeepCopy() *CloudStackClusterStatus
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 CloudStackFailureDomain ¶
type CloudStackFailureDomain struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CloudStackFailureDomainSpec `json:"spec"`
Status CloudStackFailureDomainStatus `json:"status,omitempty"`
}
CloudStackFailureDomain is the Schema for the cloudstackfailuredomains API
func (*CloudStackFailureDomain) DeepCopy ¶
func (in *CloudStackFailureDomain) DeepCopy() *CloudStackFailureDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackFailureDomain.
func (*CloudStackFailureDomain) DeepCopyInto ¶
func (in *CloudStackFailureDomain) DeepCopyInto(out *CloudStackFailureDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudStackFailureDomain) DeepCopyObject ¶
func (in *CloudStackFailureDomain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudStackFailureDomain) Hub ¶
func (*CloudStackFailureDomain) Hub()
Hub marks CloudStackFailureDomain as a conversion hub.
type CloudStackFailureDomainList ¶
type CloudStackFailureDomainList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CloudStackFailureDomain `json:"items"`
}
CloudStackFailureDomainList contains a list of CloudStackFailureDomain
func (*CloudStackFailureDomainList) DeepCopy ¶
func (in *CloudStackFailureDomainList) DeepCopy() *CloudStackFailureDomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackFailureDomainList.
func (*CloudStackFailureDomainList) DeepCopyInto ¶
func (in *CloudStackFailureDomainList) DeepCopyInto(out *CloudStackFailureDomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudStackFailureDomainList) DeepCopyObject ¶
func (in *CloudStackFailureDomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudStackFailureDomainList) Hub ¶
func (*CloudStackFailureDomainList) Hub()
Hub marks CloudStackFailureDomainList as a conversion hub.
type CloudStackFailureDomainSpec ¶
type CloudStackFailureDomainSpec struct {
// The failure domain unique name.
Name string `json:"name"`
// The ACS Zone for this failure domain.
Zone CloudStackZoneSpec `json:"zone"`
// CloudStack account.
// +optional
Account string `json:"account,omitempty"`
// CloudStack domain.
// +optional
Domain string `json:"domain,omitempty"`
// CloudStack project.
// +optional
Project string `json:"project,omitempty"`
// Apache CloudStack Endpoint secret reference.
ACSEndpoint corev1.SecretReference `json:"acsEndpoint"`
}
CloudStackFailureDomainSpec defines the desired state of CloudStackFailureDomain
func (*CloudStackFailureDomainSpec) DeepCopy ¶
func (in *CloudStackFailureDomainSpec) DeepCopy() *CloudStackFailureDomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackFailureDomainSpec.
func (*CloudStackFailureDomainSpec) DeepCopyInto ¶
func (in *CloudStackFailureDomainSpec) DeepCopyInto(out *CloudStackFailureDomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudStackFailureDomainStatus ¶
type CloudStackFailureDomainStatus struct {
// Reflects the readiness of the CloudStack Failure Domain.
Ready bool `json:"ready"`
}
CloudStackFailureDomainStatus defines the observed state of CloudStackFailureDomain
func (*CloudStackFailureDomainStatus) DeepCopy ¶
func (in *CloudStackFailureDomainStatus) DeepCopy() *CloudStackFailureDomainStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackFailureDomainStatus.
func (*CloudStackFailureDomainStatus) DeepCopyInto ¶
func (in *CloudStackFailureDomainStatus) DeepCopyInto(out *CloudStackFailureDomainStatus)
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) DeepCopy ¶
func (in *CloudStackIsolatedNetwork) DeepCopy() *CloudStackIsolatedNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackIsolatedNetwork.
func (*CloudStackIsolatedNetwork) DeepCopyInto ¶
func (in *CloudStackIsolatedNetwork) DeepCopyInto(out *CloudStackIsolatedNetwork)
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) Hub ¶
func (*CloudStackIsolatedNetwork) Hub()
Hub marks CloudStackIsolatedNetwork as a conversion hub.
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 ¶
func (in *CloudStackIsolatedNetworkList) DeepCopy() *CloudStackIsolatedNetworkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackIsolatedNetworkList.
func (*CloudStackIsolatedNetworkList) DeepCopyInto ¶
func (in *CloudStackIsolatedNetworkList) DeepCopyInto(out *CloudStackIsolatedNetworkList)
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.
func (*CloudStackIsolatedNetworkList) Hub ¶
func (*CloudStackIsolatedNetworkList) Hub()
Hub marks CloudStackIsolatedNetworkList as a conversion hub.
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"`
// FailureDomainName -- the FailureDomain the network is placed in.
FailureDomainName string `json:"failureDomainName"`
// Gateway for the network.
// +optional
Gateway string `json:"gateway,omitempty"`
// Netmask for the network.
// +optional
Netmask string `json:"netmask,omitempty"`
// Offering for the network.
// Default is "DefaultIsolatedNetworkOfferingWithSourceNatService" for
// isolated networks and "DefaultIsolatedNetworkOfferingForVpcNetworks"
// for VPC networks.
// +optional
Offering string `json:"offering,omitempty"`
// VPC the network belongs to.
// +optional
VPC *VPC `json:"vpc,omitempty"`
}
CloudStackIsolatedNetworkSpec defines the desired state of CloudStackIsolatedNetwork
func (*CloudStackIsolatedNetworkSpec) DeepCopy ¶
func (in *CloudStackIsolatedNetworkSpec) DeepCopy() *CloudStackIsolatedNetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackIsolatedNetworkSpec.
func (*CloudStackIsolatedNetworkSpec) DeepCopyInto ¶
func (in *CloudStackIsolatedNetworkSpec) DeepCopyInto(out *CloudStackIsolatedNetworkSpec)
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"`
// Routing mode of the network.
// Routing mode can be Dynamic, or Static.
// Empty value means the network mode is NATTED, not ROUTED.
RoutingMode string `json:"routingMode,omitempty"`
// Ready indicates the readiness of this provider resource.
Ready bool `json:"ready"`
}
CloudStackIsolatedNetworkStatus defines the observed state of CloudStackIsolatedNetwork
func (*CloudStackIsolatedNetworkStatus) DeepCopy ¶
func (in *CloudStackIsolatedNetworkStatus) DeepCopy() *CloudStackIsolatedNetworkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackIsolatedNetworkStatus.
func (*CloudStackIsolatedNetworkStatus) DeepCopyInto ¶
func (in *CloudStackIsolatedNetworkStatus) DeepCopyInto(out *CloudStackIsolatedNetworkStatus)
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) CompressUserdata ¶
func (c *CloudStackMachine) CompressUserdata() bool
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.
func (*CloudStackMachine) Default ¶
func (r *CloudStackMachine) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CloudStackMachine) Hub ¶
func (*CloudStackMachine) Hub()
Hub marks CloudStackMachine as a conversion hub.
func (*CloudStackMachine) SetupWebhookWithManager ¶
func (r *CloudStackMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CloudStackMachine) ValidateCreate ¶
func (r *CloudStackMachine) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackMachine) ValidateDelete ¶
func (r *CloudStackMachine) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackMachine) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 ¶
func (in *CloudStackMachineList) DeepCopy() *CloudStackMachineList
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.
func (*CloudStackMachineList) Hub ¶
func (*CloudStackMachineList) Hub()
Hub marks CloudStackMachineList as a conversion hub.
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"`
// The list of networks (overrides zone.network)
// +optional
// In CloudStackMachineSpec
Networks []NetworkSpec `json:"networks,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 affinity 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"`
// FailureDomainName -- the name of the FailureDomain the machine is placed in.
// +optional
FailureDomainName string `json:"failureDomainName,omitempty"`
// UncompressedUserData specifies whether the user data is gzip-compressed.
// cloud-init has built-in support for gzip-compressed user data, ignition does not
//
// +optional
UncompressedUserData *bool `json:"uncompressedUserData,omitempty"`
}
CloudStackMachineSpec defines the desired state of CloudStackMachine
func (*CloudStackMachineSpec) DeepCopy ¶
func (in *CloudStackMachineSpec) DeepCopy() *CloudStackMachineSpec
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) DeepCopy ¶
func (in *CloudStackMachineStateChecker) DeepCopy() *CloudStackMachineStateChecker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineStateChecker.
func (*CloudStackMachineStateChecker) DeepCopyInto ¶
func (in *CloudStackMachineStateChecker) DeepCopyInto(out *CloudStackMachineStateChecker)
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.
func (*CloudStackMachineStateChecker) Hub ¶
func (*CloudStackMachineStateChecker) Hub()
Hub marks CloudStackMachineStateChecker as a conversion hub.
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 ¶
func (in *CloudStackMachineStateCheckerList) DeepCopy() *CloudStackMachineStateCheckerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineStateCheckerList.
func (*CloudStackMachineStateCheckerList) DeepCopyInto ¶
func (in *CloudStackMachineStateCheckerList) DeepCopyInto(out *CloudStackMachineStateCheckerList)
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.
func (*CloudStackMachineStateCheckerList) Hub ¶
func (*CloudStackMachineStateCheckerList) Hub()
Hub marks CloudStackMachineStateCheckerList as a conversion hub.
type CloudStackMachineStateCheckerSpec ¶
type CloudStackMachineStateCheckerSpec struct {
// CloudStack machine instance ID
InstanceID string `json:"instanceID,omitempty"`
}
CloudStackMachineStateCheckerSpec
func (*CloudStackMachineStateCheckerSpec) DeepCopy ¶
func (in *CloudStackMachineStateCheckerSpec) DeepCopy() *CloudStackMachineStateCheckerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineStateCheckerSpec.
func (*CloudStackMachineStateCheckerSpec) DeepCopyInto ¶
func (in *CloudStackMachineStateCheckerSpec) DeepCopyInto(out *CloudStackMachineStateCheckerSpec)
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 ¶
func (in *CloudStackMachineStateCheckerStatus) DeepCopy() *CloudStackMachineStateCheckerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineStateCheckerStatus.
func (*CloudStackMachineStateCheckerStatus) DeepCopyInto ¶
func (in *CloudStackMachineStateCheckerStatus) DeepCopyInto(out *CloudStackMachineStateCheckerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudStackMachineStatus ¶
type CloudStackMachineStatus struct {
// 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 string `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"`
// Status indicates the status of the provider resource.
// +optional
Status *string `json:"status,omitempty"`
// Reason indicates the reason of status failure
// +optional
Reason *string `json:"reason,omitempty"`
}
Type pulled mostly from the CloudStack API.
func (*CloudStackMachineStatus) DeepCopy ¶
func (in *CloudStackMachineStatus) DeepCopy() *CloudStackMachineStatus
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) DeepCopy ¶
func (in *CloudStackMachineTemplate) DeepCopy() *CloudStackMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineTemplate.
func (*CloudStackMachineTemplate) DeepCopyInto ¶
func (in *CloudStackMachineTemplate) DeepCopyInto(out *CloudStackMachineTemplate)
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.
func (*CloudStackMachineTemplate) Default ¶
func (r *CloudStackMachineTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CloudStackMachineTemplate) Hub ¶
func (*CloudStackMachineTemplate) Hub()
Hub marks CloudStackMachineTemplate as a conversion hub.
func (*CloudStackMachineTemplate) SetupWebhookWithManager ¶
func (r *CloudStackMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CloudStackMachineTemplate) ValidateCreate ¶
func (r *CloudStackMachineTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackMachineTemplate) ValidateDelete ¶
func (r *CloudStackMachineTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CloudStackMachineTemplate) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 ¶
func (in *CloudStackMachineTemplateList) DeepCopy() *CloudStackMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineTemplateList.
func (*CloudStackMachineTemplateList) DeepCopyInto ¶
func (in *CloudStackMachineTemplateList) DeepCopyInto(out *CloudStackMachineTemplateList)
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.
func (*CloudStackMachineTemplateList) Hub ¶
func (*CloudStackMachineTemplateList) Hub()
Hub marks CloudStackMachineTemplateList as a conversion hub.
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 clusterv1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the specification of a desired behavior of the machine
Spec CloudStackMachineSpec `json:"spec"`
}
CloudStackMachineTemplateResource defines the data needed to create a CloudstackMachine from a template
func (*CloudStackMachineTemplateResource) DeepCopy ¶
func (in *CloudStackMachineTemplateResource) DeepCopy() *CloudStackMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineTemplateResource.
func (*CloudStackMachineTemplateResource) DeepCopyInto ¶
func (in *CloudStackMachineTemplateResource) DeepCopyInto(out *CloudStackMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudStackMachineTemplateSpec ¶
type CloudStackMachineTemplateSpec struct {
Template CloudStackMachineTemplateResource `json:"template"`
}
CloudStackMachineTemplateSpec defines the desired state of CloudstackMachineTemplate
func (*CloudStackMachineTemplateSpec) DeepCopy ¶
func (in *CloudStackMachineTemplateSpec) DeepCopy() *CloudStackMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackMachineTemplateSpec.
func (*CloudStackMachineTemplateSpec) DeepCopyInto ¶
func (in *CloudStackMachineTemplateSpec) DeepCopyInto(out *CloudStackMachineTemplateSpec)
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 ¶
func (in *CloudStackResourceDiskOffering) DeepCopy() *CloudStackResourceDiskOffering
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackResourceDiskOffering.
func (*CloudStackResourceDiskOffering) DeepCopyInto ¶
func (in *CloudStackResourceDiskOffering) DeepCopyInto(out *CloudStackResourceDiskOffering)
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 ¶
func (in *CloudStackResourceIdentifier) DeepCopy() *CloudStackResourceIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackResourceIdentifier.
func (*CloudStackResourceIdentifier) DeepCopyInto ¶
func (in *CloudStackResourceIdentifier) DeepCopyInto(out *CloudStackResourceIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 specifies a Zone's details.
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 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.
Name string `json:"name"`
// Cloudstack Network Gateway the cluster is built in.
// +optional
Gateway string `json:"gateway,omitempty"`
// Cloudstack Network Netmask the cluster is built in.
// +optional
Netmask string `json:"netmask,omitempty"`
// Cloudstack Network Offering the cluster is built in.
// Default is "DefaultIsolatedNetworkOfferingWithSourceNatService" for
// isolated networks and "DefaultIsolatedNetworkOfferingForVpcNetworks"
// for VPC networks.
// +optional
Offering string `json:"offering,omitempty"`
// Cloudstack VPC the network belongs to.
// +optional
VPC *VPC `json:"vpc,omitempty"`
// Cloudstack Network's routing mode.
// Routing mode can be Dynamic, or Static.
// Empty value means the network mode is NATTED, not ROUTED.
// +optional
RoutingMode string `json:"routingMode,omitempty"`
}
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶ added in v0.6.1
type NetworkSpec struct {
// CloudStack Network Name (required to resolve ID)
Name string `json:"name"`
// Optional IP in the network
IP string `json:"ip,omitempty"`
// Optional Network ID (overrides Name if set)
ID string `json:"id,omitempty"`
}
func (*NetworkSpec) DeepCopy ¶ added in v0.6.1
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶ added in v0.6.1
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPC ¶ added in v0.6.0
type VPC struct {
// Cloudstack VPC ID of the network.
// +optional
ID string `json:"id,omitempty"`
// Cloudstack VPC Name of the network.
// +optional
Name string `json:"name"`
// CIDR for the VPC.
// +optional
CIDR string `json:"cidr,omitempty"`
// Cloudstack VPC Offering for the network.
// Default is "Default VPC offering"
// +optional
Offering string `json:"offering,omitempty"`
}
func (*VPC) DeepCopy ¶ added in v0.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPC.
func (*VPC) DeepCopyInto ¶ added in v0.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- cloudstackaffinitygroup_types.go
- cloudstackcluster_types.go
- cloudstackcluster_webhook.go
- cloudstackfailuredomain_types.go
- cloudstackisolatednetwork_types.go
- cloudstackmachine_types.go
- cloudstackmachine_webhook.go
- cloudstackmachinestatechecker_types.go
- cloudstackmachinetemplate_types.go
- cloudstackmachinetemplate_webhook.go
- conversion.go
- doc.go
- groupversion_info.go
- zz_generated.deepcopy.go