Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMonitoringDefaultRules
- func (c *FakeMonitoringDefaultRules) Create(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, ...) (result *v1alpha1.MonitoringDefaultRule, err error)
- func (c *FakeMonitoringDefaultRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringDefaultRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringDefaultRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringDefaultRule, err error)
- func (c *FakeMonitoringDefaultRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringDefaultRuleList, err error)
- func (c *FakeMonitoringDefaultRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MonitoringDefaultRule, err error)
- func (c *FakeMonitoringDefaultRules) Update(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, ...) (result *v1alpha1.MonitoringDefaultRule, err error)
- func (c *FakeMonitoringDefaultRules) UpdateStatus(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, ...) (*v1alpha1.MonitoringDefaultRule, error)
- func (c *FakeMonitoringDefaultRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringFilters
- func (c *FakeMonitoringFilters) Create(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, ...) (result *v1alpha1.MonitoringFilter, err error)
- func (c *FakeMonitoringFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringFilter, err error)
- func (c *FakeMonitoringFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringFilterList, err error)
- func (c *FakeMonitoringFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MonitoringFilter, err error)
- func (c *FakeMonitoringFilters) Update(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, ...) (result *v1alpha1.MonitoringFilter, err error)
- func (c *FakeMonitoringFilters) UpdateStatus(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, ...) (*v1alpha1.MonitoringFilter, error)
- func (c *FakeMonitoringFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMonitoringRules
- func (c *FakeMonitoringRules) Create(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, ...) (result *v1alpha1.MonitoringRule, err error)
- func (c *FakeMonitoringRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMonitoringRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMonitoringRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringRule, err error)
- func (c *FakeMonitoringRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringRuleList, err error)
- func (c *FakeMonitoringRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MonitoringRule, err error)
- func (c *FakeMonitoringRules) Update(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, ...) (result *v1alpha1.MonitoringRule, err error)
- func (c *FakeMonitoringRules) UpdateStatus(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, ...) (*v1alpha1.MonitoringRule, error)
- func (c *FakeMonitoringRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityV1alpha1
- func (c *FakeSecurityV1alpha1) MonitoringDefaultRules(namespace string) v1alpha1.MonitoringDefaultRuleInterface
- func (c *FakeSecurityV1alpha1) MonitoringFilters(namespace string) v1alpha1.MonitoringFilterInterface
- func (c *FakeSecurityV1alpha1) MonitoringRules(namespace string) v1alpha1.MonitoringRuleInterface
- func (c *FakeSecurityV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMonitoringDefaultRules ¶
type FakeMonitoringDefaultRules struct { Fake *FakeSecurityV1alpha1 // contains filtered or unexported fields }
FakeMonitoringDefaultRules implements MonitoringDefaultRuleInterface
func (*FakeMonitoringDefaultRules) Create ¶
func (c *FakeMonitoringDefaultRules) Create(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, opts v1.CreateOptions) (result *v1alpha1.MonitoringDefaultRule, err error)
Create takes the representation of a monitoringDefaultRule and creates it. Returns the server's representation of the monitoringDefaultRule, and an error, if there is any.
func (*FakeMonitoringDefaultRules) Delete ¶
func (c *FakeMonitoringDefaultRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringDefaultRule and deletes it. Returns an error if one occurs.
func (*FakeMonitoringDefaultRules) DeleteCollection ¶
func (c *FakeMonitoringDefaultRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringDefaultRules) Get ¶
func (c *FakeMonitoringDefaultRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringDefaultRule, err error)
Get takes name of the monitoringDefaultRule, and returns the corresponding monitoringDefaultRule object, and an error if there is any.
func (*FakeMonitoringDefaultRules) List ¶
func (c *FakeMonitoringDefaultRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringDefaultRuleList, err error)
List takes label and field selectors, and returns the list of MonitoringDefaultRules that match those selectors.
func (*FakeMonitoringDefaultRules) Patch ¶
func (c *FakeMonitoringDefaultRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MonitoringDefaultRule, err error)
Patch applies the patch and returns the patched monitoringDefaultRule.
func (*FakeMonitoringDefaultRules) Update ¶
func (c *FakeMonitoringDefaultRules) Update(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, opts v1.UpdateOptions) (result *v1alpha1.MonitoringDefaultRule, err error)
Update takes the representation of a monitoringDefaultRule and updates it. Returns the server's representation of the monitoringDefaultRule, and an error, if there is any.
func (*FakeMonitoringDefaultRules) UpdateStatus ¶
func (c *FakeMonitoringDefaultRules) UpdateStatus(ctx context.Context, monitoringDefaultRule *v1alpha1.MonitoringDefaultRule, opts v1.UpdateOptions) (*v1alpha1.MonitoringDefaultRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringDefaultRules) Watch ¶
func (c *FakeMonitoringDefaultRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringDefaultRules.
type FakeMonitoringFilters ¶ added in v0.4.0
type FakeMonitoringFilters struct { Fake *FakeSecurityV1alpha1 // contains filtered or unexported fields }
FakeMonitoringFilters implements MonitoringFilterInterface
func (*FakeMonitoringFilters) Create ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Create(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, opts v1.CreateOptions) (result *v1alpha1.MonitoringFilter, err error)
Create takes the representation of a monitoringFilter and creates it. Returns the server's representation of the monitoringFilter, and an error, if there is any.
func (*FakeMonitoringFilters) Delete ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringFilter and deletes it. Returns an error if one occurs.
func (*FakeMonitoringFilters) DeleteCollection ¶ added in v0.4.0
func (c *FakeMonitoringFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringFilters) Get ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringFilter, err error)
Get takes name of the monitoringFilter, and returns the corresponding monitoringFilter object, and an error if there is any.
func (*FakeMonitoringFilters) List ¶ added in v0.4.0
func (c *FakeMonitoringFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringFilterList, err error)
List takes label and field selectors, and returns the list of MonitoringFilters that match those selectors.
func (*FakeMonitoringFilters) Patch ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MonitoringFilter, err error)
Patch applies the patch and returns the patched monitoringFilter.
func (*FakeMonitoringFilters) Update ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Update(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, opts v1.UpdateOptions) (result *v1alpha1.MonitoringFilter, err error)
Update takes the representation of a monitoringFilter and updates it. Returns the server's representation of the monitoringFilter, and an error, if there is any.
func (*FakeMonitoringFilters) UpdateStatus ¶ added in v0.4.0
func (c *FakeMonitoringFilters) UpdateStatus(ctx context.Context, monitoringFilter *v1alpha1.MonitoringFilter, opts v1.UpdateOptions) (*v1alpha1.MonitoringFilter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringFilters) Watch ¶ added in v0.4.0
func (c *FakeMonitoringFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringFilters.
type FakeMonitoringRules ¶
type FakeMonitoringRules struct { Fake *FakeSecurityV1alpha1 // contains filtered or unexported fields }
FakeMonitoringRules implements MonitoringRuleInterface
func (*FakeMonitoringRules) Create ¶
func (c *FakeMonitoringRules) Create(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, opts v1.CreateOptions) (result *v1alpha1.MonitoringRule, err error)
Create takes the representation of a monitoringRule and creates it. Returns the server's representation of the monitoringRule, and an error, if there is any.
func (*FakeMonitoringRules) Delete ¶
func (c *FakeMonitoringRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the monitoringRule and deletes it. Returns an error if one occurs.
func (*FakeMonitoringRules) DeleteCollection ¶
func (c *FakeMonitoringRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMonitoringRules) Get ¶
func (c *FakeMonitoringRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MonitoringRule, err error)
Get takes name of the monitoringRule, and returns the corresponding monitoringRule object, and an error if there is any.
func (*FakeMonitoringRules) List ¶
func (c *FakeMonitoringRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MonitoringRuleList, err error)
List takes label and field selectors, and returns the list of MonitoringRules that match those selectors.
func (*FakeMonitoringRules) Patch ¶
func (c *FakeMonitoringRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MonitoringRule, err error)
Patch applies the patch and returns the patched monitoringRule.
func (*FakeMonitoringRules) Update ¶
func (c *FakeMonitoringRules) Update(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, opts v1.UpdateOptions) (result *v1alpha1.MonitoringRule, err error)
Update takes the representation of a monitoringRule and updates it. Returns the server's representation of the monitoringRule, and an error, if there is any.
func (*FakeMonitoringRules) UpdateStatus ¶
func (c *FakeMonitoringRules) UpdateStatus(ctx context.Context, monitoringRule *v1alpha1.MonitoringRule, opts v1.UpdateOptions) (*v1alpha1.MonitoringRule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMonitoringRules) Watch ¶
func (c *FakeMonitoringRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested monitoringRules.
type FakeSecurityV1alpha1 ¶
func (*FakeSecurityV1alpha1) MonitoringDefaultRules ¶
func (c *FakeSecurityV1alpha1) MonitoringDefaultRules(namespace string) v1alpha1.MonitoringDefaultRuleInterface
func (*FakeSecurityV1alpha1) MonitoringFilters ¶ added in v0.4.0
func (c *FakeSecurityV1alpha1) MonitoringFilters(namespace string) v1alpha1.MonitoringFilterInterface
func (*FakeSecurityV1alpha1) MonitoringRules ¶
func (c *FakeSecurityV1alpha1) MonitoringRules(namespace string) v1alpha1.MonitoringRuleInterface
func (*FakeSecurityV1alpha1) RESTClient ¶
func (c *FakeSecurityV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.