Documentation ¶
Index ¶
- Constants
- func IsClientNotFound(err error) bool
- func IsDeploymentNotFound(err error) bool
- func IsInvalidConfig(err error) bool
- func IsMissingLabel(err error) bool
- func IsNotFound(err error) bool
- func IsScaleSetNotFound(err error) bool
- func IsVersionBlobEmpty(err error) bool
- type Config
- type Resource
Constants ¶
View Source
const ( PowerStateLabelPrefix = "PowerState/" PowerStateDeallocated = "PowerState/deallocated" )
View Source
const ( // Types Stage = "Stage" DeploymentTemplateChecksum = "TemplateChecksum" DeploymentParametersChecksum = "ParametersChecksum" // States BlockAPICalls = "BlockAPICalls" CheckFlatcarMigrationNeeded = "CheckFlatcarMigrationNeeded" ClusterUpgradeRequirementCheck = "ClusterUpgradeRequirementCheck" DeallocateLegacyInstance = "DeallocateLegacyInstance" DeleteLegacyVMSS = "DeleteLegacyVMSS" DeploymentUninitialized = "DeploymentUninitialized" DeploymentInitialized = "DeploymentInitialized" DeploymentCompleted = "DeploymentCompleted" Empty = "" ManualInterventionRequired = "ManualInterventionRequired" MasterInstancesUpgrading = "MasterInstancesUpgrading" ProvisioningSuccessful = "ProvisioningSuccessful" RestartKubeletOnWorkers = "RestartKubeletOnWorkers" UnblockAPICalls = "UnblockAPICalls" WaitForBackupConfirmation = "WaitForBackupConfirmation" WaitForMastersToBecomeReady = "WaitForMastersToBecomeReady" WaitForRestore = "WaitForRestore" )
View Source
const (
Name = "masters"
)
Variables ¶
This section is empty.
Functions ¶
func IsClientNotFound ¶
IsClientNotFound asserts clientNotFoundError.
func IsDeploymentNotFound ¶
IsDeploymentNotFound asserts deploymentNotFoundError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsNotFound ¶
func IsScaleSetNotFound ¶
IsScaleSetNotFound asserts scaleSetNotFoundError.
func IsVersionBlobEmpty ¶
IsVersionBlobEmpty asserts versionBlobEmptyError.
Types ¶
type Config ¶
type Config struct { Debugger *debugger.Debugger G8sClient versioned.Interface K8sClient kubernetes.Interface Logger micrologger.Logger Azure setting.Azure InstanceWatchdog vmsscheck.InstanceWatchdog TemplateVersion string }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
This resource applies the ARM template for the master instances, monitors the process and handles upgrades.
func (*Resource) EnsureDeleted ¶
Source Files ¶
- create.go
- create_block_api_calls.go
- create_check_flatcar_migration_needed.go
- create_cluster_upgrade_requirement_check.go
- create_deallocate_legacy_instance.go
- create_delete_legacy_vmss.go
- create_deployment_completed.go
- create_deployment_initialized.go
- create_deployment_uninitialized.go
- create_empty.go
- create_manual_intervention_needed.go
- create_master_instances_upgrading.go
- create_provisioning_successful.go
- create_restart_kubelets.go
- create_wait_for_backup_confirmation.go
- create_wait_for_masters_to_become_ready.go
- create_wait_for_restore.go
- delete.go
- deployment.go
- error.go
- resource.go
- status.go
- workingset.go
Click to show internal directories.
Click to hide internal directories.