genericinformers

package
v0.0.0-...-eaea543 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenericInformers

func NewGenericInformers(startFn func(stopCh <-chan struct{}), informers ...GenericResourceInformer) genericInformers

Types

type GenericResourceInformer

type GenericResourceInformer interface {
	ForResource(resource schema.GroupVersionResource) (informers.GenericInformer, error)
	Start(stopCh <-chan struct{})
}

type GenericResourceInformerFunc

type GenericResourceInformerFunc func(resource schema.GroupVersionResource) (informers.GenericInformer, error)

genericResourceInformerFunc will handle a cast to a matching type

func (GenericResourceInformerFunc) ForResource

func (GenericResourceInformerFunc) Start

func (fn GenericResourceInformerFunc) Start(stopCh <-chan struct{})

this is a temporary condition until we rewrite enough of generation to auto-conform to the required interface and no longer need the internal version shim

Jump to

Keyboard shortcuts

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