Documentation ¶
Index ¶
- func FromManagedChartHandlerToHandler(sync ManagedChartHandler) generic.Handler
- func RegisterManagedChartGeneratingHandler(ctx context.Context, controller ManagedChartController, apply apply.Apply, ...)
- func RegisterManagedChartStatusHandler(ctx context.Context, controller ManagedChartController, ...)
- func UpdateManagedChartDeepCopyOnChange(client ManagedChartClient, obj *v3.ManagedChart, ...) (*v3.ManagedChart, error)
- type Interface
- type ManagedChartCache
- type ManagedChartClient
- type ManagedChartController
- type ManagedChartGeneratingHandler
- type ManagedChartHandler
- type ManagedChartIndexer
- type ManagedChartStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromManagedChartHandlerToHandler ¶
func FromManagedChartHandlerToHandler(sync ManagedChartHandler) generic.Handler
func RegisterManagedChartGeneratingHandler ¶
func RegisterManagedChartGeneratingHandler(ctx context.Context, controller ManagedChartController, apply apply.Apply, condition condition.Cond, name string, handler ManagedChartGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterManagedChartStatusHandler ¶
func RegisterManagedChartStatusHandler(ctx context.Context, controller ManagedChartController, condition condition.Cond, name string, handler ManagedChartStatusHandler)
func UpdateManagedChartDeepCopyOnChange ¶
func UpdateManagedChartDeepCopyOnChange(client ManagedChartClient, obj *v3.ManagedChart, handler func(obj *v3.ManagedChart) (*v3.ManagedChart, error)) (*v3.ManagedChart, error)
Types ¶
type Interface ¶
type Interface interface {
ManagedChart() ManagedChartController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type ManagedChartCache ¶
type ManagedChartCache interface { Get(namespace, name string) (*v3.ManagedChart, error) List(namespace string, selector labels.Selector) ([]*v3.ManagedChart, error) AddIndexer(indexName string, indexer ManagedChartIndexer) GetByIndex(indexName, key string) ([]*v3.ManagedChart, error) }
type ManagedChartClient ¶
type ManagedChartClient interface { Create(*v3.ManagedChart) (*v3.ManagedChart, error) Update(*v3.ManagedChart) (*v3.ManagedChart, error) UpdateStatus(*v3.ManagedChart) (*v3.ManagedChart, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v3.ManagedChart, error) List(namespace string, opts metav1.ListOptions) (*v3.ManagedChartList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ManagedChart, err error) }
type ManagedChartController ¶
type ManagedChartController interface { generic.ControllerMeta ManagedChartClient OnChange(ctx context.Context, name string, sync ManagedChartHandler) OnRemove(ctx context.Context, name string, sync ManagedChartHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() ManagedChartCache }
func NewManagedChartController ¶
func NewManagedChartController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ManagedChartController
type ManagedChartGeneratingHandler ¶
type ManagedChartGeneratingHandler func(obj *v3.ManagedChart, status v3.ManagedChartStatus) ([]runtime.Object, v3.ManagedChartStatus, error)
type ManagedChartHandler ¶
type ManagedChartHandler func(string, *v3.ManagedChart) (*v3.ManagedChart, error)
type ManagedChartIndexer ¶
type ManagedChartIndexer func(obj *v3.ManagedChart) ([]string, error)
type ManagedChartStatusHandler ¶
type ManagedChartStatusHandler func(obj *v3.ManagedChart, status v3.ManagedChartStatus) (v3.ManagedChartStatus, error)
Click to show internal directories.
Click to hide internal directories.