v0.9.0 Latest Latest

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

Go to latest
Published: Jun 22, 2020 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 FakeMulticlusterV1alpha1

type FakeMulticlusterV1alpha1 struct {

func (*FakeMulticlusterV1alpha1) PodChaperons

func (c *FakeMulticlusterV1alpha1) PodChaperons(namespace string) v1alpha1.PodChaperonInterface

func (*FakeMulticlusterV1alpha1) RESTClient

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

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

type FakePodChaperons

type FakePodChaperons struct {
	Fake *FakeMulticlusterV1alpha1
	// contains filtered or unexported fields

FakePodChaperons implements PodChaperonInterface

func (*FakePodChaperons) Create

func (c *FakePodChaperons) Create(podChaperon *v1alpha1.PodChaperon) (result *v1alpha1.PodChaperon, err error)

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

func (*FakePodChaperons) Delete

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

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

func (*FakePodChaperons) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePodChaperons) Get

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

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

func (*FakePodChaperons) List

func (c *FakePodChaperons) List(opts v1.ListOptions) (result *v1alpha1.PodChaperonList, err error)

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

func (*FakePodChaperons) Patch

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

Patch applies the patch and returns the patched podChaperon.

func (*FakePodChaperons) Update

func (c *FakePodChaperons) Update(podChaperon *v1alpha1.PodChaperon) (result *v1alpha1.PodChaperon, err error)

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

func (*FakePodChaperons) UpdateStatus

func (c *FakePodChaperons) UpdateStatus(podChaperon *v1alpha1.PodChaperon) (*v1alpha1.PodChaperon, error)

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

func (*FakePodChaperons) Watch

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

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

Jump to

Keyboard shortcuts

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