v1alpha3

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	// ClusterFinalizer allows ReconcileAzureCluster to clean up Azure resources associated with AzureCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "azurecluster.infrastructure.cluster.x-k8s.io"

	// ClusterLabelNamespace indicates the namespace of the cluster.
	ClusterLabelNamespace = "azurecluster.infrastructure.cluster.x-k8s.io/cluster-namespace"
)
View Source
const (
	// NetworkInfrastructureReadyCondition reports of current status of cluster infrastructure.
	NetworkInfrastructureReadyCondition = "NetworkInfrastructureReady"
	// LoadBalancerProvisioningReason API Server endpoint for the loadbalancer.
	LoadBalancerProvisioningReason = "LoadBalancerProvisioning"
	// LoadBalancerProvisioningFailedReason used for failure during provisioning of loadbalancer.
	LoadBalancerProvisioningFailedReason = "LoadBalancerProvisioningFailed"
	// NamespaceNotAllowedByIdentity used to indicate cluster in a namespace not allowed by identity.
	NamespaceNotAllowedByIdentity = "NamespaceNotAllowedByIdentity"
)

AzureCluster Conditions and Reasons.

View Source
const (
	// VMRunningCondition reports on current status of the Azure VM.
	VMRunningCondition clusterv1alpha3.ConditionType = "VMRunning"
	// VMNCreatingReason used when the vm creation is in progress.
	VMNCreatingReason = "VMCreating"
	// VMNUpdatingReason used when the vm updating is in progress.
	VMNUpdatingReason = "VMUpdating"
	// VMNotFoundReason used when the vm couldn't be retrieved.
	VMNotFoundReason = "VMNotFound"
	// VMDeletingReason used when the vm is in a deleting state.
	VMDDeletingReason = "VMDeleting"
	// VMStoppedReason vm is in a stopped state.
	VMStoppedReason = "VMStopped"
	// VMProvisionFailedReason used for failures during vm provisioning.
	VMProvisionFailedReason = "VMProvisionFailed"
	// WaitingForClusterInfrastructureReason used when machine is waiting for cluster infrastructure to be ready before proceeding.
	WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure"
	// WaitingForBootstrapDataReason used when machine is waiting for bootstrap data to be ready before proceeding.
	WaitingForBootstrapDataReason = "WaitingForBootstrapData"
)

AzureMachine Conditions and Reasons.

View Source
const (
	// ResourceLifecycleOwned is the value we use when tagging resources to indicate
	// that the resource is considered owned and managed by the cluster,
	// and in particular that the lifecycle is tied to the lifecycle of the cluster.
	ResourceLifecycleOwned = ResourceLifecycle("owned")

	// ResourceLifecycleShared is the value we use when tagging resources to indicate
	// that the resource is shared between multiple clusters, and should not be destroyed
	// if the cluster is destroyed.
	ResourceLifecycleShared = ResourceLifecycle("shared")

	// NameKubernetesAzureCloudProviderPrefix is the tag name used by the cloud provider to logically
	// separate independent cluster resources. We use it to identify which resources we expect
	// to be permissive about state changes.
	// logically independent clusters running in the same AZ.
	// The tag key = NameKubernetesAzureCloudProviderPrefix + clusterID
	// The tag value is an ownership value.
	NameKubernetesAzureCloudProviderPrefix = "kubernetes.io_cluster_"

	// NameAzureProviderPrefix is the tag prefix we use to differentiate
	// cluster-api-provider-azure owned components from other tooling that
	// uses NameKubernetesClusterPrefix.
	NameAzureProviderPrefix = "sigs.k8s.io_cluster-api-provider-azure_"

	// NameAzureProviderOwned is the tag name we use to differentiate
	// cluster-api-provider-azure owned components from other tooling that
	// uses NameKubernetesClusterPrefix.
	NameAzureProviderOwned = NameAzureProviderPrefix + "cluster_"

	// NameAzureClusterAPIRole is the tag name we use to mark roles for resources
	// dedicated to this cluster api provider implementation.
	NameAzureClusterAPIRole = NameAzureProviderPrefix + "role"

	// APIServerRole describes the value for the apiserver role.
	APIServerRole = "apiserver"

	// NodeOutboundRole describes the value for the node outbound LB role.
	NodeOutboundRole = "nodeOutbound"

	// ControlPlaneOutboundRole describes the value for the control plane outbound LB role.
	ControlPlaneOutboundRole = "controlPlaneOutbound"

	// BastionRole describes the value for the bastion role.
	BastionRole = "bastion"

	// CommonRole describes the value for the common role.
	CommonRole = "common"

	// VMTagsLastAppliedAnnotation is the key for the machine object annotation
	// which tracks the AdditionalTags in the Machine Provider Config.
	// See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
	// for annotation formatting rules.
	VMTagsLastAppliedAnnotation = "sigs.k8s.io/cluster-api-provider-azure-last-applied-tags-vm"
)
View Source
const (
	// ControlPlane machine label.
	ControlPlane string = "control-plane"
	// Node machine label.
	Node string = "node"
)
View Source
const (
	// SecurityGroupNode defines a Kubernetes workload node role.
	SecurityGroupNode = SecurityGroupRole(Node)

	// SecurityGroupControlPlane defines a Kubernetes control plane node role.
	SecurityGroupControlPlane = SecurityGroupRole(ControlPlane)
)
View Source
const (
	// SecurityGroupProtocolAll is a wildcard for all IP protocols.
	SecurityGroupProtocolAll = SecurityGroupProtocol("*")

	// SecurityGroupProtocolTCP represents the TCP protocol in ingress rules.
	SecurityGroupProtocolTCP = SecurityGroupProtocol("Tcp")

	// SecurityGroupProtocolUDP represents the UDP protocol in ingress rules.
	SecurityGroupProtocolUDP = SecurityGroupProtocol("Udp")
)
View Source
const (
	// Internal is the value for the Azure load balancer internal type.
	Internal = LBType("Internal")
	// Public is the value for the Azure load balancer public type.
	Public = LBType("Public")
)
View Source
const (
	// SubnetNode defines a Kubernetes workload node role.
	SubnetNode = SubnetRole(Node)

	// SubnetControlPlane defines a Kubernetes control plane node role.
	SubnetControlPlane = SubnetRole(ControlPlane)
)
View Source
const (
	// AzureClusterKind is the Kubernetes Kind for AzureCluster.
	AzureClusterKind = "AzureCluster"
)
View Source
const (
	// AzureIdentityBindingSelector is the label used to match with the AzureIdentityBinding
	// For the controller to match an identity binding, it needs a [label] with the key `aadpodidbinding`
	// whose value is that of the `selector:` field in the `AzureIdentityBinding`.
	AzureIdentityBindingSelector = "capz-controller-aadpodidentity-selector"
)
View Source
const (
	// MachineFinalizer allows ReconcileAzureMachine to clean up Azure resources associated with AzureMachine before
	// removing it from the apiserver.
	MachineFinalizer = "azuremachine.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// SKUStandard is the value for the Azure load balancer Standard SKU.
	SKUStandard = SKU("Standard")
)

Variables

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

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

func ClusterAzureCloudProviderTagKey(name string) string

ClusterAzureCloudProviderTagKey generates the key for resources associated a cluster's Azure cloud provider.

func ClusterTagKey

func ClusterTagKey(name string) string

ClusterTagKey generates the key for resources associated with a cluster.

func Convert_v1alpha3_AddressRecord_To_v1beta1_AddressRecord added in v1.0.0

func Convert_v1alpha3_AddressRecord_To_v1beta1_AddressRecord(in *AddressRecord, out *v1beta1.AddressRecord, s conversion.Scope) error

Convert_v1alpha3_AddressRecord_To_v1beta1_AddressRecord is an autogenerated conversion function.

func Convert_v1alpha3_AzureClusterIdentityList_To_v1beta1_AzureClusterIdentityList added in v1.0.0

func Convert_v1alpha3_AzureClusterIdentityList_To_v1beta1_AzureClusterIdentityList(in *AzureClusterIdentityList, out *v1beta1.AzureClusterIdentityList, s conversion.Scope) error

Convert_v1alpha3_AzureClusterIdentityList_To_v1beta1_AzureClusterIdentityList is an autogenerated conversion function.

func Convert_v1alpha3_AzureClusterIdentitySpec_To_v1beta1_AzureClusterIdentitySpec added in v1.0.0

func Convert_v1alpha3_AzureClusterIdentitySpec_To_v1beta1_AzureClusterIdentitySpec(in *AzureClusterIdentitySpec, out *infrav1.AzureClusterIdentitySpec, s apiconversion.Scope) error

Convert_v1alpha3_AzureClusterIdentitySpec_To_v1beta1_AzureClusterIdentitySpec converts an Azure cluster identity spec from v1alpha3 to v1beta1.

func Convert_v1alpha3_AzureClusterIdentityStatus_To_v1beta1_AzureClusterIdentityStatus added in v1.0.0

func Convert_v1alpha3_AzureClusterIdentityStatus_To_v1beta1_AzureClusterIdentityStatus(in *AzureClusterIdentityStatus, out *v1beta1.AzureClusterIdentityStatus, s conversion.Scope) error

Convert_v1alpha3_AzureClusterIdentityStatus_To_v1beta1_AzureClusterIdentityStatus is an autogenerated conversion function.

func Convert_v1alpha3_AzureClusterIdentity_To_v1beta1_AzureClusterIdentity added in v1.0.0

func Convert_v1alpha3_AzureClusterIdentity_To_v1beta1_AzureClusterIdentity(in *AzureClusterIdentity, out *v1beta1.AzureClusterIdentity, s conversion.Scope) error

Convert_v1alpha3_AzureClusterIdentity_To_v1beta1_AzureClusterIdentity is an autogenerated conversion function.

func Convert_v1alpha3_AzureClusterList_To_v1beta1_AzureClusterList added in v1.0.0

func Convert_v1alpha3_AzureClusterList_To_v1beta1_AzureClusterList(in *AzureClusterList, out *v1beta1.AzureClusterList, s conversion.Scope) error

Convert_v1alpha3_AzureClusterList_To_v1beta1_AzureClusterList is an autogenerated conversion function.

