Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAlertPolicies
- func (c *FakeAlertPolicies) Create(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.CreateOptions) (result *v1alpha1.AlertPolicy, err error)
- func (c *FakeAlertPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlertPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlertPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertPolicy, err error)
- func (c *FakeAlertPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertPolicyList, err error)
- func (c *FakeAlertPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AlertPolicy, err error)
- func (c *FakeAlertPolicies) Update(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (result *v1alpha1.AlertPolicy, err error)
- func (c *FakeAlertPolicies) UpdateStatus(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (*v1alpha1.AlertPolicy, error)
- func (c *FakeAlertPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCustomServices
- func (c *FakeCustomServices) Create(ctx context.Context, customService *v1alpha1.CustomService, ...) (result *v1alpha1.CustomService, err error)
- func (c *FakeCustomServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomService, err error)
- func (c *FakeCustomServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomServiceList, err error)
- func (c *FakeCustomServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CustomService, err error)
- func (c *FakeCustomServices) Update(ctx context.Context, customService *v1alpha1.CustomService, ...) (result *v1alpha1.CustomService, err error)
- func (c *FakeCustomServices) UpdateStatus(ctx context.Context, customService *v1alpha1.CustomService, ...) (*v1alpha1.CustomService, error)
- func (c *FakeCustomServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDashboards
- func (c *FakeDashboards) Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DashboardList, err error)
- func (c *FakeDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error)
- func (c *FakeDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGroups
- func (c *FakeGroups) Create(ctx context.Context, group *v1alpha1.Group, opts v1.CreateOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GroupList, err error)
- func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) Update(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (result *v1alpha1.Group, err error)
- func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error)
- func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMetricDescriptors
- func (c *FakeMetricDescriptors) Create(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, ...) (result *v1alpha1.MetricDescriptor, err error)
- func (c *FakeMetricDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMetricDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMetricDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetricDescriptor, err error)
- func (c *FakeMetricDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetricDescriptorList, err error)
- func (c *FakeMetricDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MetricDescriptor, err error)
- func (c *FakeMetricDescriptors) Update(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, ...) (result *v1alpha1.MetricDescriptor, err error)
- func (c *FakeMetricDescriptors) UpdateStatus(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, ...) (*v1alpha1.MetricDescriptor, error)
- func (c *FakeMetricDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringV1alpha1
- func (c *FakeMonitoringV1alpha1) AlertPolicies(namespace string) v1alpha1.AlertPolicyInterface
- func (c *FakeMonitoringV1alpha1) CustomServices(namespace string) v1alpha1.CustomServiceInterface
- func (c *FakeMonitoringV1alpha1) Dashboards(namespace string) v1alpha1.DashboardInterface
- func (c *FakeMonitoringV1alpha1) Groups(namespace string) v1alpha1.GroupInterface
- func (c *FakeMonitoringV1alpha1) MetricDescriptors(namespace string) v1alpha1.MetricDescriptorInterface
- func (c *FakeMonitoringV1alpha1) NotificationChannels(namespace string) v1alpha1.NotificationChannelInterface
- func (c *FakeMonitoringV1alpha1) RESTClient() rest.Interface
- func (c *FakeMonitoringV1alpha1) Slos(namespace string) v1alpha1.SloInterface
- func (c *FakeMonitoringV1alpha1) UptimeCheckConfigs(namespace string) v1alpha1.UptimeCheckConfigInterface
- type FakeNotificationChannels
- func (c *FakeNotificationChannels) Create(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, ...) (result *v1alpha1.NotificationChannel, err error)
- func (c *FakeNotificationChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNotificationChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNotificationChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NotificationChannel, err error)
- func (c *FakeNotificationChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NotificationChannelList, err error)
- func (c *FakeNotificationChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NotificationChannel, err error)
- func (c *FakeNotificationChannels) Update(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, ...) (result *v1alpha1.NotificationChannel, err error)
- func (c *FakeNotificationChannels) UpdateStatus(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, ...) (*v1alpha1.NotificationChannel, error)
- func (c *FakeNotificationChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSlos
- func (c *FakeSlos) Create(ctx context.Context, slo *v1alpha1.Slo, opts v1.CreateOptions) (result *v1alpha1.Slo, err error)
- func (c *FakeSlos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSlos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSlos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Slo, err error)
- func (c *FakeSlos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SloList, err error)
- func (c *FakeSlos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Slo, err error)
- func (c *FakeSlos) Update(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (result *v1alpha1.Slo, err error)
- func (c *FakeSlos) UpdateStatus(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (*v1alpha1.Slo, error)
- func (c *FakeSlos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUptimeCheckConfigs
- func (c *FakeUptimeCheckConfigs) Create(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, ...) (result *v1alpha1.UptimeCheckConfig, err error)
- func (c *FakeUptimeCheckConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUptimeCheckConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUptimeCheckConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UptimeCheckConfig, err error)
- func (c *FakeUptimeCheckConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UptimeCheckConfigList, err error)
- func (c *FakeUptimeCheckConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UptimeCheckConfig, err error)
- func (c *FakeUptimeCheckConfigs) Update(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, ...) (result *v1alpha1.UptimeCheckConfig, err error)
- func (c *FakeUptimeCheckConfigs) UpdateStatus(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, ...) (*v1alpha1.UptimeCheckConfig, error)
- func (c *FakeUptimeCheckConfigs) 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 FakeAlertPolicies ¶
type FakeAlertPolicies struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeAlertPolicies implements AlertPolicyInterface
func (*FakeAlertPolicies) Create ¶
func (c *FakeAlertPolicies) Create(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.CreateOptions) (result *v1alpha1.AlertPolicy, err error)
Create takes the representation of a alertPolicy and creates it. Returns the server's representation of the alertPolicy, and an error, if there is any.
func (*FakeAlertPolicies) Delete ¶
func (c *FakeAlertPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alertPolicy and deletes it. Returns an error if one occurs.
func (*FakeAlertPolicies) DeleteCollection ¶
func (c *FakeAlertPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlertPolicies) Get ¶
func (c *FakeAlertPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertPolicy, err error)
Get takes name of the alertPolicy, and returns the corresponding alertPolicy object, and an error if there is any.
func (*FakeAlertPolicies) List ¶
func (c *FakeAlertPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertPolicyList, err error)
List takes label and field selectors, and returns the list of AlertPolicies that match those selectors.
func (*FakeAlertPolicies) Patch ¶
func (c *FakeAlertPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AlertPolicy, err error)
Patch applies the patch and returns the patched alertPolicy.
func (*FakeAlertPolicies) Update ¶
func (c *FakeAlertPolicies) Update(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (result *v1alpha1.AlertPolicy, err error)
Update takes the representation of a alertPolicy and updates it. Returns the server's representation of the alertPolicy, and an error, if there is any.
func (*FakeAlertPolicies) UpdateStatus ¶
func (c *FakeAlertPolicies) UpdateStatus(ctx context.Context, alertPolicy *v1alpha1.AlertPolicy, opts v1.UpdateOptions) (*v1alpha1.AlertPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlertPolicies) Watch ¶
func (c *FakeAlertPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alertPolicies.
type FakeCustomServices ¶
type FakeCustomServices struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeCustomServices implements CustomServiceInterface
func (*FakeCustomServices) Create ¶
func (c *FakeCustomServices) Create(ctx context.Context, customService *v1alpha1.CustomService, opts v1.CreateOptions) (result *v1alpha1.CustomService, err error)
Create takes the representation of a customService and creates it. Returns the server's representation of the customService, and an error, if there is any.
func (*FakeCustomServices) Delete ¶
func (c *FakeCustomServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customService and deletes it. Returns an error if one occurs.
func (*FakeCustomServices) DeleteCollection ¶
func (c *FakeCustomServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomServices) Get ¶
func (c *FakeCustomServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomService, err error)
Get takes name of the customService, and returns the corresponding customService object, and an error if there is any.
func (*FakeCustomServices) List ¶
func (c *FakeCustomServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomServiceList, err error)
List takes label and field selectors, and returns the list of CustomServices that match those selectors.
func (*FakeCustomServices) Patch ¶
func (c *FakeCustomServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomService, err error)
Patch applies the patch and returns the patched customService.
func (*FakeCustomServices) Update ¶
func (c *FakeCustomServices) Update(ctx context.Context, customService *v1alpha1.CustomService, opts v1.UpdateOptions) (result *v1alpha1.CustomService, err error)
Update takes the representation of a customService and updates it. Returns the server's representation of the customService, and an error, if there is any.
func (*FakeCustomServices) UpdateStatus ¶
func (c *FakeCustomServices) UpdateStatus(ctx context.Context, customService *v1alpha1.CustomService, opts v1.UpdateOptions) (*v1alpha1.CustomService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCustomServices) Watch ¶
func (c *FakeCustomServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customServices.
type FakeDashboards ¶
type FakeDashboards struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeDashboards implements DashboardInterface
func (*FakeDashboards) Create ¶
func (c *FakeDashboards) Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (result *v1alpha1.Dashboard, err error)
Create takes the representation of a dashboard and creates it. Returns the server's representation of the dashboard, and an error, if there is any.
func (*FakeDashboards) Delete ¶
func (c *FakeDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dashboard and deletes it. Returns an error if one occurs.
func (*FakeDashboards) DeleteCollection ¶
func (c *FakeDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDashboards) Get ¶
func (c *FakeDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dashboard, err error)
Get takes name of the dashboard, and returns the corresponding dashboard object, and an error if there is any.
func (*FakeDashboards) List ¶
func (c *FakeDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DashboardList, err error)
List takes label and field selectors, and returns the list of Dashboards that match those selectors.
func (*FakeDashboards) Patch ¶
func (c *FakeDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dashboard, err error)
Patch applies the patch and returns the patched dashboard.
func (*FakeDashboards) Update ¶
func (c *FakeDashboards) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (result *v1alpha1.Dashboard, err error)
Update takes the representation of a dashboard and updates it. Returns the server's representation of the dashboard, and an error, if there is any.
func (*FakeDashboards) UpdateStatus ¶
func (c *FakeDashboards) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDashboards) Watch ¶
func (c *FakeDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dashboards.
type FakeGroups ¶
type FakeGroups struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeGroups implements GroupInterface
func (*FakeGroups) Create ¶
func (c *FakeGroups) Create(ctx context.Context, group *v1alpha1.Group, opts v1.CreateOptions) (result *v1alpha1.Group, err error)
Create takes the representation of a group and creates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) Delete ¶
func (c *FakeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the group and deletes it. Returns an error if one occurs.
func (*FakeGroups) DeleteCollection ¶
func (c *FakeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGroups) Get ¶
func (c *FakeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Group, err error)
Get takes name of the group, and returns the corresponding group object, and an error if there is any.
func (*FakeGroups) List ¶
func (c *FakeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GroupList, err error)
List takes label and field selectors, and returns the list of Groups that match those selectors.
func (*FakeGroups) Patch ¶
func (c *FakeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Group, err error)
Patch applies the patch and returns the patched group.
func (*FakeGroups) Update ¶
func (c *FakeGroups) Update(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (result *v1alpha1.Group, err error)
Update takes the representation of a group and updates it. Returns the server's representation of the group, and an error, if there is any.
func (*FakeGroups) UpdateStatus ¶
func (c *FakeGroups) UpdateStatus(ctx context.Context, group *v1alpha1.Group, opts v1.UpdateOptions) (*v1alpha1.Group, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGroups) Watch ¶
func (c *FakeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested groups.
type FakeMetricDescriptors ¶
type FakeMetricDescriptors struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeMetricDescriptors implements MetricDescriptorInterface
func (*FakeMetricDescriptors) Create ¶
func (c *FakeMetricDescriptors) Create(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.CreateOptions) (result *v1alpha1.MetricDescriptor, err error)
Create takes the representation of a metricDescriptor and creates it. Returns the server's representation of the metricDescriptor, and an error, if there is any.
func (*FakeMetricDescriptors) Delete ¶
func (c *FakeMetricDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the metricDescriptor and deletes it. Returns an error if one occurs.
func (*FakeMetricDescriptors) DeleteCollection ¶
func (c *FakeMetricDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMetricDescriptors) Get ¶
func (c *FakeMetricDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetricDescriptor, err error)
Get takes name of the metricDescriptor, and returns the corresponding metricDescriptor object, and an error if there is any.
func (*FakeMetricDescriptors) List ¶
func (c *FakeMetricDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetricDescriptorList, err error)
List takes label and field selectors, and returns the list of MetricDescriptors that match those selectors.
func (*FakeMetricDescriptors) Patch ¶
func (c *FakeMetricDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MetricDescriptor, err error)
Patch applies the patch and returns the patched metricDescriptor.
func (*FakeMetricDescriptors) Update ¶
func (c *FakeMetricDescriptors) Update(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.UpdateOptions) (result *v1alpha1.MetricDescriptor, err error)
Update takes the representation of a metricDescriptor and updates it. Returns the server's representation of the metricDescriptor, and an error, if there is any.
func (*FakeMetricDescriptors) UpdateStatus ¶
func (c *FakeMetricDescriptors) UpdateStatus(ctx context.Context, metricDescriptor *v1alpha1.MetricDescriptor, opts v1.UpdateOptions) (*v1alpha1.MetricDescriptor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMetricDescriptors) Watch ¶
func (c *FakeMetricDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested metricDescriptors.
type FakeMonitoringV1alpha1 ¶
func (*FakeMonitoringV1alpha1) AlertPolicies ¶
func (c *FakeMonitoringV1alpha1) AlertPolicies(namespace string) v1alpha1.AlertPolicyInterface
func (*FakeMonitoringV1alpha1) CustomServices ¶
func (c *FakeMonitoringV1alpha1) CustomServices(namespace string) v1alpha1.CustomServiceInterface
func (*FakeMonitoringV1alpha1) Dashboards ¶
func (c *FakeMonitoringV1alpha1) Dashboards(namespace string) v1alpha1.DashboardInterface
func (*FakeMonitoringV1alpha1) Groups ¶
func (c *FakeMonitoringV1alpha1) Groups(namespace string) v1alpha1.GroupInterface
func (*FakeMonitoringV1alpha1) MetricDescriptors ¶
func (c *FakeMonitoringV1alpha1) MetricDescriptors(namespace string) v1alpha1.MetricDescriptorInterface
func (*FakeMonitoringV1alpha1) NotificationChannels ¶
func (c *FakeMonitoringV1alpha1) NotificationChannels(namespace string) v1alpha1.NotificationChannelInterface
func (*FakeMonitoringV1alpha1) RESTClient ¶
func (c *FakeMonitoringV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMonitoringV1alpha1) Slos ¶
func (c *FakeMonitoringV1alpha1) Slos(namespace string) v1alpha1.SloInterface
func (*FakeMonitoringV1alpha1) UptimeCheckConfigs ¶
func (c *FakeMonitoringV1alpha1) UptimeCheckConfigs(namespace string) v1alpha1.UptimeCheckConfigInterface
type FakeNotificationChannels ¶
type FakeNotificationChannels struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeNotificationChannels implements NotificationChannelInterface
func (*FakeNotificationChannels) Create ¶
func (c *FakeNotificationChannels) Create(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.CreateOptions) (result *v1alpha1.NotificationChannel, err error)
Create takes the representation of a notificationChannel and creates it. Returns the server's representation of the notificationChannel, and an error, if there is any.
func (*FakeNotificationChannels) Delete ¶
func (c *FakeNotificationChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the notificationChannel and deletes it. Returns an error if one occurs.
func (*FakeNotificationChannels) DeleteCollection ¶
func (c *FakeNotificationChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNotificationChannels) Get ¶
func (c *FakeNotificationChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NotificationChannel, err error)
Get takes name of the notificationChannel, and returns the corresponding notificationChannel object, and an error if there is any.
func (*FakeNotificationChannels) List ¶
func (c *FakeNotificationChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NotificationChannelList, err error)
List takes label and field selectors, and returns the list of NotificationChannels that match those selectors.
func (*FakeNotificationChannels) Patch ¶
func (c *FakeNotificationChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NotificationChannel, err error)
Patch applies the patch and returns the patched notificationChannel.
func (*FakeNotificationChannels) Update ¶
func (c *FakeNotificationChannels) Update(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.UpdateOptions) (result *v1alpha1.NotificationChannel, err error)
Update takes the representation of a notificationChannel and updates it. Returns the server's representation of the notificationChannel, and an error, if there is any.
func (*FakeNotificationChannels) UpdateStatus ¶
func (c *FakeNotificationChannels) UpdateStatus(ctx context.Context, notificationChannel *v1alpha1.NotificationChannel, opts v1.UpdateOptions) (*v1alpha1.NotificationChannel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNotificationChannels) Watch ¶
func (c *FakeNotificationChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested notificationChannels.
type FakeSlos ¶
type FakeSlos struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeSlos implements SloInterface
func (*FakeSlos) Create ¶
func (c *FakeSlos) Create(ctx context.Context, slo *v1alpha1.Slo, opts v1.CreateOptions) (result *v1alpha1.Slo, err error)
Create takes the representation of a slo and creates it. Returns the server's representation of the slo, and an error, if there is any.
func (*FakeSlos) Delete ¶
Delete takes name of the slo and deletes it. Returns an error if one occurs.
func (*FakeSlos) DeleteCollection ¶
func (c *FakeSlos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSlos) Get ¶
func (c *FakeSlos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Slo, err error)
Get takes name of the slo, and returns the corresponding slo object, and an error if there is any.
func (*FakeSlos) List ¶
func (c *FakeSlos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SloList, err error)
List takes label and field selectors, and returns the list of Slos that match those selectors.
func (*FakeSlos) Patch ¶
func (c *FakeSlos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Slo, err error)
Patch applies the patch and returns the patched slo.
func (*FakeSlos) Update ¶
func (c *FakeSlos) Update(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (result *v1alpha1.Slo, err error)
Update takes the representation of a slo and updates it. Returns the server's representation of the slo, and an error, if there is any.
func (*FakeSlos) UpdateStatus ¶
func (c *FakeSlos) UpdateStatus(ctx context.Context, slo *v1alpha1.Slo, opts v1.UpdateOptions) (*v1alpha1.Slo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeUptimeCheckConfigs ¶
type FakeUptimeCheckConfigs struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeUptimeCheckConfigs implements UptimeCheckConfigInterface
func (*FakeUptimeCheckConfigs) Create ¶
func (c *FakeUptimeCheckConfigs) Create(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.CreateOptions) (result *v1alpha1.UptimeCheckConfig, err error)
Create takes the representation of a uptimeCheckConfig and creates it. Returns the server's representation of the uptimeCheckConfig, and an error, if there is any.
func (*FakeUptimeCheckConfigs) Delete ¶
func (c *FakeUptimeCheckConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the uptimeCheckConfig and deletes it. Returns an error if one occurs.
func (*FakeUptimeCheckConfigs) DeleteCollection ¶
func (c *FakeUptimeCheckConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUptimeCheckConfigs) Get ¶
func (c *FakeUptimeCheckConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UptimeCheckConfig, err error)
Get takes name of the uptimeCheckConfig, and returns the corresponding uptimeCheckConfig object, and an error if there is any.
func (*FakeUptimeCheckConfigs) List ¶
func (c *FakeUptimeCheckConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UptimeCheckConfigList, err error)
List takes label and field selectors, and returns the list of UptimeCheckConfigs that match those selectors.
func (*FakeUptimeCheckConfigs) Patch ¶
func (c *FakeUptimeCheckConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UptimeCheckConfig, err error)
Patch applies the patch and returns the patched uptimeCheckConfig.
func (*FakeUptimeCheckConfigs) Update ¶
func (c *FakeUptimeCheckConfigs) Update(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.UpdateOptions) (result *v1alpha1.UptimeCheckConfig, err error)
Update takes the representation of a uptimeCheckConfig and updates it. Returns the server's representation of the uptimeCheckConfig, and an error, if there is any.
func (*FakeUptimeCheckConfigs) UpdateStatus ¶
func (c *FakeUptimeCheckConfigs) UpdateStatus(ctx context.Context, uptimeCheckConfig *v1alpha1.UptimeCheckConfig, opts v1.UpdateOptions) (*v1alpha1.UptimeCheckConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUptimeCheckConfigs) Watch ¶
func (c *FakeUptimeCheckConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested uptimeCheckConfigs.