v0.0.0-...-6b6aee0 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2022 License: GPL-3.0 Imports: 10 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeKibanaV1

type FakeKibanaV1 struct {

func (*FakeKibanaV1) Kibanas

func (c *FakeKibanaV1) Kibanas(namespace string) v1.KibanaInterface

func (*FakeKibanaV1) RESTClient

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

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

type FakeKibanas

type FakeKibanas struct {
	Fake *FakeKibanaV1
	// contains filtered or unexported fields

FakeKibanas implements KibanaInterface

func (*FakeKibanas) Create

func (c *FakeKibanas) Create(ctx context.Context, kibana *kibanav1.Kibana, opts v1.CreateOptions) (result *kibanav1.Kibana, err error)

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

func (*FakeKibanas) Delete

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

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

func (*FakeKibanas) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKibanas) Get

func (c *FakeKibanas) Get(ctx context.Context, name string, options v1.GetOptions) (result *kibanav1.Kibana, err error)

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

func (*FakeKibanas) List

func (c *FakeKibanas) List(ctx context.Context, opts v1.ListOptions) (result *kibanav1.KibanaList, err error)

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

func (*FakeKibanas) Patch

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

Patch applies the patch and returns the patched kibana.

func (*FakeKibanas) Update

func (c *FakeKibanas) Update(ctx context.Context, kibana *kibanav1.Kibana, opts v1.UpdateOptions) (result *kibanav1.Kibana, err error)

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

func (*FakeKibanas) UpdateStatus

func (c *FakeKibanas) UpdateStatus(ctx context.Context, kibana *kibanav1.Kibana, opts v1.UpdateOptions) (*kibanav1.Kibana, error)

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

func (*FakeKibanas) Watch

func (c *FakeKibanas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL