v1beta1

package
v0.8.4-0...-97960e5 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromCustomResourceDefinitionHandlerToHandler

func FromCustomResourceDefinitionHandlerToHandler(sync CustomResourceDefinitionHandler) generic.Handler

func RegisterCustomResourceDefinitionStatusHandler

func RegisterCustomResourceDefinitionStatusHandler(ctx context.Context, controller CustomResourceDefinitionController, condition condition.Cond, name string, handler CustomResourceDefinitionStatusHandler)

Types

type CustomResourceDefinitionCache

type CustomResourceDefinitionCache interface {
	Get(name string) (*v1beta1.CustomResourceDefinition, error)
	List(selector labels.Selector) ([]*v1beta1.CustomResourceDefinition, error)

	AddIndexer(indexName string, indexer CustomResourceDefinitionIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.CustomResourceDefinition, error)
}

type CustomResourceDefinitionController

type CustomResourceDefinitionController interface {
	generic.ControllerMeta
	CustomResourceDefinitionClient

	OnChange(ctx context.Context, name string, sync CustomResourceDefinitionHandler)
	OnRemove(ctx context.Context, name string, sync CustomResourceDefinitionHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() CustomResourceDefinitionCache
}

func NewCustomResourceDefinitionController

func NewCustomResourceDefinitionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) CustomResourceDefinitionController

type CustomResourceDefinitionIndexer

type CustomResourceDefinitionIndexer func(obj *v1beta1.CustomResourceDefinition) ([]string, error)

type Interface

type Interface interface {
	CustomResourceDefinition() CustomResourceDefinitionController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

Jump to

Keyboard shortcuts

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