status

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 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 +k8s:deepcopy-gen=true

func (*CommonStatusSpec) DeepCopy added in v0.1.2

func (in *CommonStatusSpec) DeepCopy() *CommonStatusSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonStatusSpec.

func (*CommonStatusSpec) DeepCopyInto added in v0.1.2

func (in *CommonStatusSpec) DeepCopyInto(out *CommonStatusSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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