func Convert_v1alpha3_AzureClusterSpec_To_v1beta1_AzureClusterSpec added in v1.0.0

func Convert_v1alpha3_AzureClusterSpec_To_v1beta1_AzureClusterSpec(in *AzureClusterSpec, out *infrav1.AzureClusterSpec, s apiconversion.Scope) error

Convert_v1alpha3_AzureClusterSpec_To_v1beta1_AzureClusterSpec converts AzureCluster.Spec from v1alpha3 to v1beta1.

func Convert_v1alpha3_AzureClusterStatus_To_v1beta1_AzureClusterStatus added in v1.0.0

func Convert_v1alpha3_AzureClusterStatus_To_v1beta1_AzureClusterStatus(in *AzureClusterStatus, out *infrav1.AzureClusterStatus, s apiconversion.Scope) error

Convert_v1alpha3_AzureClusterStatus_To_v1beta1_AzureClusterStatus converts AzureCluster.Status from v1alpha3 to v1beta1.

func Convert_v1alpha3_AzureCluster_To_v1beta1_AzureCluster added in v1.0.0

func Convert_v1alpha3_AzureCluster_To_v1beta1_AzureCluster(in *AzureCluster, out *v1beta1.AzureCluster, s conversion.Scope) error

Convert_v1alpha3_AzureCluster_To_v1beta1_AzureCluster is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachineList_To_v1beta1_AzureMachineList added in v1.0.0

func Convert_v1alpha3_AzureMachineList_To_v1beta1_AzureMachineList(in *AzureMachineList, out *v1beta1.AzureMachineList, s conversion.Scope) error

Convert_v1alpha3_AzureMachineList_To_v1beta1_AzureMachineList is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachineSpec_To_v1beta1_AzureMachineSpec added in v1.0.0

func Convert_v1alpha3_AzureMachineSpec_To_v1beta1_AzureMachineSpec(in *AzureMachineSpec, out *infrav1.AzureMachineSpec, s apiconversion.Scope) error

Convert_v1alpha3_AzureMachineSpec_To_v1beta1_AzureMachineSpec converts this AzureMachineSpec to the Hub version (v1beta1).

func Convert_v1alpha3_AzureMachineStatus_To_v1beta1_AzureMachineStatus added in v1.0.0

func Convert_v1alpha3_AzureMachineStatus_To_v1beta1_AzureMachineStatus(in *AzureMachineStatus, out *infrav1.AzureMachineStatus, s apiconversion.Scope) error

Convert_v1alpha3_AzureMachineStatus_To_v1beta1_AzureMachineStatus converts this AzureMachineStatus to the Hub version (v1beta1).

func Convert_v1alpha3_AzureMachineTemplateList_To_v1beta1_AzureMachineTemplateList added in v1.0.0

