Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMonitoringAlertPolicies
- func (c *FakeMonitoringAlertPolicies) Create(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, ...) (result *v1beta1.MonitoringAlertPolicy, err error)
- func (c *FakeMonitoringAlertPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringAlertPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringAlertPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringAlertPolicy, err error)
- func (c *FakeMonitoringAlertPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringAlertPolicyList, err error)
- func (c *FakeMonitoringAlertPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringAlertPolicy, err error)
- func (c *FakeMonitoringAlertPolicies) Update(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, ...) (result *v1beta1.MonitoringAlertPolicy, err error)
- func (c *FakeMonitoringAlertPolicies) UpdateStatus(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, ...) (*v1beta1.MonitoringAlertPolicy, error)
- func (c *FakeMonitoringAlertPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringDashboards
- func (c *FakeMonitoringDashboards) Create(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, ...) (result *v1beta1.MonitoringDashboard, err error)
- func (c *FakeMonitoringDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringDashboard, err error)
- func (c *FakeMonitoringDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringDashboardList, err error)
- func (c *FakeMonitoringDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringDashboard, err error)
- func (c *FakeMonitoringDashboards) Update(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, ...) (result *v1beta1.MonitoringDashboard, err error)
- func (c *FakeMonitoringDashboards) UpdateStatus(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, ...) (*v1beta1.MonitoringDashboard, error)
- func (c *FakeMonitoringDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringGroups
- func (c *FakeMonitoringGroups) Create(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, ...) (result *v1beta1.MonitoringGroup, err error)
- func (c *FakeMonitoringGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringGroup, err error)
- func (c *FakeMonitoringGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringGroupList, err error)
- func (c *FakeMonitoringGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringGroup, err error)
- func (c *FakeMonitoringGroups) Update(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, ...) (result *v1beta1.MonitoringGroup, err error)
- func (c *FakeMonitoringGroups) UpdateStatus(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, ...) (*v1beta1.MonitoringGroup, error)
- func (c *FakeMonitoringGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringMetricDescriptors
- func (c *FakeMonitoringMetricDescriptors) Create(ctx context.Context, ...) (result *v1beta1.MonitoringMetricDescriptor, err error)
- func (c *FakeMonitoringMetricDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringMetricDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringMetricDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringMetricDescriptor, err error)
- func (c *FakeMonitoringMetricDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringMetricDescriptorList, err error)
- func (c *FakeMonitoringMetricDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringMetricDescriptor, err error)
- func (c *FakeMonitoringMetricDescriptors) Update(ctx context.Context, ...) (result *v1beta1.MonitoringMetricDescriptor, err error)
- func (c *FakeMonitoringMetricDescriptors) UpdateStatus(ctx context.Context, ...) (*v1beta1.MonitoringMetricDescriptor, error)
- func (c *FakeMonitoringMetricDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringMonitoredProjects
- func (c *FakeMonitoringMonitoredProjects) Create(ctx context.Context, ...) (result *v1beta1.MonitoringMonitoredProject, err error)
- func (c *FakeMonitoringMonitoredProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringMonitoredProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringMonitoredProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringMonitoredProject, err error)
- func (c *FakeMonitoringMonitoredProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringMonitoredProjectList, err error)
- func (c *FakeMonitoringMonitoredProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringMonitoredProject, err error)
- func (c *FakeMonitoringMonitoredProjects) Update(ctx context.Context, ...) (result *v1beta1.MonitoringMonitoredProject, err error)
- func (c *FakeMonitoringMonitoredProjects) UpdateStatus(ctx context.Context, ...) (*v1beta1.MonitoringMonitoredProject, error)
- func (c *FakeMonitoringMonitoredProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringNotificationChannels
- func (c *FakeMonitoringNotificationChannels) Create(ctx context.Context, ...) (result *v1beta1.MonitoringNotificationChannel, err error)
- func (c *FakeMonitoringNotificationChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringNotificationChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringNotificationChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringNotificationChannel, err error)
- func (c *FakeMonitoringNotificationChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringNotificationChannelList, err error)
- func (c *FakeMonitoringNotificationChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringNotificationChannel, err error)
- func (c *FakeMonitoringNotificationChannels) Update(ctx context.Context, ...) (result *v1beta1.MonitoringNotificationChannel, err error)
- func (c *FakeMonitoringNotificationChannels) UpdateStatus(ctx context.Context, ...) (*v1beta1.MonitoringNotificationChannel, error)
- func (c *FakeMonitoringNotificationChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringServiceLevelObjectives
- func (c *FakeMonitoringServiceLevelObjectives) Create(ctx context.Context, ...) (result *v1beta1.MonitoringServiceLevelObjective, err error)
- func (c *FakeMonitoringServiceLevelObjectives) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringServiceLevelObjectives) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringServiceLevelObjectives) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringServiceLevelObjective, err error)
- func (c *FakeMonitoringServiceLevelObjectives) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringServiceLevelObjectiveList, err error)
- func (c *FakeMonitoringServiceLevelObjectives) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringServiceLevelObjective, err error)
- func (c *FakeMonitoringServiceLevelObjectives) Update(ctx context.Context, ...) (result *v1beta1.MonitoringServiceLevelObjective, err error)
- func (c *FakeMonitoringServiceLevelObjectives) UpdateStatus(ctx context.Context, ...) (*v1beta1.MonitoringServiceLevelObjective, error)
- func (c *FakeMonitoringServiceLevelObjectives) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringServices
- func (c *FakeMonitoringServices) Create(ctx context.Context, monitoringService *v1beta1.MonitoringService, ...) (result *v1beta1.MonitoringService, err error)
- func (c *FakeMonitoringServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringService, err error)
- func (c *FakeMonitoringServices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringServiceList, err error)
- func (c *FakeMonitoringServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringService, err error)
- func (c *FakeMonitoringServices) Update(ctx context.Context, monitoringService *v1beta1.MonitoringService, ...) (result *v1beta1.MonitoringService, err error)
- func (c *FakeMonitoringServices) UpdateStatus(ctx context.Context, monitoringService *v1beta1.MonitoringService, ...) (*v1beta1.MonitoringService, error)
- func (c *FakeMonitoringServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringUptimeCheckConfigs
- func (c *FakeMonitoringUptimeCheckConfigs) Create(ctx context.Context, ...) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
- func (c *FakeMonitoringUptimeCheckConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringUptimeCheckConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringUptimeCheckConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
- func (c *FakeMonitoringUptimeCheckConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringUptimeCheckConfigList, err error)
- func (c *FakeMonitoringUptimeCheckConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
- func (c *FakeMonitoringUptimeCheckConfigs) Update(ctx context.Context, ...) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
- func (c *FakeMonitoringUptimeCheckConfigs) UpdateStatus(ctx context.Context, ...) (*v1beta1.MonitoringUptimeCheckConfig, error)
- func (c *FakeMonitoringUptimeCheckConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringV1beta1
- func (c *FakeMonitoringV1beta1) MonitoringAlertPolicies(namespace string) v1beta1.MonitoringAlertPolicyInterface
- func (c *FakeMonitoringV1beta1) MonitoringDashboards(namespace string) v1beta1.MonitoringDashboardInterface
- func (c *FakeMonitoringV1beta1) MonitoringGroups(namespace string) v1beta1.MonitoringGroupInterface
- func (c *FakeMonitoringV1beta1) MonitoringMetricDescriptors(namespace string) v1beta1.MonitoringMetricDescriptorInterface
- func (c *FakeMonitoringV1beta1) MonitoringMonitoredProjects(namespace string) v1beta1.MonitoringMonitoredProjectInterface
- func (c *FakeMonitoringV1beta1) MonitoringNotificationChannels(namespace string) v1beta1.MonitoringNotificationChannelInterface
- func (c *FakeMonitoringV1beta1) MonitoringServiceLevelObjectives(namespace string) v1beta1.MonitoringServiceLevelObjectiveInterface
- func (c *FakeMonitoringV1beta1) MonitoringServices(namespace string) v1beta1.MonitoringServiceInterface
- func (c *FakeMonitoringV1beta1) MonitoringUptimeCheckConfigs(namespace string) v1beta1.MonitoringUptimeCheckConfigInterface
- func (c *FakeMonitoringV1beta1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMonitoringAlertPolicies ¶
type FakeMonitoringAlertPolicies struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringAlertPolicies implements MonitoringAlertPolicyInterface
func (*FakeMonitoringAlertPolicies) Create ¶
func (c *FakeMonitoringAlertPolicies) Create(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, opts v1.CreateOptions) (result *v1beta1.MonitoringAlertPolicy, err error)
Create takes the representation of a monitoringAlertPolicy and creates it. Returns the server's representation of the monitoringAlertPolicy, and an error, if there is any.
func (*FakeMonitoringAlertPolicies) Delete ¶
func (c *FakeMonitoringAlertPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringAlertPolicy and deletes it. Returns an error if one occurs.
func (*FakeMonitoringAlertPolicies) DeleteCollection ¶
func (c *FakeMonitoringAlertPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringAlertPolicies) Get ¶
func (c *FakeMonitoringAlertPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringAlertPolicy, err error)
Get takes name of the monitoringAlertPolicy, and returns the corresponding monitoringAlertPolicy object, and an error if there is any.
func (*FakeMonitoringAlertPolicies) List ¶
func (c *FakeMonitoringAlertPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringAlertPolicyList, err error)
List takes label and field selectors, and returns the list of MonitoringAlertPolicies that match those selectors.
func (*FakeMonitoringAlertPolicies) Patch ¶
func (c *FakeMonitoringAlertPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringAlertPolicy, err error)
Patch applies the patch and returns the patched monitoringAlertPolicy.
func (*FakeMonitoringAlertPolicies) Update ¶
func (c *FakeMonitoringAlertPolicies) Update(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, opts v1.UpdateOptions) (result *v1beta1.MonitoringAlertPolicy, err error)
Update takes the representation of a monitoringAlertPolicy and updates it. Returns the server's representation of the monitoringAlertPolicy, and an error, if there is any.
func (*FakeMonitoringAlertPolicies) UpdateStatus ¶
func (c *FakeMonitoringAlertPolicies) UpdateStatus(ctx context.Context, monitoringAlertPolicy *v1beta1.MonitoringAlertPolicy, opts v1.UpdateOptions) (*v1beta1.MonitoringAlertPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringAlertPolicies) Watch ¶
func (c *FakeMonitoringAlertPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringAlertPolicies.
type FakeMonitoringDashboards ¶
type FakeMonitoringDashboards struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringDashboards implements MonitoringDashboardInterface
func (*FakeMonitoringDashboards) Create ¶
func (c *FakeMonitoringDashboards) Create(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, opts v1.CreateOptions) (result *v1beta1.MonitoringDashboard, err error)
Create takes the representation of a monitoringDashboard and creates it. Returns the server's representation of the monitoringDashboard, and an error, if there is any.
func (*FakeMonitoringDashboards) Delete ¶
func (c *FakeMonitoringDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringDashboard and deletes it. Returns an error if one occurs.
func (*FakeMonitoringDashboards) DeleteCollection ¶
func (c *FakeMonitoringDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringDashboards) Get ¶
func (c *FakeMonitoringDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringDashboard, err error)
Get takes name of the monitoringDashboard, and returns the corresponding monitoringDashboard object, and an error if there is any.
func (*FakeMonitoringDashboards) List ¶
func (c *FakeMonitoringDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringDashboardList, err error)
List takes label and field selectors, and returns the list of MonitoringDashboards that match those selectors.
func (*FakeMonitoringDashboards) Patch ¶
func (c *FakeMonitoringDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringDashboard, err error)
Patch applies the patch and returns the patched monitoringDashboard.
func (*FakeMonitoringDashboards) Update ¶
func (c *FakeMonitoringDashboards) Update(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, opts v1.UpdateOptions) (result *v1beta1.MonitoringDashboard, err error)
Update takes the representation of a monitoringDashboard and updates it. Returns the server's representation of the monitoringDashboard, and an error, if there is any.
func (*FakeMonitoringDashboards) UpdateStatus ¶
func (c *FakeMonitoringDashboards) UpdateStatus(ctx context.Context, monitoringDashboard *v1beta1.MonitoringDashboard, opts v1.UpdateOptions) (*v1beta1.MonitoringDashboard, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringDashboards) Watch ¶
func (c *FakeMonitoringDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringDashboards.
type FakeMonitoringGroups ¶
type FakeMonitoringGroups struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringGroups implements MonitoringGroupInterface
func (*FakeMonitoringGroups) Create ¶
func (c *FakeMonitoringGroups) Create(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.CreateOptions) (result *v1beta1.MonitoringGroup, err error)
Create takes the representation of a monitoringGroup and creates it. Returns the server's representation of the monitoringGroup, and an error, if there is any.
func (*FakeMonitoringGroups) Delete ¶
func (c *FakeMonitoringGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringGroup and deletes it. Returns an error if one occurs.
func (*FakeMonitoringGroups) DeleteCollection ¶
func (c *FakeMonitoringGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringGroups) Get ¶
func (c *FakeMonitoringGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringGroup, err error)
Get takes name of the monitoringGroup, and returns the corresponding monitoringGroup object, and an error if there is any.
func (*FakeMonitoringGroups) List ¶
func (c *FakeMonitoringGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringGroupList, err error)
List takes label and field selectors, and returns the list of MonitoringGroups that match those selectors.
func (*FakeMonitoringGroups) Patch ¶
func (c *FakeMonitoringGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringGroup, err error)
Patch applies the patch and returns the patched monitoringGroup.
func (*FakeMonitoringGroups) Update ¶
func (c *FakeMonitoringGroups) Update(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.UpdateOptions) (result *v1beta1.MonitoringGroup, err error)
Update takes the representation of a monitoringGroup and updates it. Returns the server's representation of the monitoringGroup, and an error, if there is any.
func (*FakeMonitoringGroups) UpdateStatus ¶
func (c *FakeMonitoringGroups) UpdateStatus(ctx context.Context, monitoringGroup *v1beta1.MonitoringGroup, opts v1.UpdateOptions) (*v1beta1.MonitoringGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringGroups) Watch ¶
func (c *FakeMonitoringGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringGroups.
type FakeMonitoringMetricDescriptors ¶
type FakeMonitoringMetricDescriptors struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringMetricDescriptors implements MonitoringMetricDescriptorInterface
func (*FakeMonitoringMetricDescriptors) Create ¶
func (c *FakeMonitoringMetricDescriptors) Create(ctx context.Context, monitoringMetricDescriptor *v1beta1.MonitoringMetricDescriptor, opts v1.CreateOptions) (result *v1beta1.MonitoringMetricDescriptor, err error)
Create takes the representation of a monitoringMetricDescriptor and creates it. Returns the server's representation of the monitoringMetricDescriptor, and an error, if there is any.
func (*FakeMonitoringMetricDescriptors) Delete ¶
func (c *FakeMonitoringMetricDescriptors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringMetricDescriptor and deletes it. Returns an error if one occurs.
func (*FakeMonitoringMetricDescriptors) DeleteCollection ¶
func (c *FakeMonitoringMetricDescriptors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringMetricDescriptors) Get ¶
func (c *FakeMonitoringMetricDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringMetricDescriptor, err error)
Get takes name of the monitoringMetricDescriptor, and returns the corresponding monitoringMetricDescriptor object, and an error if there is any.
func (*FakeMonitoringMetricDescriptors) List ¶
func (c *FakeMonitoringMetricDescriptors) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringMetricDescriptorList, err error)
List takes label and field selectors, and returns the list of MonitoringMetricDescriptors that match those selectors.
func (*FakeMonitoringMetricDescriptors) Patch ¶
func (c *FakeMonitoringMetricDescriptors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringMetricDescriptor, err error)
Patch applies the patch and returns the patched monitoringMetricDescriptor.
func (*FakeMonitoringMetricDescriptors) Update ¶
func (c *FakeMonitoringMetricDescriptors) Update(ctx context.Context, monitoringMetricDescriptor *v1beta1.MonitoringMetricDescriptor, opts v1.UpdateOptions) (result *v1beta1.MonitoringMetricDescriptor, err error)
Update takes the representation of a monitoringMetricDescriptor and updates it. Returns the server's representation of the monitoringMetricDescriptor, and an error, if there is any.
func (*FakeMonitoringMetricDescriptors) UpdateStatus ¶
func (c *FakeMonitoringMetricDescriptors) UpdateStatus(ctx context.Context, monitoringMetricDescriptor *v1beta1.MonitoringMetricDescriptor, opts v1.UpdateOptions) (*v1beta1.MonitoringMetricDescriptor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringMetricDescriptors) Watch ¶
func (c *FakeMonitoringMetricDescriptors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringMetricDescriptors.
type FakeMonitoringMonitoredProjects ¶ added in v1.79.0
type FakeMonitoringMonitoredProjects struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringMonitoredProjects implements MonitoringMonitoredProjectInterface
func (*FakeMonitoringMonitoredProjects) Create ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Create(ctx context.Context, monitoringMonitoredProject *v1beta1.MonitoringMonitoredProject, opts v1.CreateOptions) (result *v1beta1.MonitoringMonitoredProject, err error)
Create takes the representation of a monitoringMonitoredProject and creates it. Returns the server's representation of the monitoringMonitoredProject, and an error, if there is any.
func (*FakeMonitoringMonitoredProjects) Delete ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringMonitoredProject and deletes it. Returns an error if one occurs.
func (*FakeMonitoringMonitoredProjects) DeleteCollection ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringMonitoredProjects) Get ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringMonitoredProject, err error)
Get takes name of the monitoringMonitoredProject, and returns the corresponding monitoringMonitoredProject object, and an error if there is any.
func (*FakeMonitoringMonitoredProjects) List ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringMonitoredProjectList, err error)
List takes label and field selectors, and returns the list of MonitoringMonitoredProjects that match those selectors.
func (*FakeMonitoringMonitoredProjects) Patch ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringMonitoredProject, err error)
Patch applies the patch and returns the patched monitoringMonitoredProject.
func (*FakeMonitoringMonitoredProjects) Update ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Update(ctx context.Context, monitoringMonitoredProject *v1beta1.MonitoringMonitoredProject, opts v1.UpdateOptions) (result *v1beta1.MonitoringMonitoredProject, err error)
Update takes the representation of a monitoringMonitoredProject and updates it. Returns the server's representation of the monitoringMonitoredProject, and an error, if there is any.
func (*FakeMonitoringMonitoredProjects) UpdateStatus ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) UpdateStatus(ctx context.Context, monitoringMonitoredProject *v1beta1.MonitoringMonitoredProject, opts v1.UpdateOptions) (*v1beta1.MonitoringMonitoredProject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringMonitoredProjects) Watch ¶ added in v1.79.0
func (c *FakeMonitoringMonitoredProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringMonitoredProjects.
type FakeMonitoringNotificationChannels ¶
type FakeMonitoringNotificationChannels struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringNotificationChannels implements MonitoringNotificationChannelInterface
func (*FakeMonitoringNotificationChannels) Create ¶
func (c *FakeMonitoringNotificationChannels) Create(ctx context.Context, monitoringNotificationChannel *v1beta1.MonitoringNotificationChannel, opts v1.CreateOptions) (result *v1beta1.MonitoringNotificationChannel, err error)
Create takes the representation of a monitoringNotificationChannel and creates it. Returns the server's representation of the monitoringNotificationChannel, and an error, if there is any.
func (*FakeMonitoringNotificationChannels) Delete ¶
func (c *FakeMonitoringNotificationChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringNotificationChannel and deletes it. Returns an error if one occurs.
func (*FakeMonitoringNotificationChannels) DeleteCollection ¶
func (c *FakeMonitoringNotificationChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringNotificationChannels) Get ¶
func (c *FakeMonitoringNotificationChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringNotificationChannel, err error)
Get takes name of the monitoringNotificationChannel, and returns the corresponding monitoringNotificationChannel object, and an error if there is any.
func (*FakeMonitoringNotificationChannels) List ¶
func (c *FakeMonitoringNotificationChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringNotificationChannelList, err error)
List takes label and field selectors, and returns the list of MonitoringNotificationChannels that match those selectors.
func (*FakeMonitoringNotificationChannels) Patch ¶
func (c *FakeMonitoringNotificationChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringNotificationChannel, err error)
Patch applies the patch and returns the patched monitoringNotificationChannel.
func (*FakeMonitoringNotificationChannels) Update ¶
func (c *FakeMonitoringNotificationChannels) Update(ctx context.Context, monitoringNotificationChannel *v1beta1.MonitoringNotificationChannel, opts v1.UpdateOptions) (result *v1beta1.MonitoringNotificationChannel, err error)
Update takes the representation of a monitoringNotificationChannel and updates it. Returns the server's representation of the monitoringNotificationChannel, and an error, if there is any.
func (*FakeMonitoringNotificationChannels) UpdateStatus ¶
func (c *FakeMonitoringNotificationChannels) UpdateStatus(ctx context.Context, monitoringNotificationChannel *v1beta1.MonitoringNotificationChannel, opts v1.UpdateOptions) (*v1beta1.MonitoringNotificationChannel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringNotificationChannels) Watch ¶
func (c *FakeMonitoringNotificationChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringNotificationChannels.
type FakeMonitoringServiceLevelObjectives ¶
type FakeMonitoringServiceLevelObjectives struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringServiceLevelObjectives implements MonitoringServiceLevelObjectiveInterface
func (*FakeMonitoringServiceLevelObjectives) Create ¶
func (c *FakeMonitoringServiceLevelObjectives) Create(ctx context.Context, monitoringServiceLevelObjective *v1beta1.MonitoringServiceLevelObjective, opts v1.CreateOptions) (result *v1beta1.MonitoringServiceLevelObjective, err error)
Create takes the representation of a monitoringServiceLevelObjective and creates it. Returns the server's representation of the monitoringServiceLevelObjective, and an error, if there is any.
func (*FakeMonitoringServiceLevelObjectives) Delete ¶
func (c *FakeMonitoringServiceLevelObjectives) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringServiceLevelObjective and deletes it. Returns an error if one occurs.
func (*FakeMonitoringServiceLevelObjectives) DeleteCollection ¶
func (c *FakeMonitoringServiceLevelObjectives) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringServiceLevelObjectives) Get ¶
func (c *FakeMonitoringServiceLevelObjectives) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringServiceLevelObjective, err error)
Get takes name of the monitoringServiceLevelObjective, and returns the corresponding monitoringServiceLevelObjective object, and an error if there is any.
func (*FakeMonitoringServiceLevelObjectives) List ¶
func (c *FakeMonitoringServiceLevelObjectives) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringServiceLevelObjectiveList, err error)
List takes label and field selectors, and returns the list of MonitoringServiceLevelObjectives that match those selectors.
func (*FakeMonitoringServiceLevelObjectives) Patch ¶
func (c *FakeMonitoringServiceLevelObjectives) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringServiceLevelObjective, err error)
Patch applies the patch and returns the patched monitoringServiceLevelObjective.
func (*FakeMonitoringServiceLevelObjectives) Update ¶
func (c *FakeMonitoringServiceLevelObjectives) Update(ctx context.Context, monitoringServiceLevelObjective *v1beta1.MonitoringServiceLevelObjective, opts v1.UpdateOptions) (result *v1beta1.MonitoringServiceLevelObjective, err error)
Update takes the representation of a monitoringServiceLevelObjective and updates it. Returns the server's representation of the monitoringServiceLevelObjective, and an error, if there is any.
func (*FakeMonitoringServiceLevelObjectives) UpdateStatus ¶
func (c *FakeMonitoringServiceLevelObjectives) UpdateStatus(ctx context.Context, monitoringServiceLevelObjective *v1beta1.MonitoringServiceLevelObjective, opts v1.UpdateOptions) (*v1beta1.MonitoringServiceLevelObjective, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringServiceLevelObjectives) Watch ¶
func (c *FakeMonitoringServiceLevelObjectives) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringServiceLevelObjectives.
type FakeMonitoringServices ¶
type FakeMonitoringServices struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringServices implements MonitoringServiceInterface
func (*FakeMonitoringServices) Create ¶
func (c *FakeMonitoringServices) Create(ctx context.Context, monitoringService *v1beta1.MonitoringService, opts v1.CreateOptions) (result *v1beta1.MonitoringService, err error)
Create takes the representation of a monitoringService and creates it. Returns the server's representation of the monitoringService, and an error, if there is any.
func (*FakeMonitoringServices) Delete ¶
func (c *FakeMonitoringServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringService and deletes it. Returns an error if one occurs.
func (*FakeMonitoringServices) DeleteCollection ¶
func (c *FakeMonitoringServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringServices) Get ¶
func (c *FakeMonitoringServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringService, err error)
Get takes name of the monitoringService, and returns the corresponding monitoringService object, and an error if there is any.
func (*FakeMonitoringServices) List ¶
func (c *FakeMonitoringServices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringServiceList, err error)
List takes label and field selectors, and returns the list of MonitoringServices that match those selectors.
func (*FakeMonitoringServices) Patch ¶
func (c *FakeMonitoringServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringService, err error)
Patch applies the patch and returns the patched monitoringService.
func (*FakeMonitoringServices) Update ¶
func (c *FakeMonitoringServices) Update(ctx context.Context, monitoringService *v1beta1.MonitoringService, opts v1.UpdateOptions) (result *v1beta1.MonitoringService, err error)
Update takes the representation of a monitoringService and updates it. Returns the server's representation of the monitoringService, and an error, if there is any.
func (*FakeMonitoringServices) UpdateStatus ¶
func (c *FakeMonitoringServices) UpdateStatus(ctx context.Context, monitoringService *v1beta1.MonitoringService, opts v1.UpdateOptions) (*v1beta1.MonitoringService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringServices) Watch ¶
func (c *FakeMonitoringServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringServices.
type FakeMonitoringUptimeCheckConfigs ¶
type FakeMonitoringUptimeCheckConfigs struct { Fake *FakeMonitoringV1beta1 // contains filtered or unexported fields }
FakeMonitoringUptimeCheckConfigs implements MonitoringUptimeCheckConfigInterface
func (*FakeMonitoringUptimeCheckConfigs) Create ¶
func (c *FakeMonitoringUptimeCheckConfigs) Create(ctx context.Context, monitoringUptimeCheckConfig *v1beta1.MonitoringUptimeCheckConfig, opts v1.CreateOptions) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
Create takes the representation of a monitoringUptimeCheckConfig and creates it. Returns the server's representation of the monitoringUptimeCheckConfig, and an error, if there is any.
func (*FakeMonitoringUptimeCheckConfigs) Delete ¶
func (c *FakeMonitoringUptimeCheckConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringUptimeCheckConfig and deletes it. Returns an error if one occurs.
func (*FakeMonitoringUptimeCheckConfigs) DeleteCollection ¶
func (c *FakeMonitoringUptimeCheckConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringUptimeCheckConfigs) Get ¶
func (c *FakeMonitoringUptimeCheckConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
Get takes name of the monitoringUptimeCheckConfig, and returns the corresponding monitoringUptimeCheckConfig object, and an error if there is any.
func (*FakeMonitoringUptimeCheckConfigs) List ¶
func (c *FakeMonitoringUptimeCheckConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.MonitoringUptimeCheckConfigList, err error)
List takes label and field selectors, and returns the list of MonitoringUptimeCheckConfigs that match those selectors.
func (*FakeMonitoringUptimeCheckConfigs) Patch ¶
func (c *FakeMonitoringUptimeCheckConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
Patch applies the patch and returns the patched monitoringUptimeCheckConfig.
func (*FakeMonitoringUptimeCheckConfigs) Update ¶
func (c *FakeMonitoringUptimeCheckConfigs) Update(ctx context.Context, monitoringUptimeCheckConfig *v1beta1.MonitoringUptimeCheckConfig, opts v1.UpdateOptions) (result *v1beta1.MonitoringUptimeCheckConfig, err error)
Update takes the representation of a monitoringUptimeCheckConfig and updates it. Returns the server's representation of the monitoringUptimeCheckConfig, and an error, if there is any.
func (*FakeMonitoringUptimeCheckConfigs) UpdateStatus ¶
func (c *FakeMonitoringUptimeCheckConfigs) UpdateStatus(ctx context.Context, monitoringUptimeCheckConfig *v1beta1.MonitoringUptimeCheckConfig, opts v1.UpdateOptions) (*v1beta1.MonitoringUptimeCheckConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringUptimeCheckConfigs) Watch ¶
func (c *FakeMonitoringUptimeCheckConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringUptimeCheckConfigs.
type FakeMonitoringV1beta1 ¶
func (*FakeMonitoringV1beta1) MonitoringAlertPolicies ¶
func (c *FakeMonitoringV1beta1) MonitoringAlertPolicies(namespace string) v1beta1.MonitoringAlertPolicyInterface
func (*FakeMonitoringV1beta1) MonitoringDashboards ¶
func (c *FakeMonitoringV1beta1) MonitoringDashboards(namespace string) v1beta1.MonitoringDashboardInterface
func (*FakeMonitoringV1beta1) MonitoringGroups ¶
func (c *FakeMonitoringV1beta1) MonitoringGroups(namespace string) v1beta1.MonitoringGroupInterface
func (*FakeMonitoringV1beta1) MonitoringMetricDescriptors ¶
func (c *FakeMonitoringV1beta1) MonitoringMetricDescriptors(namespace string) v1beta1.MonitoringMetricDescriptorInterface
func (*FakeMonitoringV1beta1) MonitoringMonitoredProjects ¶ added in v1.79.0
func (c *FakeMonitoringV1beta1) MonitoringMonitoredProjects(namespace string) v1beta1.MonitoringMonitoredProjectInterface
func (*FakeMonitoringV1beta1) MonitoringNotificationChannels ¶
func (c *FakeMonitoringV1beta1) MonitoringNotificationChannels(namespace string) v1beta1.MonitoringNotificationChannelInterface
func (*FakeMonitoringV1beta1) MonitoringServiceLevelObjectives ¶
func (c *FakeMonitoringV1beta1) MonitoringServiceLevelObjectives(namespace string) v1beta1.MonitoringServiceLevelObjectiveInterface
func (*FakeMonitoringV1beta1) MonitoringServices ¶
func (c *FakeMonitoringV1beta1) MonitoringServices(namespace string) v1beta1.MonitoringServiceInterface
func (*FakeMonitoringV1beta1) MonitoringUptimeCheckConfigs ¶
func (c *FakeMonitoringV1beta1) MonitoringUptimeCheckConfigs(namespace string) v1beta1.MonitoringUptimeCheckConfigInterface
func (*FakeMonitoringV1beta1) RESTClient ¶
func (c *FakeMonitoringV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
Source Files ¶
- doc.go
- fake_monitoring_client.go
- fake_monitoringalertpolicy.go
- fake_monitoringdashboard.go
- fake_monitoringgroup.go
- fake_monitoringmetricdescriptor.go
- fake_monitoringmonitoredproject.go
- fake_monitoringnotificationchannel.go
- fake_monitoringservice.go
- fake_monitoringservicelevelobjective.go
- fake_monitoringuptimecheckconfig.go