package
1.10.0-alpha.1
Repository: https://github.com/awly/kubernetes.git
Documentation: pkg.go.dev

# Functions

ExtractDiskData : extract provisioningState, diskState from a map struct.
ExtractVMData : extract dataDisks, storageProfile from a map struct.
GetServicePrincipalToken creates a new service principal token based on the configuration.
MakeCRC32 : convert string to CRC32 format.
NewCloud returns a Cloud with initialized clients.
NewInstanceMetadata creates an instance of the InstanceMetadata accessor object.
ParseConfig returns a parsed configuration and azure.Environment for an Azure cloudprovider config file.

# Constants

CloudProviderName is the value used for the --cloud-provider flag.
InternalLoadBalancerNameSuffix is load balancer posfix.
ServiceAnnotationDNSLabelName annotation speficying the DNS label name for the service.
ServiceAnnotationLoadBalancerAutoModeValue the annotation used on the service to specify the Azure load balancer auto selection from the availability sets.
ServiceAnnotationLoadBalancerInternal is the annotation used on the service.
ServiceAnnotationLoadBalancerInternalSubnet is the annotation used on the service to specify what subnet it is exposed on.
ServiceAnnotationLoadBalancerMode is the annotation used on the service to specify the Azure load balancer selection based on availability sets There are currently three possible load balancer selection modes : 1.
ServiceAnnotationSharedSecurityRule is the annotation used on the service to specify that the service should be exposed using an Azure security rule that may be shared with other service, trading specificity of rules for an increase in the number of services that can be exposed.

# Variables

ErrorNotVmssInstance indicates an instance is not belongint to any vmss.

# Structs

BlobDiskController : blob disk controller struct.
Cloud holds the config and clients.
Config holds the configuration parsed from the --cloud-config flag All fields are required unless otherwise specified.
InstanceMetadata knows how to query the Azure instance metadata server.
IPAddress represents IP address information.
ManagedDiskController : managed disk controller struct.
NetworkData contains IP information for a network.
NetworkInterface represents an instances network interface.
NetworkMetadata contains metadata about an instance's network.
Subnet represents subnet information.

# Interfaces

InterfacesClient defines needed functions for azure network.InterfacesClient.
LoadBalancersClient defines needed functions for azure network.LoadBalancersClient.
PublicIPAddressesClient defines needed functions for azure network.PublicIPAddressesClient.
SecurityGroupsClient defines needed functions for azure network.SecurityGroupsClient.
SubnetsClient defines needed functions for azure network.SubnetsClient.
VirtualMachinesClient defines needed functions for azure network.VirtualMachinesClient.
VMSet defines functions all vmsets (including scale set and availabitlity set) should be implemented.