v1alpha1

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromClusterConfigHandlerToHandler

func FromClusterConfigHandlerToHandler(sync ClusterConfigHandler) generic.Handler

func UpdateClusterConfigDeepCopyOnChange

func UpdateClusterConfigDeepCopyOnChange(client ClusterConfigClient, obj *v1alpha1.ClusterConfig, handler func(obj *v1alpha1.ClusterConfig) (*v1alpha1.ClusterConfig, error)) (*v1alpha1.ClusterConfig, error)

Types

type ClusterConfigCache

type ClusterConfigCache interface {
	Get(name string) (*v1alpha1.ClusterConfig, error)
	List(selector labels.Selector) ([]*v1alpha1.ClusterConfig, error)

	AddIndexer(indexName string, indexer ClusterConfigIndexer)
	GetByIndex(indexName, key string) ([]*v1alpha1.ClusterConfig, error)
}

type ClusterConfigClient

type ClusterConfigClient interface {
	Create(*v1alpha1.ClusterConfig) (*v1alpha1.ClusterConfig, error)
	Update(*v1alpha1.ClusterConfig) (*v1alpha1.ClusterConfig, error)

	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1alpha1.ClusterConfig, error)
	List(opts metav1.ListOptions) (*v1alpha1.ClusterConfigList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterConfig, err error)
}

type ClusterConfigController

type ClusterConfigController interface {
	generic.ControllerMeta
	ClusterConfigClient

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

	Cache() ClusterConfigCache
}

func NewClusterConfigController

func NewClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterConfigController

type ClusterConfigHandler

type ClusterConfigHandler func(string, *v1alpha1.ClusterConfig) (*v1alpha1.ClusterConfig, error)

type ClusterConfigIndexer

type ClusterConfigIndexer func(obj *v1alpha1.ClusterConfig) ([]string, error)

type Interface

type Interface interface {
	ClusterConfig() ClusterConfigController
}

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