v1

package
v0.1.0-rc5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromCCEClusterConfigHandlerToHandler

func FromCCEClusterConfigHandlerToHandler(sync CCEClusterConfigHandler) generic.Handler

func RegisterCCEClusterConfigGeneratingHandler

func RegisterCCEClusterConfigGeneratingHandler(ctx context.Context, controller CCEClusterConfigController, apply apply.Apply,
	condition condition.Cond, name string, handler CCEClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterCCEClusterConfigStatusHandler

func RegisterCCEClusterConfigStatusHandler(ctx context.Context, controller CCEClusterConfigController, condition condition.Cond, name string, handler CCEClusterConfigStatusHandler)

func UpdateCCEClusterConfigDeepCopyOnChange

func UpdateCCEClusterConfigDeepCopyOnChange(client CCEClusterConfigClient, obj *v1.CCEClusterConfig, handler func(obj *v1.CCEClusterConfig) (*v1.CCEClusterConfig, error)) (*v1.CCEClusterConfig, error)

Types

type CCEClusterConfigCache

type CCEClusterConfigCache interface {
	Get(namespace, name string) (*v1.CCEClusterConfig, error)
	List(namespace string, selector labels.Selector) ([]*v1.CCEClusterConfig, error)

	AddIndexer(indexName string, indexer CCEClusterConfigIndexer)
	GetByIndex(indexName, key string) ([]*v1.CCEClusterConfig, error)
}

type CCEClusterConfigClient

type CCEClusterConfigClient interface {
	Create(*v1.CCEClusterConfig) (*v1.CCEClusterConfig, error)
	Update(*v1.CCEClusterConfig) (*v1.CCEClusterConfig, error)
	UpdateStatus(*v1.CCEClusterConfig) (*v1.CCEClusterConfig, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.CCEClusterConfig, error)
	List(namespace string, opts metav1.ListOptions) (*v1.CCEClusterConfigList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.CCEClusterConfig, err error)
}

type CCEClusterConfigController

type CCEClusterConfigController interface {
	generic.ControllerMeta
	CCEClusterConfigClient

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

	Cache() CCEClusterConfigCache
}

func NewCCEClusterConfigController

func NewCCEClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) CCEClusterConfigController

type CCEClusterConfigGeneratingHandler

type CCEClusterConfigGeneratingHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) ([]runtime.Object, v1.CCEClusterConfigStatus, error)

type CCEClusterConfigHandler

type CCEClusterConfigHandler func(string, *v1.CCEClusterConfig) (*v1.CCEClusterConfig, error)

type CCEClusterConfigIndexer

type CCEClusterConfigIndexer func(obj *v1.CCEClusterConfig) ([]string, error)

type CCEClusterConfigStatusHandler

type CCEClusterConfigStatusHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) (v1.CCEClusterConfigStatus, error)

type Interface

type Interface interface {
	CCEClusterConfig() CCEClusterConfigController
}

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