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