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