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

# Packages

No description provided by the author

# Functions

ExtractDiskData : extract provisioningState, diskState from a map struct.
ExtractVMData : extract dataDisks, storageProfile from a map struct.
MakeCRC32 : convert string to CRC32 format.
NewCloud returns a Cloud with initialized clients.
NewInstanceMetadata creates an instance of the InstanceMetadata accessor object.

# Constants

CloudProviderName is the value used for the --cloud-provider flag.
InternalLoadBalancerNameSuffix is load balancer posfix.
ServiceAnnotationAllowedServiceTag is the annotation used on the service to specify a list of allowed service tags separated by comma.
ServiceAnnotationDNSLabelName is the annotation used on the service to specify the DNS label name for the service.
ServiceAnnotationLoadBalancerAutoModeValue is 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.
ServiceAnnotationLoadBalancerResourceGroup is the annotation used on the service to specify the resource group of load balancer objects that are not in the same resource group as the cluster.
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

DisksClient defines needed functions for azure disk.DisksClient.
FileClient is the interface for creating file shares, interface for test injection.
InterfacesClient defines needed functions for azure network.InterfacesClient.
LoadBalancerListResultPage is for faking.
LoadBalancersClient defines needed functions for azure network.LoadBalancersClient.
PublicIPAddressesClient defines needed functions for azure network.PublicIPAddressesClient.
PublicIPAddressListResultPage is for faking.
RoutesClient defines needed functions for azure network.RoutesClient.
RouteTablesClient defines needed functions for azure network.RouteTablesClient.
SecurityGroupListResultPage is for faking.
SecurityGroupsClient defines needed functions for azure network.SecurityGroupsClient.
StorageAccountClient defines needed functions for azure storage.AccountsClient.
SubnetListResultPage is for faking.
SubnetsClient defines needed functions for azure network.SubnetsClient.
VirtualMachineScaleSetsClient defines needed functions for azure computepreview.VirtualMachineScaleSetsClient.
VirtualMachineScaleSetVMsClient defines needed functions for azure computepreview.VirtualMachineScaleSetVMsClient.
VirtualMachinesClient defines needed functions for azure compute.VirtualMachinesClient.
VMSet defines functions all vmsets (including scale set and availability set) should be implemented.