Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAlertmanagers
- 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
- 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
- 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
- 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
- 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
- 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
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAlertmanagers ¶
type FakeAlertmanagers struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakeAlertmanagers implements AlertmanagerInterface
func (*FakeAlertmanagers) Create ¶
func (c *FakeAlertmanagers) Create(ctx context.Context, alertmanager *monitoringv1.Alertmanager, opts v1.CreateOptions) (result *monitoringv1.Alertmanager, err error)
Create takes the representation of a alertmanager and creates it. Returns the server's representation of the alertmanager, and an error, if there is any.
func (*FakeAlertmanagers) Delete ¶
func (c *FakeAlertmanagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alertmanager and deletes it. Returns an error if one occurs.
func (*FakeAlertmanagers) DeleteCollection ¶
func (c *FakeAlertmanagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlertmanagers) Get ¶
func (c *FakeAlertmanagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.Alertmanager, err error)
Get takes name of the alertmanager, and returns the corresponding alertmanager object, and an error if there is any.
func (*FakeAlertmanagers) List ¶
func (c *FakeAlertmanagers) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.AlertmanagerList, err error)
List takes label and field selectors, and returns the list of Alertmanagers that match those selectors.
func (*FakeAlertmanagers) Patch ¶
func (c *FakeAlertmanagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.Alertmanager, err error)
Patch applies the patch and returns the patched alertmanager.
func (*FakeAlertmanagers) Update ¶
func (c *FakeAlertmanagers) Update(ctx context.Context, alertmanager *monitoringv1.Alertmanager, opts v1.UpdateOptions) (result *monitoringv1.Alertmanager, err error)
Update takes the representation of a alertmanager and updates it. Returns the server's representation of the alertmanager, and an error, if there is any.
func (*FakeAlertmanagers) UpdateStatus ¶
func (c *FakeAlertmanagers) UpdateStatus(ctx context.Context, alertmanager *monitoringv1.Alertmanager, opts v1.UpdateOptions) (*monitoringv1.Alertmanager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlertmanagers) Watch ¶
func (c *FakeAlertmanagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alertmanagers.
type FakeMonitoringV1 ¶
func (*FakeMonitoringV1) Alertmanagers ¶
func (c *FakeMonitoringV1) Alertmanagers(namespace string) v1.AlertmanagerInterface
func (*FakeMonitoringV1) PodMonitors ¶
func (c *FakeMonitoringV1) PodMonitors(namespace string) v1.PodMonitorInterface
func (*FakeMonitoringV1) PrometheusRules ¶
func (c *FakeMonitoringV1) PrometheusRules(namespace string) v1.PrometheusRuleInterface
func (*FakeMonitoringV1) Prometheuses ¶
func (c *FakeMonitoringV1) Prometheuses(namespace string) v1.PrometheusInterface
func (*FakeMonitoringV1) RESTClient ¶
func (c *FakeMonitoringV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMonitoringV1) ServiceMonitors ¶
func (c *FakeMonitoringV1) ServiceMonitors(namespace string) v1.ServiceMonitorInterface
func (*FakeMonitoringV1) ThanosRulers ¶
func (c *FakeMonitoringV1) ThanosRulers(namespace string) v1.ThanosRulerInterface
type FakePodMonitors ¶
type FakePodMonitors struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakePodMonitors implements PodMonitorInterface
func (*FakePodMonitors) Create ¶
func (c *FakePodMonitors) Create(ctx context.Context, podMonitor *monitoringv1.PodMonitor, opts v1.CreateOptions) (result *monitoringv1.PodMonitor, err error)
Create takes the representation of a podMonitor and creates it. Returns the server's representation of the podMonitor, and an error, if there is any.
func (*FakePodMonitors) Delete ¶
func (c *FakePodMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podMonitor and deletes it. Returns an error if one occurs.
func (*FakePodMonitors) DeleteCollection ¶
func (c *FakePodMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodMonitors) Get ¶
func (c *FakePodMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.PodMonitor, err error)
Get takes name of the podMonitor, and returns the corresponding podMonitor object, and an error if there is any.
func (*FakePodMonitors) List ¶
func (c *FakePodMonitors) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PodMonitorList, err error)
List takes label and field selectors, and returns the list of PodMonitors that match those selectors.
func (*FakePodMonitors) Patch ¶
func (c *FakePodMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.PodMonitor, err error)
Patch applies the patch and returns the patched podMonitor.
func (*FakePodMonitors) Update ¶
func (c *FakePodMonitors) Update(ctx context.Context, podMonitor *monitoringv1.PodMonitor, opts v1.UpdateOptions) (result *monitoringv1.PodMonitor, err error)
Update takes the representation of a podMonitor and updates it. Returns the server's representation of the podMonitor, and an error, if there is any.
func (*FakePodMonitors) Watch ¶
func (c *FakePodMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podMonitors.
type FakePrometheusRules ¶
type FakePrometheusRules struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakePrometheusRules implements PrometheusRuleInterface
func (*FakePrometheusRules) Create ¶
func (c *FakePrometheusRules) Create(ctx context.Context, prometheusRule *monitoringv1.PrometheusRule, opts v1.CreateOptions) (result *monitoringv1.PrometheusRule, err error)
Create takes the representation of a prometheusRule and creates it. Returns the server's representation of the prometheusRule, and an error, if there is any.
func (*FakePrometheusRules) Delete ¶
func (c *FakePrometheusRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the prometheusRule and deletes it. Returns an error if one occurs.
func (*FakePrometheusRules) DeleteCollection ¶
func (c *FakePrometheusRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePrometheusRules) Get ¶
func (c *FakePrometheusRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.PrometheusRule, err error)
Get takes name of the prometheusRule, and returns the corresponding prometheusRule object, and an error if there is any.
func (*FakePrometheusRules) List ¶
func (c *FakePrometheusRules) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PrometheusRuleList, err error)
List takes label and field selectors, and returns the list of PrometheusRules that match those selectors.
func (*FakePrometheusRules) Patch ¶
func (c *FakePrometheusRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.PrometheusRule, err error)
Patch applies the patch and returns the patched prometheusRule.
func (*FakePrometheusRules) Update ¶
func (c *FakePrometheusRules) Update(ctx context.Context, prometheusRule *monitoringv1.PrometheusRule, opts v1.UpdateOptions) (result *monitoringv1.PrometheusRule, err error)
Update takes the representation of a prometheusRule and updates it. Returns the server's representation of the prometheusRule, and an error, if there is any.
func (*FakePrometheusRules) Watch ¶
func (c *FakePrometheusRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested prometheusRules.
type FakePrometheuses ¶
type FakePrometheuses struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakePrometheuses implements PrometheusInterface
func (*FakePrometheuses) Create ¶
func (c *FakePrometheuses) Create(ctx context.Context, prometheus *monitoringv1.Prometheus, opts v1.CreateOptions) (result *monitoringv1.Prometheus, err error)
Create takes the representation of a prometheus and creates it. Returns the server's representation of the prometheus, and an error, if there is any.
func (*FakePrometheuses) Delete ¶
func (c *FakePrometheuses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the prometheus and deletes it. Returns an error if one occurs.
func (*FakePrometheuses) DeleteCollection ¶
func (c *FakePrometheuses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePrometheuses) Get ¶
func (c *FakePrometheuses) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.Prometheus, err error)
Get takes name of the prometheus, and returns the corresponding prometheus object, and an error if there is any.
func (*FakePrometheuses) List ¶
func (c *FakePrometheuses) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.PrometheusList, err error)
List takes label and field selectors, and returns the list of Prometheuses that match those selectors.
func (*FakePrometheuses) Patch ¶
func (c *FakePrometheuses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.Prometheus, err error)
Patch applies the patch and returns the patched prometheus.
func (*FakePrometheuses) Update ¶
func (c *FakePrometheuses) Update(ctx context.Context, prometheus *monitoringv1.Prometheus, opts v1.UpdateOptions) (result *monitoringv1.Prometheus, err error)
Update takes the representation of a prometheus and updates it. Returns the server's representation of the prometheus, and an error, if there is any.
func (*FakePrometheuses) UpdateStatus ¶
func (c *FakePrometheuses) UpdateStatus(ctx context.Context, prometheus *monitoringv1.Prometheus, opts v1.UpdateOptions) (*monitoringv1.Prometheus, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePrometheuses) Watch ¶
func (c *FakePrometheuses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested prometheuses.
type FakeServiceMonitors ¶
type FakeServiceMonitors struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakeServiceMonitors implements ServiceMonitorInterface
func (*FakeServiceMonitors) Create ¶
func (c *FakeServiceMonitors) Create(ctx context.Context, serviceMonitor *monitoringv1.ServiceMonitor, opts v1.CreateOptions) (result *monitoringv1.ServiceMonitor, err error)
Create takes the representation of a serviceMonitor and creates it. Returns the server's representation of the serviceMonitor, and an error, if there is any.
func (*FakeServiceMonitors) Delete ¶
func (c *FakeServiceMonitors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceMonitor and deletes it. Returns an error if one occurs.
func (*FakeServiceMonitors) DeleteCollection ¶
func (c *FakeServiceMonitors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceMonitors) Get ¶
func (c *FakeServiceMonitors) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.ServiceMonitor, err error)
Get takes name of the serviceMonitor, and returns the corresponding serviceMonitor object, and an error if there is any.
func (*FakeServiceMonitors) List ¶
func (c *FakeServiceMonitors) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.ServiceMonitorList, err error)
List takes label and field selectors, and returns the list of ServiceMonitors that match those selectors.
func (*FakeServiceMonitors) Patch ¶
func (c *FakeServiceMonitors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.ServiceMonitor, err error)
Patch applies the patch and returns the patched serviceMonitor.
func (*FakeServiceMonitors) Update ¶
func (c *FakeServiceMonitors) Update(ctx context.Context, serviceMonitor *monitoringv1.ServiceMonitor, opts v1.UpdateOptions) (result *monitoringv1.ServiceMonitor, err error)
Update takes the representation of a serviceMonitor and updates it. Returns the server's representation of the serviceMonitor, and an error, if there is any.
func (*FakeServiceMonitors) Watch ¶
func (c *FakeServiceMonitors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceMonitors.
type FakeThanosRulers ¶
type FakeThanosRulers struct { Fake *FakeMonitoringV1 // contains filtered or unexported fields }
FakeThanosRulers implements ThanosRulerInterface
func (*FakeThanosRulers) Create ¶
func (c *FakeThanosRulers) Create(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, opts v1.CreateOptions) (result *monitoringv1.ThanosRuler, err error)
Create takes the representation of a thanosRuler and creates it. Returns the server's representation of the thanosRuler, and an error, if there is any.
func (*FakeThanosRulers) Delete ¶
func (c *FakeThanosRulers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the thanosRuler and deletes it. Returns an error if one occurs.
func (*FakeThanosRulers) DeleteCollection ¶
func (c *FakeThanosRulers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeThanosRulers) Get ¶
func (c *FakeThanosRulers) Get(ctx context.Context, name string, options v1.GetOptions) (result *monitoringv1.ThanosRuler, err error)
Get takes name of the thanosRuler, and returns the corresponding thanosRuler object, and an error if there is any.
func (*FakeThanosRulers) List ¶
func (c *FakeThanosRulers) List(ctx context.Context, opts v1.ListOptions) (result *monitoringv1.ThanosRulerList, err error)
List takes label and field selectors, and returns the list of ThanosRulers that match those selectors.
func (*FakeThanosRulers) Patch ¶
func (c *FakeThanosRulers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *monitoringv1.ThanosRuler, err error)
Patch applies the patch and returns the patched thanosRuler.
func (*FakeThanosRulers) Update ¶
func (c *FakeThanosRulers) Update(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, opts v1.UpdateOptions) (result *monitoringv1.ThanosRuler, err error)
Update takes the representation of a thanosRuler and updates it. Returns the server's representation of the thanosRuler, and an error, if there is any.
func (*FakeThanosRulers) UpdateStatus ¶
func (c *FakeThanosRulers) UpdateStatus(ctx context.Context, thanosRuler *monitoringv1.ThanosRuler, opts v1.UpdateOptions) (*monitoringv1.ThanosRuler, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeThanosRulers) Watch ¶
func (c *FakeThanosRulers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested thanosRulers.