machineutils

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2020 License: Apache-2.0, BSD-3-Clause Imports: 0 Imported by: 1

Documentation

Overview

Package machineutils contains the consts and global vaariables for machine operation

Index

Constants

View Source
const (
	// GetVMStatus sets machine status to terminating and specifies next step as getting VMs
	GetVMStatus = "Set machine status to termination. Now, getting VM Status"
	// InitiateDrain specifies next step as initiate node drain
	InitiateDrain = "Initiate node drain"
	// InitiateVMDeletion specifies next step as initiate VM deletion
	InitiateVMDeletion = "Initiate VM deletion"
	// InitiateNodeDeletion specifies next step as node object deletion
	InitiateNodeDeletion = "Initiate node object deletion"
	// InitiateFinalizerRemoval specifies next step as machine finalizer removal
	InitiateFinalizerRemoval = "Initiate machine object finalizer removal"

	// LastAppliedALTAnnotation contains the last configuration of annotations, labels & taints applied on the node object
	LastAppliedALTAnnotation = "node.machine.sapcloud.io/last-applied-anno-labels-taints"
	// MachinePriority is the annotation used to specify priority
	// associated with a machine while deleting it. The less its
	// priority the more likely it is to be deleted first
	// Default priority for a machine is set to 3
	MachinePriority = "machinepriority.machine.sapcloud.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Retry

type Retry bool

Retry is a label for retrying operation

const (
	// RetryOp tells the controller to retry
	RetryOp Retry = true
	// DoNotRetryOp tells the controller to not retry for now. Resync after re-sync period
	DoNotRetryOp Retry = false
)

These are the valid values for Retry.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL