Documentation
¶
Index ¶
Constants ¶
View Source
const ( BackendAddressPoolWorkerName = "backendAddressWorkerPool" BackendAddressPoolControlPlaneName = "backendAddressControlPlanePool" )
Variables ¶
This section is empty.
Functions ¶
func AutoscalingNodeGroup ¶
AutoscalingNodeGroup converts an azure scale set into a node group used by the k8s cluster-autoscaler.
func GeneratePassword ¶
GeneratePassword is a helper function to generate a random password for Azure's scale set.
Types ¶
type LoadBalancer ¶
type LoadBalancer struct {
Name string
Subscription string
ResourceGroup string
Location string
PublicIPID string
UID string
}
LoadBalancer defines a Azure load balancer.
func (*LoadBalancer) AppendDebugRules ¶
func (l *LoadBalancer) AppendDebugRules(armLoadBalancer armnetwork.LoadBalancer) armnetwork.LoadBalancer
func (LoadBalancer) Azure ¶
func (l LoadBalancer) Azure() armnetwork.LoadBalancer
Azure returns a Azure representation of LoadBalancer.
type ScaleSet ¶
type ScaleSet struct {
Name string
NamePrefix string
UID string
Subscription string
ResourceGroup string
Location string
InstanceType string
StateDiskSizeGB int32
StateDiskType string
Count int64
Username string
SubnetID string
NetworkSecurityGroup string
Password string
Image string
UserAssignedIdentity string
LoadBalancerName string
LoadBalancerBackendAddressPool string
ConfidentialVM bool
}
ScaleSet defines a Azure scale set.
func (ScaleSet) Azure ¶
func (s ScaleSet) Azure() armcomputev2.VirtualMachineScaleSet
Azure returns the Azure representation of ScaleSet.
Click to show internal directories.
Click to hide internal directories.