backend

package
v0.0.0-...-9cd5fb2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type CacheFactory

type CacheFactory interface {
	GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (cache.SharedIndexInformer, error)
}

type Callback

type Callback func(gvk schema.GroupVersionKind, key string, obj runtime.Object) (runtime.Object, error)

type Trigger

type Trigger interface {
	Trigger(gvk schema.GroupVersionKind, key string, delay time.Duration) error
}

type Watcher

type Watcher interface {
	Watch(ctx context.Context, gvk schema.GroupVersionKind, name string, cb Callback) error
}

Jump to

Keyboard shortcuts

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