Documentation ¶
Index ¶
- func FromACKClusterConfigHandlerToHandler(sync ACKClusterConfigHandler) generic.Handler
- func RegisterACKClusterConfigGeneratingHandler(ctx context.Context, controller ACKClusterConfigController, apply apply.Apply, ...)
- func RegisterACKClusterConfigStatusHandler(ctx context.Context, controller ACKClusterConfigController, ...)
- func UpdateACKClusterConfigDeepCopyOnChange(client ACKClusterConfigClient, obj *v1.ACKClusterConfig, ...) (*v1.ACKClusterConfig, error)
- type ACKClusterConfigCache
- type ACKClusterConfigClient
- type ACKClusterConfigController
- type ACKClusterConfigGeneratingHandler
- type ACKClusterConfigHandler
- type ACKClusterConfigIndexer
- type ACKClusterConfigStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromACKClusterConfigHandlerToHandler ¶
func FromACKClusterConfigHandlerToHandler(sync ACKClusterConfigHandler) generic.Handler
func RegisterACKClusterConfigGeneratingHandler ¶
func RegisterACKClusterConfigGeneratingHandler(ctx context.Context, controller ACKClusterConfigController, apply apply.Apply, condition condition.Cond, name string, handler ACKClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterACKClusterConfigStatusHandler ¶
func RegisterACKClusterConfigStatusHandler(ctx context.Context, controller ACKClusterConfigController, condition condition.Cond, name string, handler ACKClusterConfigStatusHandler)
func UpdateACKClusterConfigDeepCopyOnChange ¶
func UpdateACKClusterConfigDeepCopyOnChange(client ACKClusterConfigClient, obj *v1.ACKClusterConfig, handler func(obj *v1.ACKClusterConfig) (*v1.ACKClusterConfig, error)) (*v1.ACKClusterConfig, error)
Types ¶
type ACKClusterConfigCache ¶
type ACKClusterConfigCache interface { Get(namespace, name string) (*v1.ACKClusterConfig, error) List(namespace string, selector labels.Selector) ([]*v1.ACKClusterConfig, error) AddIndexer(indexName string, indexer ACKClusterConfigIndexer) GetByIndex(indexName, key string) ([]*v1.ACKClusterConfig, error) }
type ACKClusterConfigClient ¶
type ACKClusterConfigClient interface { Create(*v1.ACKClusterConfig) (*v1.ACKClusterConfig, error) Update(*v1.ACKClusterConfig) (*v1.ACKClusterConfig, error) UpdateStatus(*v1.ACKClusterConfig) (*v1.ACKClusterConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.ACKClusterConfig, error) List(namespace string, opts metav1.ListOptions) (*v1.ACKClusterConfigList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ACKClusterConfig, err error) }
type ACKClusterConfigController ¶
type ACKClusterConfigController interface { generic.ControllerMeta ACKClusterConfigClient OnChange(ctx context.Context, name string, sync ACKClusterConfigHandler) OnRemove(ctx context.Context, name string, sync ACKClusterConfigHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() ACKClusterConfigCache }
func NewACKClusterConfigController ¶
func NewACKClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ACKClusterConfigController
type ACKClusterConfigGeneratingHandler ¶
type ACKClusterConfigGeneratingHandler func(obj *v1.ACKClusterConfig, status v1.ACKClusterConfigStatus) ([]runtime.Object, v1.ACKClusterConfigStatus, error)
type ACKClusterConfigHandler ¶
type ACKClusterConfigHandler func(string, *v1.ACKClusterConfig) (*v1.ACKClusterConfig, error)
type ACKClusterConfigIndexer ¶
type ACKClusterConfigIndexer func(obj *v1.ACKClusterConfig) ([]string, error)
type ACKClusterConfigStatusHandler ¶
type ACKClusterConfigStatusHandler func(obj *v1.ACKClusterConfig, status v1.ACKClusterConfigStatus) (v1.ACKClusterConfigStatus, error)
type Interface ¶
type Interface interface {
ACKClusterConfig() ACKClusterConfigController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.