func Convert_v1alpha3_AzureMachineTemplateList_To_v1beta1_AzureMachineTemplateList(in *AzureMachineTemplateList, out *v1beta1.AzureMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_AzureMachineTemplateList_To_v1beta1_AzureMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachineTemplateResource_To_v1beta1_AzureMachineTemplateResource added in v1.0.0

func Convert_v1alpha3_AzureMachineTemplateResource_To_v1beta1_AzureMachineTemplateResource(in *AzureMachineTemplateResource, out *v1beta1.AzureMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_AzureMachineTemplateResource_To_v1beta1_AzureMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachineTemplateSpec_To_v1beta1_AzureMachineTemplateSpec added in v1.0.0

func Convert_v1alpha3_AzureMachineTemplateSpec_To_v1beta1_AzureMachineTemplateSpec(in *AzureMachineTemplateSpec, out *v1beta1.AzureMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_AzureMachineTemplateSpec_To_v1beta1_AzureMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachineTemplate_To_v1beta1_AzureMachineTemplate added in v1.0.0

func Convert_v1alpha3_AzureMachineTemplate_To_v1beta1_AzureMachineTemplate(in *AzureMachineTemplate, out *v1beta1.AzureMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_AzureMachineTemplate_To_v1beta1_AzureMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_AzureMachine_To_v1beta1_AzureMachine added in v1.0.0

func Convert_v1alpha3_AzureMachine_To_v1beta1_AzureMachine(in *AzureMachine, out *v1beta1.AzureMachine, s conversion.Scope) error

Convert_v1alpha3_AzureMachine_To_v1beta1_AzureMachine is an autogenerated conversion function.

func Convert_v1alpha3_AzureMarketplaceImage_To_v1beta1_AzureMarketplaceImage added in v1.0.0

func Convert_v1alpha3_AzureMarketplaceImage_To_v1beta1_AzureMarketplaceImage(in *AzureMarketplaceImage, out *infrav1.AzureMarketplaceImage, s apiconversion.Scope) error

Convert_v1alpha3_AzureMarketplaceImage_To_v1beta1_AzureMarketplaceImage converts an Azure Marketplace image from v1alpha3 to v1beta1.

func Convert_v1alpha3_AzureSharedGalleryImage_To_v1beta1_AzureSharedGalleryImage added in v1.0.0

func Convert_v1alpha3_AzureSharedGalleryImage_To_v1beta1_AzureSharedGalleryImage(in *AzureSharedGalleryImage, out *v1beta1.AzureSharedGalleryImage, s conversion.Scope) error

Convert_v1alpha3_AzureSharedGalleryImage_To_v1beta1_AzureSharedGalleryImage is an autogenerated conversion function.

func Convert_v1alpha3_BuildParams_To_v1beta1_BuildParams added in v1.0.0

func Convert_v1alpha3_BuildParams_To_v1beta1_BuildParams(in *BuildParams, out *v1beta1.BuildParams, s conversion.Scope) error

Convert_v1alpha3_BuildParams_To_v1beta1_BuildParams is an autogenerated conversion function.

func Convert_v1alpha3_DataDisk_To_v1beta1_DataDisk added in v1.0.0

func Convert_v1alpha3_DataDisk_To_v1beta1_DataDisk(in *DataDisk, out *v1beta1.DataDisk, s conversion.Scope) error

Convert_v1alpha3_DataDisk_To_v1beta1_DataDisk is an autogenerated conversion function.

func Convert_v1alpha3_DiffDiskSettings_To_v1beta1_DiffDiskSettings added in v1.0.0

func Convert_v1alpha3_DiffDiskSettings_To_v1beta1_DiffDiskSettings(in *DiffDiskSettings, out *v1beta1.DiffDiskSettings, s conversion.Scope) error

Convert_v1alpha3_DiffDiskSettings_To_v1beta1_DiffDiskSettings is an autogenerated conversion function.

func Convert_v1alpha3_DiskEncryptionSetParameters_To_v1beta1_DiskEncryptionSetParameters added in v1.0.0

func Convert_v1alpha3_DiskEncryptionSetParameters_To_v1beta1_DiskEncryptionSetParameters(in *DiskEncryptionSetParameters, out *v1beta1.DiskEncryptionSetParameters, s conversion.Scope) error

Convert_v1alpha3_DiskEncryptionSetParameters_To_v1beta1_DiskEncryptionSetParameters is an autogenerated conversion function.

func Convert_v1alpha3_FrontendIP_To_v1beta1_FrontendIP added in v1.0.0

func Convert_v1alpha3_FrontendIP_To_v1beta1_FrontendIP(in *FrontendIP, out *infrav1.FrontendIP, s apiconversion.Scope) error

Convert_v1alpha3_FrontendIP_To_v1beta1_FrontendIP is an autogenerated conversion function.

func Convert_v1alpha3_Future_To_v1beta1_Future added in v1.0.0

func Convert_v1alpha3_Future_To_v1beta1_Future(in *Future, out *infrav1.Future, s apiconversion.Scope) error

Convert_v1alpha3_Future_To_v1beta1_Future is an autogenerated conversion function.

func Convert_v1alpha3_Image_To_v1beta1_Image added in v1.0.0

func Convert_v1alpha3_Image_To_v1beta1_Image(in *Image, out *v1beta1.Image, s conversion.Scope) error

Convert_v1alpha3_Image_To_v1beta1_Image is an autogenerated conversion function.

func Convert_v1alpha3_IngressRule_To_v1beta1_SecurityRule added in v1.0.0

func Convert_v1alpha3_IngressRule_To_v1beta1_SecurityRule(in *IngressRule, out *infrav1.SecurityRule, _ apiconversion.Scope) error

Convert_v1alpha3_IngressRule_To_v1beta1_SecurityRule converts from a v1alpha3 IngressRule to a v1beta1 SecurityRule.

func Convert_v1alpha3_LoadBalancerSpec_To_v1beta1_LoadBalancerSpec added in v1.0.0

func Convert_v1alpha3_LoadBalancerSpec_To_v1beta1_LoadBalancerSpec(in *LoadBalancerSpec, out *infrav1.LoadBalancerSpec, s apiconversion.Scope) error

Convert_v1alpha3_LoadBalancerSpec_To_v1beta1_LoadBalancerSpec converts an LB spec from v1alpha3 to v1beta1.

func Convert_v1alpha3_ManagedDisk_To_v1beta1_ManagedDiskParameters added in v1.0.0

func Convert_v1alpha3_ManagedDisk_To_v1beta1_ManagedDiskParameters(in *ManagedDisk, out *infrav1.ManagedDiskParameters, s apiconversion.Scope) error

Convert_v1alpha3_ManagedDisk_To_v1beta1_ManagedDiskParameters converts this ManagedDisk to the Hub version (v1beta1).

func Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec added in v1.0.0

func Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec(in *NetworkSpec, out *infrav1.NetworkSpec, s apiconversion.Scope) error

Convert_v1alpha3_NetworkSpec_To_v1beta1_NetworkSpec converts a network spec from v1alpha3 to v1beta1.

func Convert_v1alpha3_OSDisk_To_v1beta1_OSDisk added in v1.0.0

func Convert_v1alpha3_OSDisk_To_v1beta1_OSDisk(in *OSDisk, out *infrav1.OSDisk, s apiconversion.Scope) error

Convert_v1alpha3_OSDisk_To_v1beta1_OSDisk converts this OSDisk to the Hub version (v1beta1).

func Convert_v1alpha3_PublicIPSpec_To_v1beta1_PublicIPSpec added in v1.0.0

func Convert_v1alpha3_PublicIPSpec_To_v1beta1_PublicIPSpec(in *PublicIPSpec, out *v1beta1.PublicIPSpec, s conversion.Scope) error

Convert_v1alpha3_PublicIPSpec_To_v1beta1_PublicIPSpec is an autogenerated conversion function.

func Convert_v1alpha3_RouteTable_To_v1beta1_RouteTable added in v1.0.0

func Convert_v1alpha3_RouteTable_To_v1beta1_RouteTable(in *RouteTable, out *v1beta1.RouteTable, s conversion.Scope) error

Convert_v1alpha3_RouteTable_To_v1beta1_RouteTable is an autogenerated conversion function.

func Convert_v1alpha3_SecurityGroup_To_v1beta1_SecurityGroup added in v1.0.0

func Convert_v1alpha3_SecurityGroup_To_v1beta1_SecurityGroup(in *SecurityGroup, out *infrav1.SecurityGroup, s apiconversion.Scope) error

Convert_v1alpha3_SecurityGroup_To_v1beta1_SecurityGroup converts a security group from v1alpha3 to v1beta1.

func Convert_v1alpha3_SecurityProfile_To_v1beta1_SecurityProfile added in v1.0.0

func Convert_v1alpha3_SecurityProfile_To_v1beta1_SecurityProfile(in *SecurityProfile, out *v1beta1.SecurityProfile, s conversion.Scope) error

Convert_v1alpha3_SecurityProfile_To_v1beta1_SecurityProfile is an autogenerated conversion function.

func Convert_v1alpha3_SpotVMOptions_To_v1beta1_SpotVMOptions added in v1.0.0

func Convert_v1alpha3_SpotVMOptions_To_v1beta1_SpotVMOptions(in *SpotVMOptions, out *v1beta1.SpotVMOptions, s conversion.Scope) error

Convert_v1alpha3_SpotVMOptions_To_v1beta1_SpotVMOptions is an autogenerated conversion function.

func Convert_v1alpha3_SubnetSpec_To_v1beta1_SubnetSpec added in v1.0.0

func Convert_v1alpha3_SubnetSpec_To_v1beta1_SubnetSpec(in *SubnetSpec, out *infrav1.SubnetSpec, s apiconversion.Scope) error

Convert_v1alpha3_SubnetSpec_To_v1beta1_SubnetSpec converts a subnet spec from v1alpha3 to v1beta1.

func Convert_v1alpha3_UserAssignedIdentity_To_v1beta1_UserAssignedIdentity added in v1.0.0

func Convert_v1alpha3_UserAssignedIdentity_To_v1beta1_UserAssignedIdentity(in *UserAssignedIdentity, out *v1beta1.UserAssignedIdentity, s conversion.Scope) error

Convert_v1alpha3_UserAssignedIdentity_To_v1beta1_UserAssignedIdentity is an autogenerated conversion function.

func Convert_v1alpha3_VnetSpec_To_v1beta1_VnetSpec added in v1.0.0

func Convert_v1alpha3_VnetSpec_To_v1beta1_VnetSpec(in *VnetSpec, out *infrav1.VnetSpec, s apiconversion.Scope) error

Convert_v1alpha3_VnetSpec_To_v1beta1_VnetSpec is an autogenerated conversion function.

func Convert_v1beta1_AddressRecord_To_v1alpha3_AddressRecord added in v1.0.0

func Convert_v1beta1_AddressRecord_To_v1alpha3_AddressRecord(in *v1beta1.AddressRecord, out *AddressRecord, s conversion.Scope) error

Convert_v1beta1_AddressRecord_To_v1alpha3_AddressRecord is an autogenerated conversion function.

func Convert_v1beta1_AzureClusterIdentityList_To_v1alpha3_AzureClusterIdentityList added in v1.0.0

func Convert_v1beta1_AzureClusterIdentityList_To_v1alpha3_AzureClusterIdentityList(in *v1beta1.AzureClusterIdentityList, out *AzureClusterIdentityList, s conversion.Scope) error

Convert_v1beta1_AzureClusterIdentityList_To_v1alpha3_AzureClusterIdentityList is an autogenerated conversion function.

func Convert_v1beta1_AzureClusterIdentitySpec_To_v1alpha3_AzureClusterIdentitySpec added in v1.0.0

func Convert_v1beta1_AzureClusterIdentitySpec_To_v1alpha3_AzureClusterIdentitySpec(in *infrav1.AzureClusterIdentitySpec, out *AzureClusterIdentitySpec, s apiconversion.Scope) error

Convert_v1beta1_AzureClusterIdentitySpec_To_v1alpha3_AzureClusterIdentitySpec converts an Azure cluster identity spec from v1beta1 to v1alpha3.

func Convert_v1beta1_AzureClusterIdentityStatus_To_v1alpha3_AzureClusterIdentityStatus added in v1.0.0

func Convert_v1beta1_AzureClusterIdentityStatus_To_v1alpha3_AzureClusterIdentityStatus(in *v1beta1.AzureClusterIdentityStatus, out *AzureClusterIdentityStatus, s conversion.Scope) error

Convert_v1beta1_AzureClusterIdentityStatus_To_v1alpha3_AzureClusterIdentityStatus is an autogenerated conversion function.

func Convert_v1beta1_AzureClusterIdentity_To_v1alpha3_AzureClusterIdentity added in v1.0.0

func Convert_v1beta1_AzureClusterIdentity_To_v1alpha3_AzureClusterIdentity(in *v1beta1.AzureClusterIdentity, out *AzureClusterIdentity, s conversion.Scope) error

Convert_v1beta1_AzureClusterIdentity_To_v1alpha3_AzureClusterIdentity is an autogenerated conversion function.

func Convert_v1beta1_AzureClusterList_To_v1alpha3_AzureClusterList added in v1.0.0

func Convert_v1beta1_AzureClusterList_To_v1alpha3_AzureClusterList(in *v1beta1.AzureClusterList, out *AzureClusterList, s conversion.Scope) error

Convert_v1beta1_AzureClusterList_To_v1alpha3_AzureClusterList is an autogenerated conversion function.

func Convert_v1beta1_AzureClusterSpec_To_v1alpha3_AzureClusterSpec added in v1.0.0

func Convert_v1beta1_AzureClusterSpec_To_v1alpha3_AzureClusterSpec(in *infrav1.AzureClusterSpec, out *AzureClusterSpec, s apiconversion.Scope) error

Convert_v1beta1_AzureClusterSpec_To_v1alpha3_AzureClusterSpec converts from the Hub version (v1beta1) of the AzureClusterSpec to this version.

func Convert_v1beta1_AzureClusterStatus_To_v1alpha3_AzureClusterStatus added in v1.0.0

func Convert_v1beta1_AzureClusterStatus_To_v1alpha3_AzureClusterStatus(in *infrav1.AzureClusterStatus, out *AzureClusterStatus, s apiconversion.Scope) error

Convert_v1beta1_AzureClusterStatus_To_v1alpha3_AzureClusterStatus converts an Azure cluster status from v1beta1 to v1alpha3.

func Convert_v1beta1_AzureCluster_To_v1alpha3_AzureCluster added in v1.0.0

func Convert_v1beta1_AzureCluster_To_v1alpha3_AzureCluster(in *v1beta1.AzureCluster, out *AzureCluster, s conversion.Scope) error

Convert_v1beta1_AzureCluster_To_v1alpha3_AzureCluster is an autogenerated conversion function.

func Convert_v1beta1_AzureMachineList_To_v1alpha3_AzureMachineList added in v1.0.0

func Convert_v1beta1_AzureMachineList_To_v1alpha3_AzureMachineList(in *v1beta1.AzureMachineList, out *AzureMachineList, s conversion.Scope) error

Convert_v1beta1_AzureMachineList_To_v1alpha3_AzureMachineList is an autogenerated conversion function.

func Convert_v1beta1_AzureMachineSpec_To_v1alpha3_AzureMachineSpec added in v1.0.0

func Convert_v1beta1_AzureMachineSpec_To_v1alpha3_AzureMachineSpec(in *infrav1.AzureMachineSpec, out *AzureMachineSpec, s apiconversion.Scope) error

Convert_v1beta1_AzureMachineSpec_To_v1alpha3_AzureMachineSpec converts from the Hub version (v1beta1) of the AzureMachineSpec to this version.

func Convert_v1beta1_AzureMachineStatus_To_v1alpha3_AzureMachineStatus added in v1.0.0

func Convert_v1beta1_AzureMachineStatus_To_v1alpha3_AzureMachineStatus(in *infrav1.AzureMachineStatus, out *AzureMachineStatus, s apiconversion.Scope) error

Convert_v1beta1_AzureMachineStatus_To_v1alpha3_AzureMachineStatus converts from the Hub version (v1beta1) of the AzureMachineStatus to this version.

func Convert_v1beta1_AzureMachineTemplateList_To_v1alpha3_AzureMachineTemplateList added in v1.0.0

func Convert_v1beta1_AzureMachineTemplateList_To_v1alpha3_AzureMachineTemplateList(in *v1beta1.AzureMachineTemplateList, out *AzureMachineTemplateList, s conversion.Scope) error

Convert_v1beta1_AzureMachineTemplateList_To_v1alpha3_AzureMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta1_AzureMachineTemplateResource_To_v1alpha3_AzureMachineTemplateResource added in v1.0.0

func Convert_v1beta1_AzureMachineTemplateResource_To_v1alpha3_AzureMachineTemplateResource(in *infrav1.AzureMachineTemplateResource, out *AzureMachineTemplateResource, s apimachineryconversion.Scope) error

Convert_v1beta1_AzureMachineTemplateResource_To_v1alpha3_AzureMachineTemplateResource converts an Azure machine template resource from v1beta1 to v1alpha3.

func Convert_v1beta1_AzureMachineTemplateSpec_To_v1alpha3_AzureMachineTemplateSpec added in v1.0.0

func Convert_v1beta1_AzureMachineTemplateSpec_To_v1alpha3_AzureMachineTemplateSpec(in *v1beta1.AzureMachineTemplateSpec, out *AzureMachineTemplateSpec, s conversion.Scope) error

Convert_v1beta1_AzureMachineTemplateSpec_To_v1alpha3_AzureMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_AzureMachineTemplate_To_v1alpha3_AzureMachineTemplate added in v1.0.0

func Convert_v1beta1_AzureMachineTemplate_To_v1alpha3_AzureMachineTemplate(in *v1beta1.AzureMachineTemplate, out *AzureMachineTemplate, s conversion.Scope) error

Convert_v1beta1_AzureMachineTemplate_To_v1alpha3_AzureMachineTemplate is an autogenerated conversion function.

func Convert_v1beta1_AzureMachine_To_v1alpha3_AzureMachine added in v1.0.0

func Convert_v1beta1_AzureMachine_To_v1alpha3_AzureMachine(in *v1beta1.AzureMachine, out *AzureMachine, s conversion.Scope) error

Convert_v1beta1_AzureMachine_To_v1alpha3_AzureMachine is an autogenerated conversion function.

func Convert_v1beta1_AzureMarketplaceImage_To_v1alpha3_AzureMarketplaceImage added in v1.0.0

func Convert_v1beta1_AzureMarketplaceImage_To_v1alpha3_AzureMarketplaceImage(in *infrav1.AzureMarketplaceImage, out *AzureMarketplaceImage, s apiconversion.Scope) error

Convert_v1beta1_AzureMarketplaceImage_To_v1alpha3_AzureMarketplaceImage converts an Azure Marketplace image from v1beta1 to v1alpha3.

func Convert_v1beta1_AzureSharedGalleryImage_To_v1alpha3_AzureSharedGalleryImage added in v1.0.0

func Convert_v1beta1_AzureSharedGalleryImage_To_v1alpha3_AzureSharedGalleryImage(in *infrav1.AzureSharedGalleryImage, out *AzureSharedGalleryImage, s apimachineryconversion.Scope) error

Convert_v1beta1_AzureSharedGalleryImage_To_v1alpha3_AzureSharedGalleryImage converts an Azure shared gallery image from v1beta1 to v1alpha3.

func Convert_v1beta1_BuildParams_To_v1alpha3_BuildParams added in v1.0.0

func Convert_v1beta1_BuildParams_To_v1alpha3_BuildParams(in *v1beta1.BuildParams, out *BuildParams, s conversion.Scope) error

Convert_v1beta1_BuildParams_To_v1alpha3_BuildParams is an autogenerated conversion function.

func Convert_v1beta1_DataDisk_To_v1alpha3_DataDisk added in v1.0.0

func Convert_v1beta1_DataDisk_To_v1alpha3_DataDisk(in *v1beta1.DataDisk, out *DataDisk, s conversion.Scope) error

Convert_v1beta1_DataDisk_To_v1alpha3_DataDisk is an autogenerated conversion function.

func Convert_v1beta1_DiffDiskSettings_To_v1alpha3_DiffDiskSettings added in v1.0.0

func Convert_v1beta1_DiffDiskSettings_To_v1alpha3_DiffDiskSettings(in *v1beta1.DiffDiskSettings, out *DiffDiskSettings, s conversion.Scope) error

Convert_v1beta1_DiffDiskSettings_To_v1alpha3_DiffDiskSettings is an autogenerated conversion function.

func Convert_v1beta1_DiskEncryptionSetParameters_To_v1alpha3_DiskEncryptionSetParameters added in v1.0.0

func Convert_v1beta1_DiskEncryptionSetParameters_To_v1alpha3_DiskEncryptionSetParameters(in *v1beta1.DiskEncryptionSetParameters, out *DiskEncryptionSetParameters, s conversion.Scope) error

Convert_v1beta1_DiskEncryptionSetParameters_To_v1alpha3_DiskEncryptionSetParameters is an autogenerated conversion function.

func Convert_v1beta1_FrontendIP_To_v1alpha3_FrontendIP added in v1.0.0

func Convert_v1beta1_FrontendIP_To_v1alpha3_FrontendIP(in *infrav1.FrontendIP, out *FrontendIP, s apiconversion.Scope) error

Convert_v1beta1_FrontendIP_To_v1alpha3_FrontendIP is an autogenerated conversion function.

func Convert_v1beta1_Future_To_v1alpha3_Future added in v1.0.0

func Convert_v1beta1_Future_To_v1alpha3_Future(in *infrav1.Future, out *Future, s apiconversion.Scope) error

Convert_v1beta1_Future_To_v1alpha3_Future is an autogenerated conversion function.

func Convert_v1beta1_Image_To_v1alpha3_Image added in v1.0.0

func Convert_v1beta1_Image_To_v1alpha3_Image(in *infrav1.Image, out *Image, s apiconversion.Scope) error

Convert_v1beta1_Image_To_v1alpha3_Image converts an image from v1beta1 to v1alpha3.

func Convert_v1beta1_LoadBalancerSpec_To_v1alpha3_LoadBalancerSpec added in v1.0.0

func Convert_v1beta1_LoadBalancerSpec_To_v1alpha3_LoadBalancerSpec(in *infrav1.LoadBalancerSpec, out *LoadBalancerSpec, s apiconversion.Scope) error

Convert_v1beta1_LoadBalancerSpec_To_v1alpha3_LoadBalancerSpec is an autogenerated conversion function.

func Convert_v1beta1_ManagedDiskParameters_To_v1alpha3_ManagedDisk added in v1.0.0

func Convert_v1beta1_ManagedDiskParameters_To_v1alpha3_ManagedDisk(in *infrav1.ManagedDiskParameters, out *ManagedDisk, s apiconversion.Scope) error

Convert_v1beta1_ManagedDiskParameters_To_v1alpha3_ManagedDisk converts from the Hub version (v1beta1) of the ManagedDiskParameters to this version.

func Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec added in v1.0.0

func Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec(in *infrav1.NetworkSpec, out *NetworkSpec, s apiconversion.Scope) error

Convert_v1beta1_NetworkSpec_To_v1alpha3_NetworkSpec converts a network spec from v1beta1 to v1alpha3.

func Convert_v1beta1_OSDisk_To_v1alpha3_OSDisk added in v1.0.0

func Convert_v1beta1_OSDisk_To_v1alpha3_OSDisk(in *infrav1.OSDisk, out *OSDisk, s apiconversion.Scope) error

Convert_v1beta1_OSDisk_To_v1alpha3_OSDisk converts from the Hub version (v1beta1) of the AzureMachineStatus to this version.

func Convert_v1beta1_PublicIPSpec_To_v1alpha3_PublicIPSpec added in v1.0.0

func Convert_v1beta1_PublicIPSpec_To_v1alpha3_PublicIPSpec(in *infrav1.PublicIPSpec, out *PublicIPSpec, s apiconversion.Scope) error

Convert_v1beta1_PublicIPSpec_To_v1alpha3_PublicIPSpec is an autogenerated conversion function.

func Convert_v1beta1_RouteTable_To_v1alpha3_RouteTable added in v1.0.0

func Convert_v1beta1_RouteTable_To_v1alpha3_RouteTable(in *v1beta1.RouteTable, out *RouteTable, s conversion.Scope) error

Convert_v1beta1_RouteTable_To_v1alpha3_RouteTable is an autogenerated conversion function.

func Convert_v1beta1_SecurityGroup_To_v1alpha3_SecurityGroup added in v1.0.0

func Convert_v1beta1_SecurityGroup_To_v1alpha3_SecurityGroup(in *infrav1.SecurityGroup, out *SecurityGroup, s apiconversion.Scope) error

Convert_v1beta1_SecurityGroup_To_v1alpha3_SecurityGroup converts a security group from v1beta1 to v1alpha3.

func Convert_v1beta1_SecurityProfile_To_v1alpha3_SecurityProfile added in v1.0.0

func Convert_v1beta1_SecurityProfile_To_v1alpha3_SecurityProfile(in *v1beta1.SecurityProfile, out *SecurityProfile, s conversion.Scope) error

Convert_v1beta1_SecurityProfile_To_v1alpha3_SecurityProfile is an autogenerated conversion function.

func Convert_v1beta1_SecurityRule_To_v1alpha3_IngressRule added in v1.0.0

func Convert_v1beta1_SecurityRule_To_v1alpha3_IngressRule(in *infrav1.SecurityRule, out *IngressRule, _ apiconversion.Scope) error

Convert_v1beta1_SecurityRule_To_v1alpha3_IngressRule converts from a v1beta1 SecurityRule to a v1alpha3 IngressRule.

func Convert_v1beta1_SpotVMOptions_To_v1alpha3_SpotVMOptions added in v1.0.0

func Convert_v1beta1_SpotVMOptions_To_v1alpha3_SpotVMOptions(in *v1beta1.SpotVMOptions, out *SpotVMOptions, s conversion.Scope) error

Convert_v1beta1_SpotVMOptions_To_v1alpha3_SpotVMOptions is an autogenerated conversion function.

func Convert_v1beta1_SubnetSpec_To_v1alpha3_SubnetSpec added in v1.0.0

func Convert_v1beta1_SubnetSpec_To_v1alpha3_SubnetSpec(in *infrav1.SubnetSpec, out *SubnetSpec, s apiconversion.Scope) error

Convert_v1beta1_SubnetSpec_To_v1alpha3_SubnetSpec converts a subnet spec from v1beta1 to v1alpha3.

func Convert_v1beta1_UserAssignedIdentity_To_v1alpha3_UserAssignedIdentity added in v1.0.0

func Convert_v1beta1_UserAssignedIdentity_To_v1alpha3_UserAssignedIdentity(in *v1beta1.UserAssignedIdentity, out *UserAssignedIdentity, s conversion.Scope) error

Convert_v1beta1_UserAssignedIdentity_To_v1alpha3_UserAssignedIdentity is an autogenerated conversion function.

func Convert_v1beta1_VnetSpec_To_v1alpha3_VnetSpec added in v1.0.0

func Convert_v1beta1_VnetSpec_To_v1alpha3_VnetSpec(in *infrav1.VnetSpec, out *VnetSpec, s apiconversion.Scope) error

Convert_v1beta1_VnetSpec_To_v1alpha3_VnetSpec converts a virtual network spec from v1beta1 to v1alpha3.

func RegisterConversions added in v0.5.0

func RegisterConversions(s *runtime.Scheme) error

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

func SpecVersionHashTagKey added in v0.4.11

func SpecVersionHashTagKey() string

SpecVersionHashTagKey is the key for the spec version hash used to enable quick spec difference comparison.

Types

type AddressRecord added in v0.4.10

type AddressRecord struct {
	Hostname string
	IP       string
}

AddressRecord specifies a DNS record mapping a hostname to an IPV4 or IPv6 address.

func (*AddressRecord) DeepCopy added in v0.4.10

func (in *AddressRecord) DeepCopy() *AddressRecord

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

func (*AddressRecord) DeepCopyInto added in v0.4.10

func (in *AddressRecord) DeepCopyInto(out *AddressRecord)

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

type AvailabilityZone deprecated

type AvailabilityZone struct {
	ID      *string `json:"id,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
}

AvailabilityZone specifies an Azure Availability Zone.

Deprecated: Use FailureDomain instead.

func (*AvailabilityZone) DeepCopy

func (in *AvailabilityZone) DeepCopy() *AvailabilityZone

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

func (*AvailabilityZone) DeepCopyInto

func (in *AvailabilityZone) DeepCopyInto(out *AvailabilityZone)

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

type AzureCluster

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

	Spec   AzureClusterSpec   `json:"spec,omitempty"`
	Status AzureClusterStatus `json:"status,omitempty"`
}

AzureCluster is the Schema for the azureclusters API.

func (*AzureCluster) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureCluster) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureCluster to the Hub version (v1beta1).

func (*AzureCluster) DeepCopy

func (in *AzureCluster) DeepCopy() *AzureCluster

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

func (*AzureCluster) DeepCopyInto

func (in *AzureCluster) DeepCopyInto(out *AzureCluster)

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

func (*AzureCluster) DeepCopyObject

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

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

func (*AzureCluster) GetConditions added in v0.4.6

func (c *AzureCluster) GetConditions() clusterv1alpha3.Conditions

GetConditions returns the list of conditions for an AzureCluster API object.

func (*AzureCluster) SetConditions added in v0.4.6

func (c *AzureCluster) SetConditions(conditions clusterv1alpha3.Conditions)

SetConditions will set the given conditions on an AzureCluster object.

type AzureClusterIdentity added in v0.4.11

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

	Spec   AzureClusterIdentitySpec   `json:"spec,omitempty"`
	Status AzureClusterIdentityStatus `json:"status,omitempty"`
}

AzureClusterIdentity is the Schema for the azureclustersidentities API.

func (*AzureClusterIdentity) ClusterNamespaceAllowed added in v0.4.11

func (c *AzureClusterIdentity) ClusterNamespaceAllowed(namespace string) bool

ClusterNamespaceAllowed indicates if the cluster namespace is allowed.

func (*AzureClusterIdentity) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureClusterIdentity) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureCluster to the Hub version (v1beta1).

func (*AzureClusterIdentity) DeepCopy added in v0.4.11

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

func (*AzureClusterIdentity) DeepCopyInto added in v0.4.11

func (in *AzureClusterIdentity) DeepCopyInto(out *AzureClusterIdentity)

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

func (*AzureClusterIdentity) DeepCopyObject added in v0.4.11

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

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

func (*AzureClusterIdentity) GetConditions added in v0.4.11

func (c *AzureClusterIdentity) GetConditions() clusterv1alpha3.Conditions

GetConditions returns the list of conditions for an AzureClusterIdentity API object.

func (*AzureClusterIdentity) SetConditions added in v0.4.11

func (c *AzureClusterIdentity) SetConditions(conditions clusterv1alpha3.Conditions)

SetConditions will set the given conditions on an AzureClusterIdentity object.

type AzureClusterIdentityList added in v0.4.11

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

AzureClusterIdentityList contains a list of AzureClusterIdentities.

func (*AzureClusterIdentityList) ConvertFrom added in v1.2.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureClusterIdentityList) ConvertTo added in v1.2.0

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

ConvertTo converts this AzureClusterIdentityList to the Hub version (v1beta1).

func (*AzureClusterIdentityList) DeepCopy added in v0.4.11

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

func (*AzureClusterIdentityList) DeepCopyInto added in v0.4.11

func (in *AzureClusterIdentityList) DeepCopyInto(out *AzureClusterIdentityList)

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

func (*AzureClusterIdentityList) DeepCopyObject added in v0.4.11

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

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

type AzureClusterIdentitySpec added in v0.4.11

type AzureClusterIdentitySpec struct {
	// UserAssignedMSI or Service Principal
	Type IdentityType `json:"type"`
	// User assigned MSI resource id.
	// +optional
	ResourceID string `json:"resourceID,omitempty"`
	// Both User Assigned MSI and SP can use this field.
	ClientID string `json:"clientID"`
	// ClientSecret is a secret reference which should contain either a Service Principal password or certificate secret.
	// +optional
	ClientSecret corev1.SecretReference `json:"clientSecret,omitempty"`
	// Service principal primary tenant id.
	TenantID string `json:"tenantID"`
	// AllowedNamespaces is an array of namespaces that AzureClusters can
	// use this Identity from.
	//
	// An empty list (default) indicates that AzureClusters can use this
	// Identity from any namespace. This field is intentionally not a
	// pointer because the nil behavior (no namespaces) is undesirable here.
	// +optional
	AllowedNamespaces []string `json:"allowedNamespaces"`
}

AzureClusterIdentitySpec defines the parameters that are used to create an AzureIdentity.

func (*AzureClusterIdentitySpec) DeepCopy added in v0.4.11

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

func (*AzureClusterIdentitySpec) DeepCopyInto added in v0.4.11

func (in *AzureClusterIdentitySpec) DeepCopyInto(out *AzureClusterIdentitySpec)

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

type AzureClusterIdentityStatus added in v0.4.11

type AzureClusterIdentityStatus struct {
	// Conditions defines current service state of the AzureClusterIdentity.
	// +optional
	Conditions clusterv1alpha3.Conditions `json:"conditions,omitempty"`
}

AzureClusterIdentityStatus defines the observed state of AzureClusterIdentity.

func (*AzureClusterIdentityStatus) DeepCopy added in v0.4.11

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

func (*AzureClusterIdentityStatus) DeepCopyInto added in v0.4.11

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

type AzureClusterList

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

AzureClusterList contains a list of AzureClusters.

func (*AzureClusterList) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureClusterList) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureClusterList to the Hub version (v1beta1).

func (*AzureClusterList) DeepCopy

func (in *AzureClusterList) DeepCopy() *AzureClusterList

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

func (*AzureClusterList) DeepCopyInto

func (in *AzureClusterList) DeepCopyInto(out *AzureClusterList)

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

func (*AzureClusterList) DeepCopyObject

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

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

type AzureClusterSpec

type AzureClusterSpec struct {
	// NetworkSpec encapsulates all things related to Azure network.
	NetworkSpec NetworkSpec `json:"networkSpec,omitempty"`

	// +optional
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// +optional
	SubscriptionID string `json:"subscriptionID,omitempty"`

	Location string `json:"location"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1alpha3.APIEndpoint `json:"controlPlaneEndpoint"`

	// AdditionalTags is an optional set of tags to add to Azure resources managed by the Azure provider, in addition to the
	// ones added by default.
	// +optional
	AdditionalTags Tags `json:"additionalTags,omitempty"`

	// IdentityRef is a reference to a AzureIdentity to be used when reconciling this cluster
	// +optional
	IdentityRef *corev1.ObjectReference `json:"identityRef,omitempty"`
}

AzureClusterSpec defines the desired state of AzureCluster.

func (*AzureClusterSpec) DeepCopy

func (in *AzureClusterSpec) DeepCopy() *AzureClusterSpec

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

func (*AzureClusterSpec) DeepCopyInto

func (in *AzureClusterSpec) DeepCopyInto(out *AzureClusterSpec)

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

type AzureClusterStatus

type AzureClusterStatus struct {
	// FailureDomains specifies the list of unique failure domains for the location/region of the cluster.
	// A FailureDomain maps to Availability Zone with an Azure Region (if the region support them). An
	// Availability Zone is a separate data center within a region and they can be used to ensure
	// the cluster is more resilient to failure.
	// See: https://docs.microsoft.com/en-us/azure/availability-zones/az-overview
	// This list will be used by Cluster API to try and spread the machines across the failure domains.
	FailureDomains clusterv1alpha3.FailureDomains `json:"failureDomains,omitempty"`

	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready"`

	// Conditions defines current service state of the AzureCluster.
	// +optional
	Conditions clusterv1alpha3.Conditions `json:"conditions,omitempty"`
}

AzureClusterStatus defines the observed state of AzureCluster.

func (*AzureClusterStatus) DeepCopy

func (in *AzureClusterStatus) DeepCopy() *AzureClusterStatus

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

func (*AzureClusterStatus) DeepCopyInto

func (in *AzureClusterStatus) DeepCopyInto(out *AzureClusterStatus)

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

type AzureMachine

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

	Spec   AzureMachineSpec   `json:"spec,omitempty"`
	Status AzureMachineStatus `json:"status,omitempty"`
}

AzureMachine is the Schema for the azuremachines API.

func (*AzureMachine) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureMachine) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureMachine to the Hub version (v1beta1).

func (*AzureMachine) DeepCopy

func (in *AzureMachine) DeepCopy() *AzureMachine

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

func (*AzureMachine) DeepCopyInto

func (in *AzureMachine) DeepCopyInto(out *AzureMachine)

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

func (*AzureMachine) DeepCopyObject

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

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

func (*AzureMachine) GetConditions added in v0.4.6

func (m *AzureMachine) GetConditions() clusterv1alpha3.Conditions

GetConditions returns the list of conditions for an AzureMachine API object.

func (*AzureMachine) SetConditions added in v0.4.6

func (m *AzureMachine) SetConditions(conditions clusterv1alpha3.Conditions)

SetConditions will set the given conditions on an AzureMachine object.

type AzureMachineList

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

AzureMachineList contains a list of AzureMachines.

func (*AzureMachineList) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureMachineList) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureMachineList to the Hub version (v1beta1).

func (*AzureMachineList) DeepCopy

func (in *AzureMachineList) DeepCopy() *AzureMachineList

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

func (*AzureMachineList) DeepCopyInto

func (in *AzureMachineList) DeepCopyInto(out *AzureMachineList)

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

func (*AzureMachineList) DeepCopyObject

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

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

type AzureMachineSpec

type AzureMachineSpec struct {
	// ProviderID is the unique identifier as specified by the cloud provider.
	// +optional
	ProviderID *string `json:"providerID,omitempty"`

	VMSize string `json:"vmSize"`

	// FailureDomain is the failure domain unique identifier this Machine should be attached to,
	// as defined in Cluster API. This relates to an Azure Availability Zone
	FailureDomain *string `json:"failureDomain,omitempty"`

	// Deprecated: use FailureDomain instead
	AvailabilityZone AvailabilityZone `json:"availabilityZone,omitempty"`

	// Image is used to provide details of an image to use during VM creation.
	// If image details are omitted the image will default the Azure Marketplace "capi" offer,
	// which is based on Ubuntu.
	// +kubebuilder:validation:nullable
	// +optional
	Image *Image `json:"image,omitempty"`

	// Identity is the type of identity used for the virtual machine.
	// The type 'SystemAssigned' is an implicitly created identity.
	// The generated identity will be assigned a Subscription contributor role.
	// The type 'UserAssigned' is a standalone Azure resource provided by the user
	// and assigned to the VM
	// +kubebuilder:default=None
	// +optional
	Identity VMIdentity `json:"identity,omitempty"`

	// UserAssignedIdentities is a list of standalone Azure identities provided by the user
	// The lifecycle of a user-assigned identity is managed separately from the lifecycle of
	// the AzureMachine.
	// See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
	// +optional
	UserAssignedIdentities []UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`

	// RoleAssignmentName is the name of the role assignment to create for a system assigned identity. It can be any valid GUID.
	// If not specified, a random GUID will be generated.
	// +optional
	RoleAssignmentName string `json:"roleAssignmentName,omitempty"`

	// OSDisk specifies the parameters for the operating system disk of the machine
	OSDisk OSDisk `json:"osDisk"`

	// DataDisk specifies the parameters that are used to add one or more data disks to the machine
	DataDisks []DataDisk `json:"dataDisks,omitempty"`

	// Deprecated: to support old clients, will be removed in v1alpha4/v1beta1
	Location string `json:"location"`

	SSHPublicKey string `json:"sshPublicKey"`

	// AdditionalTags is an optional set of tags to add to an instance, in addition to the ones added by default by the
	// Azure provider. If both the AzureCluster and the AzureMachine specify the same tag name with different values, the
	// AzureMachine's value takes precedence.
	// +optional
	AdditionalTags Tags `json:"additionalTags,omitempty"`

	// AllocatePublicIP allows the ability to create dynamic public ips for machines where this value is true.
	// +optional
	AllocatePublicIP bool `json:"allocatePublicIP,omitempty"`

	// EnableIPForwarding enables IP Forwarding in Azure which is required for some CNI's to send traffic from a pods on one machine
	// to another. This is required for IpV6 with Calico in combination with User Defined Routes (set by the Azure Cloud Controller
	// manager). Default is false for disabled.
	// +optional
	EnableIPForwarding bool `json:"enableIPForwarding,omitempty"`

	// AcceleratedNetworking enables or disables Azure accelerated networking. If omitted, it will be set based on
	// whether the requested VMSize supports accelerated networking.
	// If AcceleratedNetworking is set to true with a VMSize that does not support it, Azure will return an error.
	// +kubebuilder:validation:nullable
	// +optional
	AcceleratedNetworking *bool `json:"acceleratedNetworking,omitempty"`

	// SpotVMOptions allows the ability to specify the Machine should use a Spot VM.
	// +optional
	SpotVMOptions *SpotVMOptions `json:"spotVMOptions,omitempty"`

	// SecurityProfile specifies the Security profile settings for a virtual machine.
	// +optional
	SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
}

AzureMachineSpec defines the desired state of AzureMachine.

func (*AzureMachineSpec) DeepCopy

func (in *AzureMachineSpec) DeepCopy() *AzureMachineSpec

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

func (*AzureMachineSpec) DeepCopyInto

func (in *AzureMachineSpec) DeepCopyInto(out *AzureMachineSpec)

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

type AzureMachineStatus

type AzureMachineStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready"`

	// Addresses contains the Azure instance associated addresses.
	Addresses []corev1.NodeAddress `json:"addresses,omitempty"`

	// VMState is the provisioning state of the Azure virtual machine.
	// +optional
	VMState *VMState `json:"vmState,omitempty"`

	// ErrorReason will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a succinct value suitable
	// for machine interpretation.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"`

	// ErrorMessage will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"failureMessage,omitempty"`

	// Conditions defines current service state of the AzureMachine.
	// +optional
	Conditions clusterv1alpha3.Conditions `json:"conditions,omitempty"`
}

AzureMachineStatus defines the observed state of AzureMachine.

func (*AzureMachineStatus) DeepCopy

func (in *AzureMachineStatus) DeepCopy() *AzureMachineStatus

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

func (*AzureMachineStatus) DeepCopyInto

func (in *AzureMachineStatus) DeepCopyInto(out *AzureMachineStatus)

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

type AzureMachineTemplate

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

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

AzureMachineTemplate is the Schema for the azuremachinetemplates API.

func (*AzureMachineTemplate) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureMachineTemplate) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureMachineTemplate to the Hub version (v1beta1).

