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 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 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 FakeMonitoringV1beta1
- func (c *FakeMonitoringV1beta1) MonitoringAlertPolicies(namespace string) v1beta1.MonitoringAlertPolicyInterface
- func (c *FakeMonitoringV1beta1) MonitoringGroups(namespace string) v1beta1.MonitoringGroupInterface
- func (c *FakeMonitoringV1beta1) MonitoringNotificationChannels(namespace string) v1beta1.MonitoringNotificationChannelInterface
- 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 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 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 FakeMonitoringV1beta1 ¶
func (*FakeMonitoringV1beta1) MonitoringAlertPolicies ¶
func (c *FakeMonitoringV1beta1) MonitoringAlertPolicies(namespace string) v1beta1.MonitoringAlertPolicyInterface
func (*FakeMonitoringV1beta1) MonitoringGroups ¶
func (c *FakeMonitoringV1beta1) MonitoringGroups(namespace string) v1beta1.MonitoringGroupInterface
func (*FakeMonitoringV1beta1) MonitoringNotificationChannels ¶
func (c *FakeMonitoringV1beta1) MonitoringNotificationChannels(namespace string) v1beta1.MonitoringNotificationChannelInterface
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.