Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProvisioningStateFailed = "Failed" ProvisioningStateSucceeded = "Succeeded" )
View Source
const ( // Types Stage = "Stage" DeploymentTemplateChecksum = "TemplateChecksum" DeploymentParametersChecksum = "ParametersChecksum" // States ClusterUpgradeRequirementCheck = "ClusterUpgradeRequirementCheck" CordonOldWorkers = "CordonOldWorkers" DeploymentUninitialized = "" DeploymentInitialized = "DeploymentInitialized" DeploymentCompleted = "DeploymentCompleted" DrainOldWorkerNodes = "DrainOldWorkerNodes" ProvisioningSuccessful = "ProvisioningSuccessful" ScaleUpWorkerVMSS = "ScaleUpWorkerVMSS" ScaleDownWorkerVMSS = "ScaleDownWorkerVMSS" TerminateOldWorkerInstances = "TerminateOldWorkerInstances" WaitForWorkersToBecomeReady = "WaitForWorkersToBecomeReady" )
View Source
const (
Name = "instance"
)
View Source
const ( // UnschedulablePatch is the JSON patch structure being applied to nodes using // a strategic merge patch in order to cordon them. UnschedulablePatch = `{"spec":{"unschedulable":true}}` )
Variables ¶
This section is empty.
Functions ¶
func IsClientNotFound ¶
IsClientNotFound asserts clientNotFoundError.
func IsDeploymentNotFound ¶
IsDeploymentNotFound asserts deploymentNotFoundError.
func IsScaleSetNotFound ¶
IsScaleSetNotFound asserts scaleSetNotFoundError.
Types ¶
type Resource ¶
func (*Resource) EnsureCreated ¶
This resource applies the ARM template for the worker instances, monitors the process and handles upgrades.
func (*Resource) EnsureDeleted ¶
Source Files ¶
- create.go
- create_cluster_upgrade_requirement_check.go
- create_cordon_old_workers.go
- create_deployment_completed.go
- create_deployment_initialized.go
- create_deployment_uninitialized.go
- create_drain_old_worker_nodes.go
- create_provisioning_successful.go
- create_scale_workers.go
- create_terminate_old_workers.go
- create_wait_for_nodes_to_become_ready.go
- delete.go
- deployment.go
- error.go
- resource.go
- status.go
Click to show internal directories.
Click to hide internal directories.