operation

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FinalizerName         = "finalizer.operation.controller.azure.com"
	AcquiredAnnotationKey = "operation.controller.azure.com/acquired"

	// PhaseEmpty is the phase when the operation is empty.
	PhaseEmpty = ""
	// PhaseReconciling is the phase when the operation is reconciling.
	PhaseReconciling = "Reconciling"
	// PhaseReconciled is the phase when the operation is reconciled.
	PhaseReconciled = "Reconciled"
	// Deletion is the phase when the operation is deleting.
	PhaseDeleting = "Deleting"
	// PhaseDeleted is the phase when the operation is deleted.
	PhaseDeleted = "Deleted"
)

Variables

This section is empty.

Functions

func ClearConditions

func ClearConditions(operation *appsv1.Operation)

func CompareProvisionJobs

func CompareProvisionJobs(a, b appsv1.AppDeployment) bool

func CompareTeardownJobs

func CompareTeardownJobs(a, b appsv1.AppDeployment) bool

func DiffAppDeployments

func DiffAppDeployments(expected, actual []appsv1.AppDeployment,
	equals func(a, b appsv1.AppDeployment) bool) (added, removed, updated []appsv1.AppDeployment)

DiffAppDeployments returns the difference between two slices of AppDeployment.

func NewOperationId

func NewOperationId() string

NewOperationId generates a new operation id which is an UUID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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