Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromSysDriftHandlerToHandler ¶
func FromSysDriftHandlerToHandler(sync SysDriftHandler) generic.Handler
Types ¶
type Interface ¶
type Interface interface {
SysDrift() SysDriftController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type SysDriftCache ¶
type SysDriftClient ¶
type SysDriftClient interface { Create(*v1.SysDrift) (*v1.SysDrift, error) Update(*v1.SysDrift) (*v1.SysDrift, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.SysDrift, error) List(namespace string, opts metav1.ListOptions) (*v1.SysDriftList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.SysDrift, err error) }
type SysDriftController ¶
type SysDriftController interface { generic.ControllerMeta SysDriftClient OnChange(ctx context.Context, name string, sync SysDriftHandler) OnRemove(ctx context.Context, name string, sync SysDriftHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() SysDriftCache }
func NewSysDriftController ¶
func NewSysDriftController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SysDriftController
Click to show internal directories.
Click to hide internal directories.