Versions in this module Expand all Collapse all v1 v1.4.0 Nov 9, 2024 v1.3.0 Nov 10, 2024 Changes in this version + func FromAlertmanagerHandlerToHandler(sync AlertmanagerHandler) generic.Handler + func FromPrometheusHandlerToHandler(sync PrometheusHandler) generic.Handler + func RegisterAlertmanagerGeneratingHandler(ctx context.Context, controller AlertmanagerController, apply apply.Apply, ...) + func RegisterAlertmanagerStatusHandler(ctx context.Context, controller AlertmanagerController, ...) + func RegisterPrometheusGeneratingHandler(ctx context.Context, controller PrometheusController, apply apply.Apply, ...) + func RegisterPrometheusStatusHandler(ctx context.Context, controller PrometheusController, condition condition.Cond, ...) + func UpdateAlertmanagerDeepCopyOnChange(client AlertmanagerClient, obj *v1.Alertmanager, ...) (*v1.Alertmanager, error) + func UpdatePrometheusDeepCopyOnChange(client PrometheusClient, obj *v1.Prometheus, ...) (*v1.Prometheus, error) + type AlertmanagerCache interface + AddIndexer func(indexName string, indexer AlertmanagerIndexer) + Get func(namespace, name string) (*v1.Alertmanager, error) + GetByIndex func(indexName, key string) ([]*v1.Alertmanager, error) + List func(namespace string, selector labels.Selector) ([]*v1.Alertmanager, error) + type AlertmanagerClient interface + Create func(*v1.Alertmanager) (*v1.Alertmanager, error) + Delete func(namespace, name string, options *metav1.DeleteOptions) error + Get func(namespace, name string, options metav1.GetOptions) (*v1.Alertmanager, error) + List func(namespace string, opts metav1.ListOptions) (*v1.AlertmanagerList, error) + Patch func(namespace, name string, pt types.PatchType, data []byte, ...) (result *v1.Alertmanager, err error) + Update func(*v1.Alertmanager) (*v1.Alertmanager, error) + UpdateStatus func(*v1.Alertmanager) (*v1.Alertmanager, error) + Watch func(namespace string, opts metav1.ListOptions) (watch.Interface, error) + type AlertmanagerController interface + Cache func() AlertmanagerCache + Enqueue func(namespace, name string) + EnqueueAfter func(namespace, name string, duration time.Duration) + OnChange func(ctx context.Context, name string, sync AlertmanagerHandler) + OnRemove func(ctx context.Context, name string, sync AlertmanagerHandler) + func NewAlertmanagerController(gvk schema.GroupVersionKind, resource string, namespaced bool, ...) AlertmanagerController + type AlertmanagerGeneratingHandler func(obj *v1.Alertmanager, status v1.AlertmanagerStatus) ([]runtime.Object, v1.AlertmanagerStatus, error) + type AlertmanagerHandler func(string, *v1.Alertmanager) (*v1.Alertmanager, error) + type AlertmanagerIndexer func(obj *v1.Alertmanager) ([]string, error) + type AlertmanagerStatusHandler func(obj *v1.Alertmanager, status v1.AlertmanagerStatus) (v1.AlertmanagerStatus, error) + type Interface interface + Alertmanager func() AlertmanagerController + Prometheus func() PrometheusController + func New(controllerFactory controller.SharedControllerFactory) Interface + type PrometheusCache interface + AddIndexer func(indexName string, indexer PrometheusIndexer) + Get func(namespace, name string) (*v1.Prometheus, error) + GetByIndex func(indexName, key string) ([]*v1.Prometheus, error) + List func(namespace string, selector labels.Selector) ([]*v1.Prometheus, error) + type PrometheusClient interface + Create func(*v1.Prometheus) (*v1.Prometheus, error) + Delete func(namespace, name string, options *metav1.DeleteOptions) error + Get func(namespace, name string, options metav1.GetOptions) (*v1.Prometheus, error) + List func(namespace string, opts metav1.ListOptions) (*v1.PrometheusList, error) + Patch func(namespace, name string, pt types.PatchType, data []byte, ...) (result *v1.Prometheus, err error) + Update func(*v1.Prometheus) (*v1.Prometheus, error) + UpdateStatus func(*v1.Prometheus) (*v1.Prometheus, error) + Watch func(namespace string, opts metav1.ListOptions) (watch.Interface, error) + type PrometheusController interface + Cache func() PrometheusCache + Enqueue func(namespace, name string) + EnqueueAfter func(namespace, name string, duration time.Duration) + OnChange func(ctx context.Context, name string, sync PrometheusHandler) + OnRemove func(ctx context.Context, name string, sync PrometheusHandler) + func NewPrometheusController(gvk schema.GroupVersionKind, resource string, namespaced bool, ...) PrometheusController + type PrometheusGeneratingHandler func(obj *v1.Prometheus, status v1.PrometheusStatus) ([]runtime.Object, v1.PrometheusStatus, error) + type PrometheusHandler func(string, *v1.Prometheus) (*v1.Prometheus, error) + type PrometheusIndexer func(obj *v1.Prometheus) ([]string, error) + type PrometheusStatusHandler func(obj *v1.Prometheus, status v1.PrometheusStatus) (v1.PrometheusStatus, error)