v1beta1

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKsmtunedHandlerToHandler

func FromKsmtunedHandlerToHandler(sync KsmtunedHandler) generic.Handler

func RegisterKsmtunedGeneratingHandler

func RegisterKsmtunedGeneratingHandler(ctx context.Context, controller KsmtunedController, apply apply.Apply,
	condition condition.Cond, name string, handler KsmtunedGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterKsmtunedStatusHandler

func RegisterKsmtunedStatusHandler(ctx context.Context, controller KsmtunedController, condition condition.Cond, name string, handler KsmtunedStatusHandler)

func UpdateKsmtunedDeepCopyOnChange

func UpdateKsmtunedDeepCopyOnChange(client KsmtunedClient, obj *v1beta1.Ksmtuned, handler func(obj *v1beta1.Ksmtuned) (*v1beta1.Ksmtuned, error)) (*v1beta1.Ksmtuned, error)

Types

type Interface

type Interface interface {
	Ksmtuned() KsmtunedController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type KsmtunedCache

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

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

type KsmtunedClient

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

type KsmtunedController

type KsmtunedController interface {
	generic.ControllerMeta
	KsmtunedClient

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

	Cache() KsmtunedCache
}

func NewKsmtunedController

func NewKsmtunedController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) KsmtunedController

type KsmtunedGeneratingHandler

type KsmtunedGeneratingHandler func(obj *v1beta1.Ksmtuned, status v1beta1.KsmtunedStatus) ([]runtime.Object, v1beta1.KsmtunedStatus, error)

type KsmtunedHandler

type KsmtunedHandler func(string, *v1beta1.Ksmtuned) (*v1beta1.Ksmtuned, error)

type KsmtunedIndexer

type KsmtunedIndexer func(obj *v1beta1.Ksmtuned) ([]string, error)

type KsmtunedStatusHandler

type KsmtunedStatusHandler func(obj *v1beta1.Ksmtuned, status v1beta1.KsmtunedStatus) (v1beta1.KsmtunedStatus, error)

Jump to

Keyboard shortcuts

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