registry

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxResourceVersion added in v0.40.3

func MaxResourceVersion(list runtime.Object) (string, error)

MaxResourceVersion returns the maximum resourceVersion from all items in a list. This is useful when the list's ResourceVersion is empty (e.g., from controller-runtime cache).

func RESTInPeace

func RESTInPeace(storage rest.Storage) rest.Storage

RESTInPeace is a tiny helper so the call-site code reads nicely. It simply returns its argument, letting us defer (and centralise) any future error handling here.

Types

type REST

type REST struct {
	*genericregistry.Store
}

REST is a thin wrapper around genericregistry.Store that also satisfies the GroupVersionKindProvider interface if callers need it later.

Directories

Path Synopsis
apps
core
Package sorting provides generic sorting utilities for registry resources.
Package sorting provides generic sorting utilities for registry resources.

Jump to

Keyboard shortcuts

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