v0.8.0 Latest Latest

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeEventsV1alpha1

type FakeEventsV1alpha1 struct {

func (*FakeEventsV1alpha1) GCSs

func (c *FakeEventsV1alpha1) GCSs(namespace string) v1alpha1.GCSInterface

func (*FakeEventsV1alpha1) RESTClient

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

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

type FakeGCSs

type FakeGCSs struct {
	Fake *FakeEventsV1alpha1
	// contains filtered or unexported fields

FakeGCSs implements GCSInterface

func (*FakeGCSs) Create

func (c *FakeGCSs) Create(gCS *v1alpha1.GCS) (result *v1alpha1.GCS, err error)

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

func (*FakeGCSs) Delete

func (c *FakeGCSs) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeGCSs) DeleteCollection

func (c *FakeGCSs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeGCSs) Get

func (c *FakeGCSs) Get(name string, options v1.GetOptions) (result *v1alpha1.GCS, err error)

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

func (*FakeGCSs) List

func (c *FakeGCSs) List(opts v1.ListOptions) (result *v1alpha1.GCSList, err error)

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

func (*FakeGCSs) Patch

func (c *FakeGCSs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GCS, err error)

Patch applies the patch and returns the patched gCS.

func (*FakeGCSs) Update

func (c *FakeGCSs) Update(gCS *v1alpha1.GCS) (result *v1alpha1.GCS, err error)

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

func (*FakeGCSs) UpdateStatus

func (c *FakeGCSs) UpdateStatus(gCS *v1alpha1.GCS) (*v1alpha1.GCS, error)

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

func (*FakeGCSs) Watch

func (c *FakeGCSs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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