Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMetricsConfigurations
- func (c *FakeMetricsConfigurations) Create(ctx context.Context, metricsConfiguration *v1alpha1.MetricsConfiguration, ...) (result *v1alpha1.MetricsConfiguration, err error)
- func (c *FakeMetricsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMetricsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMetricsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetricsConfiguration, err error)
- func (c *FakeMetricsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetricsConfigurationList, err error)
- func (c *FakeMetricsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MetricsConfiguration, err error)
- func (c *FakeMetricsConfigurations) Update(ctx context.Context, metricsConfiguration *v1alpha1.MetricsConfiguration, ...) (result *v1alpha1.MetricsConfiguration, err error)
- func (c *FakeMetricsConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMetricsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMetricsConfigurations ¶
type FakeMetricsConfigurations struct {
Fake *FakeMetricsV1alpha1
}
FakeMetricsConfigurations implements MetricsConfigurationInterface
func (*FakeMetricsConfigurations) Create ¶
func (c *FakeMetricsConfigurations) Create(ctx context.Context, metricsConfiguration *v1alpha1.MetricsConfiguration, opts v1.CreateOptions) (result *v1alpha1.MetricsConfiguration, err error)
Create takes the representation of a metricsConfiguration and creates it. Returns the server's representation of the metricsConfiguration, and an error, if there is any.
func (*FakeMetricsConfigurations) Delete ¶
func (c *FakeMetricsConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the metricsConfiguration and deletes it. Returns an error if one occurs.
func (*FakeMetricsConfigurations) DeleteCollection ¶
func (c *FakeMetricsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMetricsConfigurations) Get ¶
func (c *FakeMetricsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MetricsConfiguration, err error)
Get takes name of the metricsConfiguration, and returns the corresponding metricsConfiguration object, and an error if there is any.
func (*FakeMetricsConfigurations) List ¶
func (c *FakeMetricsConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MetricsConfigurationList, err error)
List takes label and field selectors, and returns the list of MetricsConfigurations that match those selectors.
func (*FakeMetricsConfigurations) Patch ¶
func (c *FakeMetricsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MetricsConfiguration, err error)
Patch applies the patch and returns the patched metricsConfiguration.
func (*FakeMetricsConfigurations) Update ¶
func (c *FakeMetricsConfigurations) Update(ctx context.Context, metricsConfiguration *v1alpha1.MetricsConfiguration, opts v1.UpdateOptions) (result *v1alpha1.MetricsConfiguration, err error)
Update takes the representation of a metricsConfiguration and updates it. Returns the server's representation of the metricsConfiguration, and an error, if there is any.
func (*FakeMetricsConfigurations) Watch ¶
func (c *FakeMetricsConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested metricsConfigurations.
type FakeMetricsV1alpha1 ¶
func (*FakeMetricsV1alpha1) MetricsConfigurations ¶
func (c *FakeMetricsV1alpha1) MetricsConfigurations() v1alpha1.MetricsConfigurationInterface
func (*FakeMetricsV1alpha1) RESTClient ¶
func (c *FakeMetricsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.