v1

package
v1.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromEKSClusterConfigHandlerToHandler

func FromEKSClusterConfigHandlerToHandler(sync EKSClusterConfigHandler) generic.Handler

func RegisterEKSClusterConfigGeneratingHandler

func RegisterEKSClusterConfigGeneratingHandler(ctx context.Context, controller EKSClusterConfigController, apply apply.Apply,
	condition condition.Cond, name string, handler EKSClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterEKSClusterConfigStatusHandler

func RegisterEKSClusterConfigStatusHandler(ctx context.Context, controller EKSClusterConfigController, condition condition.Cond, name string, handler EKSClusterConfigStatusHandler)

func UpdateEKSClusterConfigDeepCopyOnChange

func UpdateEKSClusterConfigDeepCopyOnChange(client EKSClusterConfigClient, obj *v1.EKSClusterConfig, handler func(obj *v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)) (*v1.EKSClusterConfig, error)

Types

type EKSClusterConfigCache

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

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

type EKSClusterConfigClient

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

type EKSClusterConfigController

type EKSClusterConfigController interface {
	generic.ControllerMeta
	EKSClusterConfigClient

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

	Cache() EKSClusterConfigCache
}

func NewEKSClusterConfigController

func NewEKSClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) EKSClusterConfigController

type EKSClusterConfigGeneratingHandler

type EKSClusterConfigGeneratingHandler func(obj *v1.EKSClusterConfig, status v1.EKSClusterConfigStatus) ([]runtime.Object, v1.EKSClusterConfigStatus, error)

type EKSClusterConfigHandler

type EKSClusterConfigHandler func(string, *v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)

type EKSClusterConfigIndexer

type EKSClusterConfigIndexer func(obj *v1.EKSClusterConfig) ([]string, error)

type EKSClusterConfigStatusHandler

type EKSClusterConfigStatusHandler func(obj *v1.EKSClusterConfig, status v1.EKSClusterConfigStatus) (v1.EKSClusterConfigStatus, error)

type Interface

type Interface interface {
	EKSClusterConfig() EKSClusterConfigController
}

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