Documentation ¶
Index ¶
- func FromClusterRegistrationTokenHandlerToHandler(sync ClusterRegistrationTokenHandler) generic.Handler
- func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
- func RegisterClusterRegistrationTokenGeneratingHandler(ctx context.Context, controller ClusterRegistrationTokenController, ...)
- func RegisterClusterRegistrationTokenStatusHandler(ctx context.Context, controller ClusterRegistrationTokenController, ...)
- func UpdateClusterRegistrationTokenDeepCopyOnChange(client ClusterRegistrationTokenClient, obj *v3.ClusterRegistrationToken, ...) (*v3.ClusterRegistrationToken, error)
- func UpdateSettingDeepCopyOnChange(client SettingClient, obj *v3.Setting, ...) (*v3.Setting, error)
- type ClusterRegistrationTokenCache
- type ClusterRegistrationTokenClient
- type ClusterRegistrationTokenController
- type ClusterRegistrationTokenGeneratingHandler
- type ClusterRegistrationTokenHandler
- type ClusterRegistrationTokenIndexer
- type ClusterRegistrationTokenStatusHandler
- type Interface
- type SettingCache
- type SettingClient
- type SettingController
- type SettingHandler
- type SettingIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromClusterRegistrationTokenHandlerToHandler ¶
func FromClusterRegistrationTokenHandlerToHandler(sync ClusterRegistrationTokenHandler) generic.Handler
func FromSettingHandlerToHandler ¶
func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
func RegisterClusterRegistrationTokenGeneratingHandler ¶
func RegisterClusterRegistrationTokenGeneratingHandler(ctx context.Context, controller ClusterRegistrationTokenController, apply apply.Apply, condition condition.Cond, name string, handler ClusterRegistrationTokenGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterClusterRegistrationTokenStatusHandler ¶
func RegisterClusterRegistrationTokenStatusHandler(ctx context.Context, controller ClusterRegistrationTokenController, condition condition.Cond, name string, handler ClusterRegistrationTokenStatusHandler)
func UpdateClusterRegistrationTokenDeepCopyOnChange ¶
func UpdateClusterRegistrationTokenDeepCopyOnChange(client ClusterRegistrationTokenClient, obj *v3.ClusterRegistrationToken, handler func(obj *v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error)) (*v3.ClusterRegistrationToken, error)
Types ¶
type ClusterRegistrationTokenCache ¶
type ClusterRegistrationTokenCache interface { Get(namespace, name string) (*v3.ClusterRegistrationToken, error) List(namespace string, selector labels.Selector) ([]*v3.ClusterRegistrationToken, error) AddIndexer(indexName string, indexer ClusterRegistrationTokenIndexer) GetByIndex(indexName, key string) ([]*v3.ClusterRegistrationToken, error) }
type ClusterRegistrationTokenClient ¶
type ClusterRegistrationTokenClient interface { Create(*v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error) Update(*v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error) UpdateStatus(*v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v3.ClusterRegistrationToken, error) List(namespace string, opts metav1.ListOptions) (*v3.ClusterRegistrationTokenList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterRegistrationToken, err error) }
type ClusterRegistrationTokenController ¶
type ClusterRegistrationTokenController interface { generic.ControllerMeta ClusterRegistrationTokenClient OnChange(ctx context.Context, name string, sync ClusterRegistrationTokenHandler) OnRemove(ctx context.Context, name string, sync ClusterRegistrationTokenHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() ClusterRegistrationTokenCache }
func NewClusterRegistrationTokenController ¶
func NewClusterRegistrationTokenController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterRegistrationTokenController
type ClusterRegistrationTokenGeneratingHandler ¶
type ClusterRegistrationTokenGeneratingHandler func(obj *v3.ClusterRegistrationToken, status v3.ClusterRegistrationTokenStatus) ([]runtime.Object, v3.ClusterRegistrationTokenStatus, error)
type ClusterRegistrationTokenHandler ¶
type ClusterRegistrationTokenHandler func(string, *v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error)
type ClusterRegistrationTokenIndexer ¶
type ClusterRegistrationTokenIndexer func(obj *v3.ClusterRegistrationToken) ([]string, error)
type ClusterRegistrationTokenStatusHandler ¶
type ClusterRegistrationTokenStatusHandler func(obj *v3.ClusterRegistrationToken, status v3.ClusterRegistrationTokenStatus) (v3.ClusterRegistrationTokenStatus, error)
type Interface ¶
type Interface interface { ClusterRegistrationToken() ClusterRegistrationTokenController 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.