Versions in this module Expand all Collapse all v1 v1.0.1 Sep 8, 2023 Changes in this version + type FakeAlertmanagers struct + Fake *FakeMonitoringV1 + func (c *FakeAlertmanagers) Create(ctx context.Context, alertmanager *monitoringv1.Alertmanager, ...) (result *monitoringv1.Alertmanager, err error) + func (c *FakeAlertmanagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakeAlertmanagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakeAlertmanagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.Alertmanager, err error) + func (c *FakeAlertmanagers) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.AlertmanagerList, err error) + func (c *FakeAlertmanagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.Alertmanager, err error) + func (c *FakeAlertmanagers) Update(ctx context.Context, alertmanager *monitoringv1.Alertmanager, ...) (result *monitoringv1.Alertmanager, err error) + func (c *FakeAlertmanagers) UpdateStatus(ctx context.Context, alertmanager *monitoringv1.Alertmanager, ...) (*monitoringv1.Alertmanager, error) + func (c *FakeAlertmanagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + type FakeMonitoringV1 struct + func (c *FakeMonitoringV1) Alertmanagers(namespace string) v1.AlertmanagerInterface + func (c *FakeMonitoringV1) PodMonitors(namespace string) v1.PodMonitorInterface + func (c *FakeMonitoringV1) PrometheusRules(namespace string) v1.PrometheusRuleInterface + func (c *FakeMonitoringV1) Prometheuses(namespace string) v1.PrometheusInterface + func (c *FakeMonitoringV1) RESTClient() rest.Interface + func (c *FakeMonitoringV1) ServiceMonitors(namespace string) v1.ServiceMonitorInterface + func (c *FakeMonitoringV1) ThanosRulers(namespace string) v1.ThanosRulerInterface + type FakePodMonitors struct + Fake *FakeMonitoringV1 + func (c *FakePodMonitors) Create(ctx context.Context, podMonitor *monitoringv1.PodMonitor, ...) (result *monitoringv1.PodMonitor, err error) + func (c *FakePodMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakePodMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakePodMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.PodMonitor, err error) + func (c *FakePodMonitors) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PodMonitorList, err error) + func (c *FakePodMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.PodMonitor, err error) + func (c *FakePodMonitors) Update(ctx context.Context, podMonitor *monitoringv1.PodMonitor, ...) (result *monitoringv1.PodMonitor, err error) + func (c *FakePodMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + type FakePrometheusRules struct + Fake *FakeMonitoringV1 + func (c *FakePrometheusRules) Create(ctx context.Context, prometheusRule *monitoringv1.PrometheusRule, ...) (result *monitoringv1.PrometheusRule, err error) + func (c *FakePrometheusRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakePrometheusRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakePrometheusRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.PrometheusRule, err error) + func (c *FakePrometheusRules) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PrometheusRuleList, err error) + func (c *FakePrometheusRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.PrometheusRule, err error) + func (c *FakePrometheusRules) Update(ctx context.Context, prometheusRule *monitoringv1.PrometheusRule, ...) (result *monitoringv1.PrometheusRule, err error) + func (c *FakePrometheusRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + type FakePrometheuses struct + Fake *FakeMonitoringV1 + func (c *FakePrometheuses) Create(ctx context.Context, prometheus *monitoringv1.Prometheus, ...) (result *monitoringv1.Prometheus, err error) + func (c *FakePrometheuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakePrometheuses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakePrometheuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.Prometheus, err error) + func (c *FakePrometheuses) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PrometheusList, err error) + func (c *FakePrometheuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.Prometheus, err error) + func (c *FakePrometheuses) Update(ctx context.Context, prometheus *monitoringv1.Prometheus, ...) (result *monitoringv1.Prometheus, err error) + func (c *FakePrometheuses) UpdateStatus(ctx context.Context, prometheus *monitoringv1.Prometheus, ...) (*monitoringv1.Prometheus, error) + func (c *FakePrometheuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + type FakeServiceMonitors struct + Fake *FakeMonitoringV1 + func (c *FakeServiceMonitors) Create(ctx context.Context, serviceMonitor *monitoringv1.ServiceMonitor, ...) (result *monitoringv1.ServiceMonitor, err error) + func (c *FakeServiceMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakeServiceMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakeServiceMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.ServiceMonitor, err error) + func (c *FakeServiceMonitors) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.ServiceMonitorList, err error) + func (c *FakeServiceMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.ServiceMonitor, err error) + func (c *FakeServiceMonitors) Update(ctx context.Context, serviceMonitor *monitoringv1.ServiceMonitor, ...) (result *monitoringv1.ServiceMonitor, err error) + func (c *FakeServiceMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + type FakeThanosRulers struct + Fake *FakeMonitoringV1 + func (c *FakeThanosRulers) Create(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, ...) (result *monitoringv1.ThanosRuler, err error) + func (c *FakeThanosRulers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + func (c *FakeThanosRulers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + func (c *FakeThanosRulers) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.ThanosRuler, err error) + func (c *FakeThanosRulers) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.ThanosRulerList, err error) + func (c *FakeThanosRulers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *monitoringv1.ThanosRuler, err error) + func (c *FakeThanosRulers) Update(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, ...) (result *monitoringv1.ThanosRuler, err error) + func (c *FakeThanosRulers) UpdateStatus(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, ...) (*monitoringv1.ThanosRuler, error) + func (c *FakeThanosRulers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)