status

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: EUPL-1.2 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReplicaSetEventHandlerForObj

func GetReplicaSetEventHandlerForObj(mgr ctrl.Manager, objKind string) handler.EventHandler

GetReplicaSetEventHandlerForObj returns an event handler that only triggers a reconcile if a ReplicaSet is owned by obj through a Deployment, in other words the replicaset is a grandchild of obj

func LogAndUpdateStatusError

func LogAndUpdateStatusError[O ObjectWithStatus](ctx context.Context, k8sClient client.Client, obj O, err error)

func LogAndUpdateStatusFinished

func LogAndUpdateStatusFinished[O ObjectWithStatus](ctx context.Context, k8sClient client.Client, obj O, operationResults map[string]controllerutil.OperationResult)

Types

type ObjectWithStatus

type ObjectWithStatus interface {
	client.Object
	OperatorStatus() *model.OperatorStatus
}

Jump to

Keyboard shortcuts

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