func (*AzureMachineTemplate) DeepCopy

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

func (*AzureMachineTemplate) DeepCopyInto

func (in *AzureMachineTemplate) DeepCopyInto(out *AzureMachineTemplate)

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

func (*AzureMachineTemplate) DeepCopyObject

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

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

type AzureMachineTemplateList

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

AzureMachineTemplateList contains a list of AzureMachineTemplate.

func (*AzureMachineTemplateList) ConvertFrom added in v0.5.0

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

ConvertFrom converts from the Hub version (v1beta1) to this version.

func (*AzureMachineTemplateList) ConvertTo added in v0.5.0

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

ConvertTo converts this AzureMachineTemplateList to the Hub version (v1beta1).

func (*AzureMachineTemplateList) DeepCopy

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

func (*AzureMachineTemplateList) DeepCopyInto

func (in *AzureMachineTemplateList) DeepCopyInto(out *AzureMachineTemplateList)

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

func (*AzureMachineTemplateList) DeepCopyObject

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

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

type AzureMachineTemplateResource

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

AzureMachineTemplateResource describes the data needed to create an AzureMachine from a template.

func (*AzureMachineTemplateResource) DeepCopy

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

func (*AzureMachineTemplateResource) DeepCopyInto

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

type AzureMachineTemplateSpec

type AzureMachineTemplateSpec struct {
	Template AzureMachineTemplateResource `json:"template"`
}

AzureMachineTemplateSpec defines the desired state of AzureMachineTemplate.

func (*AzureMachineTemplateSpec) DeepCopy

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

func (*AzureMachineTemplateSpec) DeepCopyInto

func (in *AzureMachineTemplateSpec) DeepCopyInto(out *AzureMachineTemplateSpec)

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

type AzureMarketplaceImage

type AzureMarketplaceImage struct {
	// Publisher is the name of the organization that created the image
	// +kubebuilder:validation:MinLength=1
	Publisher string `json:"publisher"`
	// Offer specifies the name of a group of related images created by the publisher.
	// For example, UbuntuServer, WindowsServer
	// +kubebuilder:validation:MinLength=1
	Offer string `json:"offer"`
	// SKU specifies an instance of an offer, such as a major release of a distribution.
	// For example, 18.04-LTS, 2019-Datacenter
	// +kubebuilder:validation:MinLength=1
	SKU string `json:"sku"`
	// Version specifies the version of an image sku. The allowed formats
	// are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers.
	// Specify 'latest' to use the latest version of an image available at deploy time.
	// Even if you use 'latest', the VM image will not automatically update after deploy
	// time even if a new version becomes available.
	// +kubebuilder:validation:MinLength=1
	Version string `json:"version"`
	// ThirdPartyImage indicates the image is published by a third party publisher and a Plan
	// will be generated for it.
	// +kubebuilder:default=false
	// +optional
	ThirdPartyImage bool `json:"thirdPartyImage"`
}

AzureMarketplaceImage defines an image in the Azure Marketplace to use for VM creation.

func (*AzureMarketplaceImage) DeepCopy

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

func (*AzureMarketplaceImage) DeepCopyInto

func (in *AzureMarketplaceImage) DeepCopyInto(out *AzureMarketplaceImage)

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

type AzureSharedGalleryImage

type AzureSharedGalleryImage struct {
	// SubscriptionID is the identifier of the subscription that contains the shared image gallery
	// +kubebuilder:validation:MinLength=1
	SubscriptionID string `json:"subscriptionID"`
	// ResourceGroup specifies the resource group containing the shared image gallery
	// +kubebuilder:validation:MinLength=1
	ResourceGroup string `json:"resourceGroup"`
	// Gallery specifies the name of the shared image gallery that contains the image
	// +kubebuilder:validation:MinLength=1
	Gallery string `json:"gallery"`
	// Name is the name of the image
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// Version specifies the version of the marketplace image. The allowed formats
	// are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers.
	// Specify 'latest' to use the latest version of an image available at deploy time.
	// Even if you use 'latest', the VM image will not automatically update after deploy
	// time even if a new version becomes available.
	// +kubebuilder:validation:MinLength=1
	Version string `json:"version"`
}

AzureSharedGalleryImage defines an image in a Shared Image Gallery to use for VM creation.

func (*AzureSharedGalleryImage) DeepCopy

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

func (*AzureSharedGalleryImage) DeepCopyInto

func (in *AzureSharedGalleryImage) DeepCopyInto(out *AzureSharedGalleryImage)

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

type BuildParams

type BuildParams struct {
	// Lifecycle determines the resource lifecycle.
	Lifecycle ResourceLifecycle

	// ClusterName is the cluster associated with the resource.
	ClusterName string

	// ResourceID is the unique identifier of the resource to be tagged.
	ResourceID string

	// Name is the name of the resource, it's applied as the tag "Name" on Azure.
	// +optional
	Name *string

	// Role is the role associated to the resource.
	// +optional
	Role *string

	// Any additional tags to be added to the resource.
	// +optional
	Additional Tags
}

