Documentation
¶
Index ¶
- Constants
- func ClearConditions(operation *appsv1.Operation)
- func CompareProvisionJobs(a, b appsv1.AppDeployment) bool
- func CompareTeardownJobs(a, b appsv1.AppDeployment) bool
- func DiffAppDeployments(expected, actual []appsv1.AppDeployment, ...) (added, removed, updated []appsv1.AppDeployment)
- func NewOperationId() string
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 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.
Click to show internal directories.
Click to hide internal directories.