Documentation
¶
Index ¶
- func FromHelmReleaseHandlerToHandler(sync HelmReleaseHandler) generic.Handler
- func RegisterHelmReleaseGeneratingHandler(ctx context.Context, controller HelmReleaseController, apply apply.Apply, ...)
- func RegisterHelmReleaseStatusHandler(ctx context.Context, controller HelmReleaseController, ...)
- func UpdateHelmReleaseDeepCopyOnChange(client HelmReleaseClient, obj *v1alpha1.HelmRelease, ...) (*v1alpha1.HelmRelease, error)
- type HelmReleaseCache
- type HelmReleaseClient
- type HelmReleaseController
- type HelmReleaseGeneratingHandler
- type HelmReleaseHandler
- type HelmReleaseIndexer
- type HelmReleaseStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHelmReleaseHandlerToHandler ¶
func FromHelmReleaseHandlerToHandler(sync HelmReleaseHandler) generic.Handler
func RegisterHelmReleaseGeneratingHandler ¶
func RegisterHelmReleaseGeneratingHandler(ctx context.Context, controller HelmReleaseController, apply apply.Apply, condition condition.Cond, name string, handler HelmReleaseGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterHelmReleaseStatusHandler ¶
func RegisterHelmReleaseStatusHandler(ctx context.Context, controller HelmReleaseController, condition condition.Cond, name string, handler HelmReleaseStatusHandler)
func UpdateHelmReleaseDeepCopyOnChange ¶
func UpdateHelmReleaseDeepCopyOnChange(client HelmReleaseClient, obj *v1alpha1.HelmRelease, handler func(obj *v1alpha1.HelmRelease) (*v1alpha1.HelmRelease, error)) (*v1alpha1.HelmRelease, error)
Types ¶
type HelmReleaseCache ¶
type HelmReleaseCache interface {
Get(namespace, name string) (*v1alpha1.HelmRelease, error)
List(namespace string, selector labels.Selector) ([]*v1alpha1.HelmRelease, error)
AddIndexer(indexName string, indexer HelmReleaseIndexer)
GetByIndex(indexName, key string) ([]*v1alpha1.HelmRelease, error)
}
type HelmReleaseClient ¶
type HelmReleaseClient interface {
Create(*v1alpha1.HelmRelease) (*v1alpha1.HelmRelease, error)
Update(*v1alpha1.HelmRelease) (*v1alpha1.HelmRelease, error)
UpdateStatus(*v1alpha1.HelmRelease) (*v1alpha1.HelmRelease, error)
Delete(namespace, name string, options *metav1.DeleteOptions) error
Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.HelmRelease, error)
List(namespace string, opts metav1.ListOptions) (*v1alpha1.HelmReleaseList, error)
Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.HelmRelease, err error)
}
type HelmReleaseController ¶
type HelmReleaseController interface {
generic.ControllerMeta
HelmReleaseClient
OnChange(ctx context.Context, name string, sync HelmReleaseHandler)
OnRemove(ctx context.Context, name string, sync HelmReleaseHandler)
Enqueue(namespace, name string)
EnqueueAfter(namespace, name string, duration time.Duration)
Cache() HelmReleaseCache
}
func NewHelmReleaseController ¶
func NewHelmReleaseController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) HelmReleaseController
type HelmReleaseGeneratingHandler ¶
type HelmReleaseGeneratingHandler func(obj *v1alpha1.HelmRelease, status v1alpha1.HelmReleaseStatus) ([]runtime.Object, v1alpha1.HelmReleaseStatus, error)
type HelmReleaseHandler ¶
type HelmReleaseHandler func(string, *v1alpha1.HelmRelease) (*v1alpha1.HelmRelease, error)
type HelmReleaseIndexer ¶
type HelmReleaseIndexer func(obj *v1alpha1.HelmRelease) ([]string, error)
type HelmReleaseStatusHandler ¶
type HelmReleaseStatusHandler func(obj *v1alpha1.HelmRelease, status v1alpha1.HelmReleaseStatus) (v1alpha1.HelmReleaseStatus, error)
type Interface ¶
type Interface interface {
HelmRelease() HelmReleaseController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.