Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAlertRelabelConfigs
- func (c *FakeAlertRelabelConfigs) Apply(ctx context.Context, ...) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) Create(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, ...) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlertRelabelConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlertRelabelConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertRelabelConfigList, err error)
- func (c *FakeAlertRelabelConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) Update(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, ...) (result *v1alpha1.AlertRelabelConfig, err error)
- func (c *FakeAlertRelabelConfigs) UpdateStatus(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, ...) (*v1alpha1.AlertRelabelConfig, error)
- func (c *FakeAlertRelabelConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAlertingRules
- func (c *FakeAlertingRules) Apply(ctx context.Context, ...) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) Create(ctx context.Context, alertingRule *v1alpha1.AlertingRule, ...) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlertingRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlertingRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertingRuleList, err error)
- func (c *FakeAlertingRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) Update(ctx context.Context, alertingRule *v1alpha1.AlertingRule, ...) (result *v1alpha1.AlertingRule, err error)
- func (c *FakeAlertingRules) UpdateStatus(ctx context.Context, alertingRule *v1alpha1.AlertingRule, ...) (*v1alpha1.AlertingRule, error)
- func (c *FakeAlertingRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAlertRelabelConfigs ¶
type FakeAlertRelabelConfigs struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeAlertRelabelConfigs implements AlertRelabelConfigInterface
func (*FakeAlertRelabelConfigs) Apply ¶
func (c *FakeAlertRelabelConfigs) Apply(ctx context.Context, alertRelabelConfig *monitoringv1alpha1.AlertRelabelConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AlertRelabelConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied alertRelabelConfig.
func (*FakeAlertRelabelConfigs) ApplyStatus ¶
func (c *FakeAlertRelabelConfigs) ApplyStatus(ctx context.Context, alertRelabelConfig *monitoringv1alpha1.AlertRelabelConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AlertRelabelConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeAlertRelabelConfigs) Create ¶
func (c *FakeAlertRelabelConfigs) Create(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, opts v1.CreateOptions) (result *v1alpha1.AlertRelabelConfig, err error)
Create takes the representation of a alertRelabelConfig and creates it. Returns the server's representation of the alertRelabelConfig, and an error, if there is any.
func (*FakeAlertRelabelConfigs) Delete ¶
func (c *FakeAlertRelabelConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alertRelabelConfig and deletes it. Returns an error if one occurs.
func (*FakeAlertRelabelConfigs) DeleteCollection ¶
func (c *FakeAlertRelabelConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlertRelabelConfigs) Get ¶
func (c *FakeAlertRelabelConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertRelabelConfig, err error)
Get takes name of the alertRelabelConfig, and returns the corresponding alertRelabelConfig object, and an error if there is any.
func (*FakeAlertRelabelConfigs) List ¶
func (c *FakeAlertRelabelConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertRelabelConfigList, err error)
List takes label and field selectors, and returns the list of AlertRelabelConfigs that match those selectors.
func (*FakeAlertRelabelConfigs) Patch ¶
func (c *FakeAlertRelabelConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AlertRelabelConfig, err error)
Patch applies the patch and returns the patched alertRelabelConfig.
func (*FakeAlertRelabelConfigs) Update ¶
func (c *FakeAlertRelabelConfigs) Update(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, opts v1.UpdateOptions) (result *v1alpha1.AlertRelabelConfig, err error)
Update takes the representation of a alertRelabelConfig and updates it. Returns the server's representation of the alertRelabelConfig, and an error, if there is any.
func (*FakeAlertRelabelConfigs) UpdateStatus ¶
func (c *FakeAlertRelabelConfigs) UpdateStatus(ctx context.Context, alertRelabelConfig *v1alpha1.AlertRelabelConfig, opts v1.UpdateOptions) (*v1alpha1.AlertRelabelConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlertRelabelConfigs) Watch ¶
func (c *FakeAlertRelabelConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alertRelabelConfigs.
type FakeAlertingRules ¶
type FakeAlertingRules struct { Fake *FakeMonitoringV1alpha1 // contains filtered or unexported fields }
FakeAlertingRules implements AlertingRuleInterface
func (*FakeAlertingRules) Apply ¶
func (c *FakeAlertingRules) Apply(ctx context.Context, alertingRule *monitoringv1alpha1.AlertingRuleApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AlertingRule, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied alertingRule.
func (*FakeAlertingRules) ApplyStatus ¶
func (c *FakeAlertingRules) ApplyStatus(ctx context.Context, alertingRule *monitoringv1alpha1.AlertingRuleApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AlertingRule, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeAlertingRules) Create ¶
func (c *FakeAlertingRules) Create(ctx context.Context, alertingRule *v1alpha1.AlertingRule, opts v1.CreateOptions) (result *v1alpha1.AlertingRule, err error)
Create takes the representation of a alertingRule and creates it. Returns the server's representation of the alertingRule, and an error, if there is any.
func (*FakeAlertingRules) Delete ¶
func (c *FakeAlertingRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alertingRule and deletes it. Returns an error if one occurs.
func (*FakeAlertingRules) DeleteCollection ¶
func (c *FakeAlertingRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlertingRules) Get ¶
func (c *FakeAlertingRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AlertingRule, err error)
Get takes name of the alertingRule, and returns the corresponding alertingRule object, and an error if there is any.
func (*FakeAlertingRules) List ¶
func (c *FakeAlertingRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AlertingRuleList, err error)
List takes label and field selectors, and returns the list of AlertingRules that match those selectors.
func (*FakeAlertingRules) Patch ¶
func (c *FakeAlertingRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AlertingRule, err error)
Patch applies the patch and returns the patched alertingRule.
func (*FakeAlertingRules) Update ¶
func (c *FakeAlertingRules) Update(ctx context.Context, alertingRule *v1alpha1.AlertingRule, opts v1.UpdateOptions) (result *v1alpha1.AlertingRule, err error)
Update takes the representation of a alertingRule and updates it. Returns the server's representation of the alertingRule, and an error, if there is any.
func (*FakeAlertingRules) UpdateStatus ¶
func (c *FakeAlertingRules) UpdateStatus(ctx context.Context, alertingRule *v1alpha1.AlertingRule, opts v1.UpdateOptions) (*v1alpha1.AlertingRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlertingRules) Watch ¶
func (c *FakeAlertingRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alertingRules.
type FakeMonitoringV1alpha1 ¶
func (*FakeMonitoringV1alpha1) AlertRelabelConfigs ¶
func (c *FakeMonitoringV1alpha1) AlertRelabelConfigs(namespace string) v1alpha1.AlertRelabelConfigInterface
func (*FakeMonitoringV1alpha1) AlertingRules ¶
func (c *FakeMonitoringV1alpha1) AlertingRules(namespace string) v1alpha1.AlertingRuleInterface
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.