Documentation
¶
Index ¶
- Variables
- func GetAgentPoolObj(apType armcontainerservice.AgentPoolType, ...) armcontainerservice.AgentPool
- func GetAgentPoolObjWithName(apName string, apId string, vmSize string) armcontainerservice.AgentPool
- func GetMachineObj(name string, labels map[string]string, taints []v1.Taint, ...) *v1alpha5.Machine
- func GetNodeList(nodes []v1.Node) *v1.NodeList
- func NotFoundAzError() *azcore.ResponseError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReadyNode = v1.Node{ ObjectMeta: v12.ObjectMeta{ Name: "aks-agentpool0-20562481-vmss_0", Labels: map[string]string{ "agentpool": "agentpool0", "kubernetes.azure.com/agentpool": "agentpool0", }, }, Spec: v1.NodeSpec{ ProviderID: "azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nodeRG/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool0-20562481-vmss/virtualMachines/0", }, Status: v1.NodeStatus{ Conditions: []v1.NodeCondition{ { Type: v1.NodeReady, Status: v1.ConditionTrue, }, }, }, } )
Functions ¶
func GetAgentPoolObj ¶
func GetAgentPoolObj(apType armcontainerservice.AgentPoolType, capacityType armcontainerservice.ScaleSetPriority, labels map[string]*string, taints []*string, storage int32, vmSize string) armcontainerservice.AgentPool
func GetAgentPoolObjWithName ¶ added in v0.2.0
func GetAgentPoolObjWithName(apName string, apId string, vmSize string) armcontainerservice.AgentPool
func GetMachineObj ¶
func NotFoundAzError ¶ added in v0.2.0
func NotFoundAzError() *azcore.ResponseError
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.