status

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateStatusRelatedObjects

func UpdateStatusRelatedObjects(objects *[]corev1.ObjectReference, scheme *runtime.Scheme, resource client.Object) error

Types

type CommonStatusSpec

type CommonStatusSpec struct {
	// conditions describes the state of the operator's reconciliation functionality.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +optional
	// Conditions is a list of conditions related to operator reconciliation
	Conditions []conditions.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`
	// RelatedObjects is a list of objects that are "interesting" or related to this operator
	//+operator-sdk:csv:customresourcedefinitions:type=status
	RelatedObjects []corev1.ObjectReference `json:"relatedObjects,omitempty"`
}

CommonStatusSpec defines the Common Status Spec

type StatusReason

type StatusReason string
var (
	ReasonReconciling  StatusReason = "Reconciling"
	ReasonFailing      StatusReason = "Failing"
	ReasonInitializing StatusReason = "Initializing"
)

Jump to

Keyboard shortcuts

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