Documentation ¶
Index ¶
- func FromKsmtunedHandlerToHandler(sync KsmtunedHandler) generic.Handler
- func RegisterKsmtunedGeneratingHandler(ctx context.Context, controller KsmtunedController, apply apply.Apply, ...)
- func RegisterKsmtunedStatusHandler(ctx context.Context, controller KsmtunedController, condition condition.Cond, ...)
- func UpdateKsmtunedDeepCopyOnChange(client KsmtunedClient, obj *v1beta1.Ksmtuned, ...) (*v1beta1.Ksmtuned, error)
- type Interface
- type KsmtunedCache
- type KsmtunedClient
- type KsmtunedController
- type KsmtunedGeneratingHandler
- type KsmtunedHandler
- type KsmtunedIndexer
- type KsmtunedStatusHandler
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)
Types ¶
type Interface ¶
type Interface interface {
Ksmtuned() KsmtunedController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type KsmtunedCache ¶
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 KsmtunedStatusHandler ¶
type KsmtunedStatusHandler func(obj *v1beta1.Ksmtuned, status v1beta1.KsmtunedStatus) (v1beta1.KsmtunedStatus, error)
Click to show internal directories.
Click to hide internal directories.