object

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrObservedGenerationNotFound     = errors.New("observed generation not found")
	ErrLastHandledReconcileAtNotFound = errors.New("last handled reconcile at not found")
	ErrRequeueIntervalNotFound        = errors.New("requeue interval not found")
)

Functions

func GetRequeueInterval

func GetRequeueInterval(obj runtime.Object) (time.Duration, error)

GetRequeueInterval returns the spec.interval of a given runtime object, if present.

func GetStatusLastHandledReconcileAt

func GetStatusLastHandledReconcileAt(obj runtime.Object) (string, error)

GetStatusLastHandledReconcileAt returns the status.lastHandledReconcileAt value of a given runtime object, if present.

func GetStatusObservedGeneration

func GetStatusObservedGeneration(obj runtime.Object) (int64, error)

GetStatusObservedGeneration returns the status.observedGeneration of a given runtime object.

func SetStatusLastHandledReconcileAt

func SetStatusLastHandledReconcileAt(obj runtime.Object, val string) error

SetStatusLastHandledReconcileAt sets the status.lastHandledReconcileAt value of a given runtime object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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