Documentation
¶
Index ¶
- func FromEKSClusterConfigHandlerToHandler(sync EKSClusterConfigHandler) generic.Handler
- func RegisterEKSClusterConfigGeneratingHandler(ctx context.Context, controller EKSClusterConfigController, apply apply.Apply, ...)
- func RegisterEKSClusterConfigStatusHandler(ctx context.Context, controller EKSClusterConfigController, ...)
- func UpdateEKSClusterConfigDeepCopyOnChange(client EKSClusterConfigClient, obj *v1.EKSClusterConfig, ...) (*v1.EKSClusterConfig, error)
- type EKSClusterConfigCache
- type EKSClusterConfigClient
- type EKSClusterConfigController
- type EKSClusterConfigGeneratingHandler
- type EKSClusterConfigHandler
- type EKSClusterConfigIndexer
- type EKSClusterConfigStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromEKSClusterConfigHandlerToHandler ¶
func FromEKSClusterConfigHandlerToHandler(sync EKSClusterConfigHandler) generic.Handler
func RegisterEKSClusterConfigGeneratingHandler ¶
func RegisterEKSClusterConfigGeneratingHandler(ctx context.Context, controller EKSClusterConfigController, apply apply.Apply, condition condition.Cond, name string, handler EKSClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterEKSClusterConfigStatusHandler ¶
func RegisterEKSClusterConfigStatusHandler(ctx context.Context, controller EKSClusterConfigController, condition condition.Cond, name string, handler EKSClusterConfigStatusHandler)
func UpdateEKSClusterConfigDeepCopyOnChange ¶
func UpdateEKSClusterConfigDeepCopyOnChange(client EKSClusterConfigClient, obj *v1.EKSClusterConfig, handler func(obj *v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)) (*v1.EKSClusterConfig, error)
Types ¶
type EKSClusterConfigCache ¶
type EKSClusterConfigCache interface {
Get(namespace, name string) (*v1.EKSClusterConfig, error)
List(namespace string, selector labels.Selector) ([]*v1.EKSClusterConfig, error)
AddIndexer(indexName string, indexer EKSClusterConfigIndexer)
GetByIndex(indexName, key string) ([]*v1.EKSClusterConfig, error)
}
type EKSClusterConfigClient ¶
type EKSClusterConfigClient interface {
Create(*v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)
Update(*v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)
UpdateStatus(*v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)
Delete(namespace, name string, options *metav1.DeleteOptions) error
Get(namespace, name string, options metav1.GetOptions) (*v1.EKSClusterConfig, error)
List(namespace string, opts metav1.ListOptions) (*v1.EKSClusterConfigList, error)
Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.EKSClusterConfig, err error)
}
type EKSClusterConfigController ¶
type EKSClusterConfigController interface {
generic.ControllerMeta
EKSClusterConfigClient
OnChange(ctx context.Context, name string, sync EKSClusterConfigHandler)
OnRemove(ctx context.Context, name string, sync EKSClusterConfigHandler)
Enqueue(namespace, name string)
EnqueueAfter(namespace, name string, duration time.Duration)
Cache() EKSClusterConfigCache
}
func NewEKSClusterConfigController ¶
func NewEKSClusterConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) EKSClusterConfigController
type EKSClusterConfigGeneratingHandler ¶
type EKSClusterConfigGeneratingHandler func(obj *v1.EKSClusterConfig, status v1.EKSClusterConfigStatus) ([]runtime.Object, v1.EKSClusterConfigStatus, error)
type EKSClusterConfigHandler ¶
type EKSClusterConfigHandler func(string, *v1.EKSClusterConfig) (*v1.EKSClusterConfig, error)
type EKSClusterConfigIndexer ¶
type EKSClusterConfigIndexer func(obj *v1.EKSClusterConfig) ([]string, error)
type EKSClusterConfigStatusHandler ¶
type EKSClusterConfigStatusHandler func(obj *v1.EKSClusterConfig, status v1.EKSClusterConfigStatus) (v1.EKSClusterConfigStatus, error)
type Interface ¶
type Interface interface {
EKSClusterConfig() EKSClusterConfigController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.