BuildParams is used to build tags around an azure resource.

func (*BuildParams) DeepCopy

func (in *BuildParams) DeepCopy() *BuildParams

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

func (*BuildParams) DeepCopyInto

func (in *BuildParams) DeepCopyInto(out *BuildParams)

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

type DataDisk added in v0.4.6

type DataDisk struct {
	// NameSuffix is the suffix to be appended to the machine name to generate the disk name.
	// Each disk name will be in format <machineName>_<nameSuffix>.
	NameSuffix string `json:"nameSuffix"`
	// DiskSizeGB is the size in GB to assign to the data disk.
	DiskSizeGB int32 `json:"diskSizeGB"`
	// +optional
	ManagedDisk *ManagedDisk `json:"managedDisk,omitempty"`
	// Lun Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
	// The value must be between 0 and 63.
	Lun *int32 `json:"lun,omitempty"`
	// +optional
	CachingType string `json:"cachingType,omitempty"`
}

DataDisk specifies the parameters that are used to add one or more data disks to the machine.

func (*DataDisk) DeepCopy added in v0.4.6

func (in *DataDisk) DeepCopy() *DataDisk

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

func (*DataDisk) DeepCopyInto added in v0.4.6

func (in *DataDisk) DeepCopyInto(out *DataDisk)

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

type DiffDiskSettings added in v0.4.6

type DiffDiskSettings struct {
	// Option enables ephemeral OS when set to "Local"
	// See https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks for full details
	// +kubebuilder:validation:Enum=Local
	Option string `json:"option"`
}

DiffDiskSettings describe ephemeral disk settings for the os disk.

func (*DiffDiskSettings) DeepCopy added in v0.4.6

func (in *DiffDiskSettings) DeepCopy() *DiffDiskSettings

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

func (*DiffDiskSettings) DeepCopyInto added in v0.4.6

func (in *DiffDiskSettings) DeepCopyInto(out *DiffDiskSettings)

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

type DiskEncryptionSetParameters added in v0.4.10

type DiskEncryptionSetParameters struct {
	// ID defines resourceID for diskEncryptionSet resource. It must be in the same subscription
	ID string `json:"id,omitempty"`
}

DiskEncryptionSetParameters defines disk encryption options.

func (*DiskEncryptionSetParameters) DeepCopy added in v0.4.10

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

func (*DiskEncryptionSetParameters) DeepCopyInto added in v0.4.10

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

type FrontendIP added in v0.4.10

type FrontendIP struct {
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// +optional
	PrivateIPAddress string `json:"privateIP,omitempty"`
	// +optional
	PublicIP *PublicIPSpec `json:"publicIP,omitempty"`
}

FrontendIP defines a load balancer frontend IP configuration.

func (*FrontendIP) DeepCopy added in v0.4.10

func (in *FrontendIP) DeepCopy() *FrontendIP

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

func (*FrontendIP) DeepCopyInto added in v0.4.10

func (in *FrontendIP) DeepCopyInto(out *FrontendIP)

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

type Future added in v0.4.11

type Future struct {
	// Type describes the type of future, update, create, delete, etc.
	Type string `json:"type"`

	// ResourceGroup is the Azure resource group for the resource.
	// +optional
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// Name is the name of the Azure resource.
	// +optional
	Name string `json:"name,omitempty"`

	// FutureData is the base64 url encoded json Azure AutoRest Future.
	FutureData string `json:"futureData,omitempty"`
}

Future contains the data needed for an Azure long-running operation to continue across reconcile loops.

func (*Future) DeepCopy added in v0.4.11

func (in *Future) DeepCopy() *Future

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

func (*Future) DeepCopyInto added in v0.4.11

func (in *Future) DeepCopyInto(out *Future)

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

type IdentityType added in v0.4.11

type IdentityType string

IdentityType represents different types of identities. +kubebuilder:validation:Enum=ServicePrincipal;UserAssignedMSI

const (
	// UserAssignedMSI represents a user-assigned identity.
	UserAssignedMSI IdentityType = "UserAssignedMSI"

	// ServicePrincipal represents a service principal.
	ServicePrincipal IdentityType = "ServicePrincipal"
)

type Image

type Image struct {
	// ID specifies an image to use by ID
	// +optional
	ID *string `json:"id,omitempty"`

	// SharedGallery specifies an image to use from an Azure Shared Image Gallery
	// +optional
	SharedGallery *AzureSharedGalleryImage `json:"sharedGallery,omitempty"`

	// Marketplace specifies an image to use from the Azure Marketplace
	// +optional
	Marketplace *AzureMarketplaceImage `json:"marketplace,omitempty"`
}

Image defines information about the image to use for VM creation. There are three ways to specify an image: by ID, Marketplace Image or SharedImageGallery One of ID, SharedImage or Marketplace should be set.

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

type IngressRule

type IngressRule struct {
	Name        string                `json:"name"`
	Description string                `json:"description"`
	Protocol    SecurityGroupProtocol `json:"protocol"`

	// Priority - A number between 100 and 4096. Each rule should have a unique value for priority. Rules are processed in priority order, with lower numbers processed before higher numbers. Once traffic matches a rule, processing stops.
	Priority int32 `json:"priority,omitempty"`

	// SourcePorts - The source port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports.
	SourcePorts *string `json:"sourcePorts,omitempty"`

	// DestinationPorts - The destination port or range. Integer or range between 0 and 65535. Asterix '*' can also be used to match all ports.
	DestinationPorts *string `json:"destinationPorts,omitempty"`

	// Source - The CIDR or source IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
	Source *string `json:"source,omitempty"`

	// Destination - The destination address prefix. CIDR or destination IP range. Asterix '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
	Destination *string `json:"destination,omitempty"`
}

IngressRule defines an Azure ingress rule for security groups.

func (*IngressRule) DeepCopy

func (in *IngressRule) DeepCopy() *IngressRule

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

func (*IngressRule) DeepCopyInto

func (in *IngressRule) DeepCopyInto(out *IngressRule)

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

type IngressRules

type IngressRules []IngressRule

IngressRules is a slice of Azure ingress rules for security groups.

func (IngressRules) DeepCopy

func (in IngressRules) DeepCopy() IngressRules

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

func (IngressRules) DeepCopyInto

func (in IngressRules) DeepCopyInto(out *IngressRules)

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

type LBType added in v0.4.10

type LBType string

LBType defines an Azure load balancer Type.

type LoadBalancerSpec added in v0.4.10

type LoadBalancerSpec struct {
	ID          string       `json:"id,omitempty"`
	Name        string       `json:"name,omitempty"`
	SKU         SKU          `json:"sku,omitempty"`
	FrontendIPs []FrontendIP `json:"frontendIPs,omitempty"`
	Type        LBType       `json:"type,omitempty"`
}

LoadBalancerSpec defines an Azure load balancer.

func (*LoadBalancerSpec) DeepCopy added in v0.4.10

func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec

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

func (*LoadBalancerSpec) DeepCopyInto added in v0.4.10

func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec)

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

type ManagedDisk

type ManagedDisk struct {
	StorageAccountType string                       `json:"storageAccountType"`
	DiskEncryptionSet  *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
}

ManagedDisk defines the managed disk options for a VM.

func (*ManagedDisk) DeepCopy

func (in *ManagedDisk) DeepCopy() *ManagedDisk

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

func (*ManagedDisk) DeepCopyInto

func (in *ManagedDisk) DeepCopyInto(out *ManagedDisk)

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

type NetworkSpec

type NetworkSpec struct {
	// Vnet is the configuration for the Azure virtual network.
	// +optional
	Vnet VnetSpec `json:"vnet,omitempty"`

	// Subnets is the configuration for the control-plane subnet and the node subnet.
	// +optional
	Subnets Subnets `json:"subnets,omitempty"`

	// APIServerLB is the configuration for the control-plane load balancer.
	// +optional
	APIServerLB LoadBalancerSpec `json:"apiServerLB,omitempty"`
}

NetworkSpec specifies what the Azure networking resources should look like.

func (*NetworkSpec) DeepCopy

func (in *NetworkSpec) DeepCopy() *NetworkSpec

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

func (*NetworkSpec) DeepCopyInto

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

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

func (*NetworkSpec) GetControlPlaneSubnet added in v0.4.5

func (n *NetworkSpec) GetControlPlaneSubnet() *SubnetSpec

GetControlPlaneSubnet returns the cluster control plane subnet.

func (*NetworkSpec) GetNodeSubnet added in v0.4.5

func (n *NetworkSpec) GetNodeSubnet() *SubnetSpec

GetNodeSubnet returns the cluster node subnet.

type OSDisk

type OSDisk struct {
	OSType           string            `json:"osType"`
	DiskSizeGB       int32             `json:"diskSizeGB"`
	ManagedDisk      ManagedDisk       `json:"managedDisk"`
	DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"`
	// +optional
	CachingType string `json:"cachingType,omitempty"`
}

OSDisk defines the operating system disk for a VM.

WARNING: this requires any updates to ManagedDisk to be manually converted. This is due to the odd issue with conversion-gen where the warning message generated uses a relative directory import rather than the fully qualified import when generating outside of the GOPATH. +k8s:conversion-gen=false

func (*OSDisk) DeepCopy

func (in *OSDisk) DeepCopy() *OSDisk

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

func (*OSDisk) DeepCopyInto

func (in *OSDisk) DeepCopyInto(out *OSDisk)

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

type PublicIPSpec added in v0.4.10

type PublicIPSpec struct {
	Name string `json:"name"`
	// +optional
	DNSName string `json:"dnsName,omitempty"`
}

PublicIPSpec defines the inputs to create an Azure public IP address.

func (*PublicIPSpec) DeepCopy added in v0.4.10

func (in *PublicIPSpec) DeepCopy() *PublicIPSpec

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

func (*PublicIPSpec) DeepCopyInto added in v0.4.10

func (in *PublicIPSpec) DeepCopyInto(out *PublicIPSpec)

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

type ResourceLifecycle

type ResourceLifecycle string

