Documentation ¶
Index ¶
- func FromAKSClusterConfigHandlerToHandler(sync AKSClusterConfigHandler) generic.Handler
- func RegisterAKSClusterConfigGeneratingHandler(ctx context.Context, controller AKSClusterConfigController, apply apply.Apply, ...)
- func RegisterAKSClusterConfigStatusHandler(ctx context.Context, controller AKSClusterConfigController, ...)
- func UpdateAKSClusterConfigDeepCopyOnChange(client AKSClusterConfigClient, obj *v1.AKSClusterConfig, ...) (*v1.AKSClusterConfig, error)
- type AKSClusterConfigCache
- type AKSClusterConfigClient
- type AKSClusterConfigController
- type AKSClusterConfigGeneratingHandler
- type AKSClusterConfigHandler
- type AKSClusterConfigIndexer
- type AKSClusterConfigStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAKSClusterConfigHandlerToHandler ¶
func FromAKSClusterConfigHandlerToHandler(sync AKSClusterConfigHandler) generic.Handler
func RegisterAKSClusterConfigGeneratingHandler ¶
func RegisterAKSClusterConfigGeneratingHandler(ctx context.Context, controller AKSClusterConfigController, apply apply.Apply, condition condition.Cond, name string, handler AKSClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterAKSClusterConfigStatusHandler ¶
func RegisterAKSClusterConfigStatusHandler(ctx context.Context, controller AKSClusterConfigController, condition condition.Cond, name string, handler AKSClusterConfigStatusHandler)
func UpdateAKSClusterConfigDeepCopyOnChange ¶
func UpdateAKSClusterConfigDeepCopyOnChange(client AKSClusterConfigClient, obj *v1.AKSClusterConfig, handler func(obj *v1.AKSClusterConfig) (*v1.AKSClusterConfig, error)) (*v1.AKSClusterConfig, error)
Types ¶
type AKSClusterConfigCache ¶
type AKSClusterConfigCache interface { Get(namespace, name string) (*v1.AKSClusterConfig, error) List(namespace string, selector labels.Selector) ([]*v1.AKSClusterConfig, error) AddIndexer(indexName string, indexer AKSClusterConfigIndexer) GetByIndex(indexName, key string) ([]*v1.AKSClusterConfig, error) }
type AKSClusterConfigClient ¶
type AKSClusterConfigClient interface { Create(*v1.AKSClusterConfig) (*v1.AKSClusterConfig, error) Update(*v1.AKSClusterConfig) (*v1.AKSClusterConfig, error) UpdateStatus(*v1.AKSClusterConfig) (*v1.AKSClusterConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.AKSClusterConfig, error) List(namespace string, opts metav1.ListOptions) (*v1.AKSClusterConfigList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.AKSClusterConfig, err error) }
type AKSClusterConfigController ¶
type AKSClusterConfigController interface { generic.ControllerMeta AKSClusterConfigClient OnChange(ctx context.Context, name string, sync AKSClusterConfigHandler) OnRemove(ctx context.Context, name string, sync AKSClusterConfigHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() AKSClusterConfigCache }
func NewAKSClusterConfigController ¶
func NewAKSClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) AKSClusterConfigController
type AKSClusterConfigGeneratingHandler ¶
type AKSClusterConfigGeneratingHandler func(obj *v1.AKSClusterConfig, status v1.AKSClusterConfigStatus) ([]runtime.Object, v1.AKSClusterConfigStatus, error)
type AKSClusterConfigHandler ¶
type AKSClusterConfigHandler func(string, *v1.AKSClusterConfig) (*v1.AKSClusterConfig, error)
type AKSClusterConfigIndexer ¶
type AKSClusterConfigIndexer func(obj *v1.AKSClusterConfig) ([]string, error)
type AKSClusterConfigStatusHandler ¶
type AKSClusterConfigStatusHandler func(obj *v1.AKSClusterConfig, status v1.AKSClusterConfigStatus) (v1.AKSClusterConfigStatus, error)
type Interface ¶
type Interface interface {
AKSClusterConfig() AKSClusterConfigController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.