fake

package
v0.0.0-...-e3522e2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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 FakeRosStacks

type FakeRosStacks struct {
	Fake *FakeRosV1alpha1
	// contains filtered or unexported fields
}

FakeRosStacks implements RosStackInterface

func (*FakeRosStacks) Create

func (c *FakeRosStacks) Create(rosStack *v1alpha1.RosStack) (result *v1alpha1.RosStack, err error)

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

func (*FakeRosStacks) Delete

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

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

func (*FakeRosStacks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRosStacks) Get

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

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

func (*FakeRosStacks) List

func (c *FakeRosStacks) List(opts v1.ListOptions) (result *v1alpha1.RosStackList, err error)

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

func (*FakeRosStacks) Patch

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

Patch applies the patch and returns the patched rosStack.

func (*FakeRosStacks) Update

func (c *FakeRosStacks) Update(rosStack *v1alpha1.RosStack) (result *v1alpha1.RosStack, err error)

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

func (*FakeRosStacks) UpdateStatus

func (c *FakeRosStacks) UpdateStatus(rosStack *v1alpha1.RosStack) (*v1alpha1.RosStack, error)

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

func (*FakeRosStacks) Watch

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

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

type FakeRosV1alpha1

type FakeRosV1alpha1 struct {
	*testing.Fake
}

func (*FakeRosV1alpha1) RESTClient

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

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

func (*FakeRosV1alpha1) RosStacks

func (c *FakeRosV1alpha1) RosStacks(namespace string) v1alpha1.RosStackInterface

Jump to

Keyboard shortcuts

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