ResourceLifecycle configures the lifecycle of a resource.

type RouteTable added in v0.4.5

type RouteTable struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

RouteTable defines an Azure route table.

func (*RouteTable) DeepCopy added in v0.4.5

func (in *RouteTable) DeepCopy() *RouteTable

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

func (*RouteTable) DeepCopyInto added in v0.4.5

func (in *RouteTable) DeepCopyInto(out *RouteTable)

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

type SKU

type SKU string

SKU defines an Azure load balancer SKU.

type SecurityGroup

type SecurityGroup struct {
	ID           string       `json:"id,omitempty"`
	Name         string       `json:"name,omitempty"`
	IngressRules IngressRules `json:"ingressRule,omitempty"`
	Tags         Tags         `json:"tags,omitempty"`
}

SecurityGroup defines an Azure security group.

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

type SecurityGroupProtocol

type SecurityGroupProtocol string

SecurityGroupProtocol defines the protocol type for a security group rule.

type SecurityGroupRole

type SecurityGroupRole string

SecurityGroupRole defines the unique role of a security group.

type SecurityProfile added in v0.4.10

type SecurityProfile struct {
	// This field indicates whether Host Encryption should be enabled
	// or disabled for a virtual machine or virtual machine scale
	// set. Default is disabled.
	EncryptionAtHost *bool `json:"encryptionAtHost,omitempty"`
}

SecurityProfile specifies the Security profile settings for a virtual machine or virtual machine scale set.

func (*SecurityProfile) DeepCopy added in v0.4.10

func (in *SecurityProfile) DeepCopy() *SecurityProfile

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

func (*SecurityProfile) DeepCopyInto added in v0.4.10

func (in *SecurityProfile) DeepCopyInto(out *SecurityProfile)

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

type SpotVMOptions added in v0.4.6

type SpotVMOptions struct {
	// MaxPrice defines the maximum price the user is willing to pay for Spot VM instances
	// +optional
	MaxPrice *resource.Quantity `json:"maxPrice,omitempty"`
}

SpotVMOptions defines the options relevant to running the Machine on Spot VMs.

func (*SpotVMOptions) DeepCopy added in v0.4.6

func (in *SpotVMOptions) DeepCopy() *SpotVMOptions

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

func (*SpotVMOptions) DeepCopyInto added in v0.4.6

func (in *SpotVMOptions) DeepCopyInto(out *SpotVMOptions)

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

type SubnetRole

type SubnetRole string

SubnetRole defines the unique role of a subnet.

type SubnetSpec

type SubnetSpec struct {
	// Role defines the subnet role (eg. Node, ControlPlane)
	Role SubnetRole `json:"role,omitempty"`

	// ID defines a unique identifier to reference this resource.
	// +optional
	ID string `json:"id,omitempty"`

	// Name defines a name for the subnet resource.
	Name string `json:"name"`

	// CidrBlock is the CIDR block to be used when the provider creates a managed Vnet.
	// Deprecated: Use CIDRBlocks instead
	// +optional
	CidrBlock string `json:"cidrBlock,omitempty"`

	// CIDRBlocks defines the subnet's address space, specified as one or more address prefixes in CIDR notation.
	// +optional
	CIDRBlocks []string `json:"cidrBlocks,omitempty"`

	// InternalLBIPAddress is the IP address that will be used as the internal LB private IP.
	// For the control plane subnet only.
	// +optional
	// Deprecated: Use LoadBalancer private IP instead
	InternalLBIPAddress string `json:"internalLBIPAddress,omitempty"`

	// SecurityGroup defines the NSG (network security group) that should be attached to this subnet.
	// +optional
	SecurityGroup SecurityGroup `json:"securityGroup,omitempty"`

	// RouteTable defines the route table that should be attached to this subnet.
	// +optional
	RouteTable RouteTable `json:"routeTable,omitempty"`
}

SubnetSpec configures an Azure subnet.

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type Subnets

type Subnets []SubnetSpec

Subnets is a slice of Subnet.

func (Subnets) DeepCopy

func (in Subnets) DeepCopy() Subnets

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

func (Subnets) DeepCopyInto

func (in Subnets) DeepCopyInto(out *Subnets)

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

type Tags

type Tags map[string]string

Tags defines a map of tags.

func Build

func Build(params BuildParams) Tags

Build builds tags including the cluster tag and returns them in map form.

func (Tags) AddSpecVersionHashTag added in v0.4.11

func (t Tags) AddSpecVersionHashTag(hash string) Tags

AddSpecVersionHashTag adds a spec version hash to the Azure resource tags to determine if state has changed quickly.

func (Tags) DeepCopy

func (in Tags) DeepCopy() Tags

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

func (Tags) DeepCopyInto

func (in Tags) DeepCopyInto(out *Tags)

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

func (Tags) Difference

func (t Tags) Difference(other Tags) Tags

Difference returns the difference between this map of tags and the other map of tags. Items are considered equals if key and value are equals.

func (Tags) Equals

func (t Tags) Equals(other Tags) bool

Equals returns true if the tags are equal.

func (Tags) GetRole

func (t Tags) GetRole() string

GetRole returns the Cluster API role for the tagged resource.

func (Tags) HasAzureCloudProviderOwned

func (t Tags) HasAzureCloudProviderOwned(cluster string) bool

HasAzureCloudProviderOwned returns true if the tags contains a tag that marks the resource as owned by the cluster from the perspective of the in-tree cloud provider.

func (Tags) HasMatchingSpecVersionHash added in v0.4.11

func (t Tags) HasMatchingSpecVersionHash(hash string) bool

HasMatchingSpecVersionHash returns true if the resource has been tagged with a matching resource spec hash value.

func (Tags) HasOwned

func (t Tags) HasOwned(cluster string) bool

HasOwned returns true if the tags contains a tag that marks the resource as owned by the cluster from the perspective of this management tooling.

func (Tags) Merge

func (t Tags) Merge(other Tags)

Merge merges in tags from other. If a tag already exists, it is replaced by the tag in other.

type UserAssignedIdentity added in v0.4.5

type UserAssignedIdentity struct {
	// ProviderID is the identification ID of the user-assigned Identity, the format of an identity is:
	// 'azure:///subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'
	ProviderID string `json:"providerID"`
}

UserAssignedIdentity defines the user-assigned identities provided by the user to be assigned to Azure resources.

func (*UserAssignedIdentity) DeepCopy added in v0.4.5

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

func (*UserAssignedIdentity) DeepCopyInto added in v0.4.5

func (in *UserAssignedIdentity) DeepCopyInto(out *UserAssignedIdentity)

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

type VM

type VM struct {
	ID               string `json:"id,omitempty"`
	Name             string `json:"name,omitempty"`
	AvailabilityZone string `json:"availabilityZone,omitempty"`
	// Hardware profile
	VMSize string `json:"vmSize,omitempty"`
	// Storage profile
	Image         Image  `json:"image,omitempty"`
	OSDisk        OSDisk `json:"osDisk,omitempty"`
	StartupScript string `json:"startupScript,omitempty"`
	// State - The provisioning state, which only appears in the response.
	State    VMState    `json:"vmState,omitempty"`
	Identity VMIdentity `json:"identity,omitempty"`
	Tags     Tags       `json:"tags,omitempty"`

	// Addresses contains the addresses associated with the Azure VM.
	Addresses []corev1.NodeAddress `json:"addresses,omitempty"`
}

VM describes an Azure virtual machine.

func (*VM) DeepCopy

func (in *VM) DeepCopy() *VM

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

func (*VM) DeepCopyInto

func (in *VM) DeepCopyInto(out *VM)

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

type VMIdentity

type VMIdentity string

VMIdentity defines the identity of the virtual machine, if configured. +kubebuilder:validation:Enum=None;SystemAssigned;UserAssigned

const (
	// VMIdentityNone ...
	VMIdentityNone VMIdentity = "None"
	// VMIdentitySystemAssigned ...
	VMIdentitySystemAssigned VMIdentity = "SystemAssigned"
	// VMIdentityUserAssigned ...
	VMIdentityUserAssigned VMIdentity = "UserAssigned"
)

type VMState

type VMState string

VMState describes the state of an Azure virtual machine.

const (
	// VMStateCreating ...
	VMStateCreating VMState = "Creating"
	// VMStateDeleting ...
	VMStateDeleting VMState = "Deleting"
	// VMStateFailed ...
	VMStateFailed VMState = "Failed"
	// VMStateMigrating ...
	VMStateMigrating VMState = "Migrating"
	// VMStateSucceeded ...
	VMStateSucceeded VMState = "Succeeded"
	// VMStateUpdating ...
	VMStateUpdating VMState = "Updating"
	// VMStateDeleted represents a deleted VM
	// NOTE: This state is specific to capz, and does not have corresponding mapping in Azure API (https://docs.microsoft.com/en-us/azure/virtual-machines/states-lifecycle#provisioning-states)
	VMStateDeleted VMState = "Deleted"
)

type VnetSpec

type VnetSpec struct {
	// ResourceGroup is the name of the resource group of the existing virtual network
	// or the resource group where a managed virtual network should be created.
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// ID is the identifier of the virtual network this provider should use to create resources.
	ID string `json:"id,omitempty"`

	// Name defines a name for the virtual network resource.
	Name string `json:"name"`

	// CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
	// Deprecated: Use CIDRBlocks instead
	// +optional
	CidrBlock string `json:"cidrBlock,omitempty"`

	// CIDRBlocks defines the virtual network's address space, specified as one or more address prefixes in CIDR notation.
	// +optional
	CIDRBlocks []string `json:"cidrBlocks,omitempty"`

	// Tags is a collection of tags describing the resource.
	// +optional
	Tags Tags `json:"tags,omitempty"`
}

VnetSpec configures an Azure virtual network.

func (*VnetSpec) DeepCopy

func (in *VnetSpec) DeepCopy() *VnetSpec

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

func (*VnetSpec) DeepCopyInto

func (in *VnetSpec) DeepCopyInto(out *VnetSpec)

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

func (*VnetSpec) IsManaged

func (v *VnetSpec) IsManaged(clusterName string) bool

IsManaged returns true if the vnet is managed.

Jump to

Keyboard shortcuts

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