Documentation ¶
Index ¶
- func FromHelmChartConfigHandlerToHandler(sync HelmChartConfigHandler) generic.Handler
- func FromHelmChartHandlerToHandler(sync HelmChartHandler) generic.Handler
- func RegisterHelmChartGeneratingHandler(ctx context.Context, controller HelmChartController, apply apply.Apply, ...)
- func RegisterHelmChartStatusHandler(ctx context.Context, controller HelmChartController, condition condition.Cond, ...)
- func UpdateHelmChartConfigDeepCopyOnChange(client HelmChartConfigClient, obj *v1.HelmChartConfig, ...) (*v1.HelmChartConfig, error)
- func UpdateHelmChartDeepCopyOnChange(client HelmChartClient, obj *v1.HelmChart, ...) (*v1.HelmChart, error)
- type HelmChartCache
- type HelmChartClient
- type HelmChartConfigCache
- type HelmChartConfigClient
- type HelmChartConfigController
- type HelmChartConfigHandler
- type HelmChartConfigIndexer
- type HelmChartController
- type HelmChartGeneratingHandler
- type HelmChartHandler
- type HelmChartIndexer
- type HelmChartStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHelmChartConfigHandlerToHandler ¶
func FromHelmChartConfigHandlerToHandler(sync HelmChartConfigHandler) generic.Handler
func FromHelmChartHandlerToHandler ¶
func FromHelmChartHandlerToHandler(sync HelmChartHandler) generic.Handler
func RegisterHelmChartGeneratingHandler ¶
func RegisterHelmChartGeneratingHandler(ctx context.Context, controller HelmChartController, apply apply.Apply, condition condition.Cond, name string, handler HelmChartGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterHelmChartStatusHandler ¶
func RegisterHelmChartStatusHandler(ctx context.Context, controller HelmChartController, condition condition.Cond, name string, handler HelmChartStatusHandler)
func UpdateHelmChartConfigDeepCopyOnChange ¶
func UpdateHelmChartConfigDeepCopyOnChange(client HelmChartConfigClient, obj *v1.HelmChartConfig, handler func(obj *v1.HelmChartConfig) (*v1.HelmChartConfig, error)) (*v1.HelmChartConfig, error)
Types ¶
type HelmChartCache ¶
type HelmChartClient ¶
type HelmChartClient interface { Create(*v1.HelmChart) (*v1.HelmChart, error) Update(*v1.HelmChart) (*v1.HelmChart, error) UpdateStatus(*v1.HelmChart) (*v1.HelmChart, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.HelmChart, error) List(namespace string, opts metav1.ListOptions) (*v1.HelmChartList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.HelmChart, err error) }
type HelmChartConfigCache ¶
type HelmChartConfigCache interface { Get(namespace, name string) (*v1.HelmChartConfig, error) List(namespace string, selector labels.Selector) ([]*v1.HelmChartConfig, error) AddIndexer(indexName string, indexer HelmChartConfigIndexer) GetByIndex(indexName, key string) ([]*v1.HelmChartConfig, error) }
type HelmChartConfigClient ¶
type HelmChartConfigClient interface { Create(*v1.HelmChartConfig) (*v1.HelmChartConfig, error) Update(*v1.HelmChartConfig) (*v1.HelmChartConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.HelmChartConfig, error) List(namespace string, opts metav1.ListOptions) (*v1.HelmChartConfigList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.HelmChartConfig, err error) }
type HelmChartConfigController ¶
type HelmChartConfigController interface { generic.ControllerMeta HelmChartConfigClient OnChange(ctx context.Context, name string, sync HelmChartConfigHandler) OnRemove(ctx context.Context, name string, sync HelmChartConfigHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() HelmChartConfigCache }
func NewHelmChartConfigController ¶
func NewHelmChartConfigController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.HelmChartConfigsGetter, informer informers.HelmChartConfigInformer) HelmChartConfigController
type HelmChartConfigHandler ¶
type HelmChartConfigHandler func(string, *v1.HelmChartConfig) (*v1.HelmChartConfig, error)
type HelmChartConfigIndexer ¶
type HelmChartConfigIndexer func(obj *v1.HelmChartConfig) ([]string, error)
type HelmChartController ¶
type HelmChartController interface { generic.ControllerMeta HelmChartClient OnChange(ctx context.Context, name string, sync HelmChartHandler) OnRemove(ctx context.Context, name string, sync HelmChartHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() HelmChartCache }
func NewHelmChartController ¶
func NewHelmChartController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.HelmChartsGetter, informer informers.HelmChartInformer) HelmChartController
type HelmChartGeneratingHandler ¶
type HelmChartGeneratingHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) ([]runtime.Object, v1.HelmChartStatus, error)
type HelmChartStatusHandler ¶
type HelmChartStatusHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) (v1.HelmChartStatus, error)
type Interface ¶
type Interface interface { HelmChart() HelmChartController HelmChartConfig() HelmChartConfigController }
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.HelmV1Interface, informers informers.Interface) Interface
Click to show internal directories.
Click to hide internal directories.