manager

package
v0.0.0-...-0145ae5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager[T any] interface {
	Add(T) error
	Remove(types.NamespacedName) error
	Exists(metav1.ObjectMeta) bool
}

type ObjectKey

type ObjectKey struct {
	types.NamespacedName
	Generation int64
}

func ToKey

func ToKey(meta metav1.ObjectMeta) ObjectKey

ToKey convert ObjectMeta to an ObjectKey

func (ObjectKey) GetName

func (k ObjectKey) GetName() string

Jump to

Keyboard shortcuts

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