Documentation

Overview

    Package fake has the automatically generated clients.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type FakeControllerV1

    type FakeControllerV1 struct {
    	*testing.Fake
    }

    func (*FakeControllerV1) GrafanaDashboards

    func (c *FakeControllerV1) GrafanaDashboards(namespace string) v1.GrafanaDashboardInterface

    func (*FakeControllerV1) RESTClient

    func (c *FakeControllerV1) RESTClient() rest.Interface

      RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

      type FakeGrafanaDashboards

      type FakeGrafanaDashboards struct {
      	Fake *FakeControllerV1
      	// contains filtered or unexported fields
      }

        FakeGrafanaDashboards implements GrafanaDashboardInterface

        func (*FakeGrafanaDashboards) Create

          Create takes the representation of a grafanaDashboard and creates it. Returns the server's representation of the grafanaDashboard, and an error, if there is any.

          func (*FakeGrafanaDashboards) Delete

          func (c *FakeGrafanaDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

            Delete takes name of the grafanaDashboard and deletes it. Returns an error if one occurs.

            func (*FakeGrafanaDashboards) DeleteCollection

            func (c *FakeGrafanaDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

              DeleteCollection deletes a collection of objects.

              func (*FakeGrafanaDashboards) Get

              func (c *FakeGrafanaDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *controllerv1.GrafanaDashboard, err error)

                Get takes name of the grafanaDashboard, and returns the corresponding grafanaDashboard object, and an error if there is any.

                func (*FakeGrafanaDashboards) List

                  List takes label and field selectors, and returns the list of GrafanaDashboards that match those selectors.

                  func (*FakeGrafanaDashboards) Patch

                  func (c *FakeGrafanaDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *controllerv1.GrafanaDashboard, err error)

                    Patch applies the patch and returns the patched grafanaDashboard.

                    func (*FakeGrafanaDashboards) Update

                      Update takes the representation of a grafanaDashboard and updates it. Returns the server's representation of the grafanaDashboard, and an error, if there is any.

                      func (*FakeGrafanaDashboards) UpdateStatus

                        UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

                        func (*FakeGrafanaDashboards) Watch

                          Watch returns a watch.Interface that watches the requested grafanaDashboards.