object

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 4 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package object provides helpers for interacting with GitOps Toolkit objects using unstructured types. The helpers assist in reading and writing certain attributes of the objects without converting them to their original types.

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