fake

package
v0.0.0-...-bc25bb7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 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 FakeSourcesV1alpha1

type FakeSourcesV1alpha1 struct {
	*testing.Fake
}

func (*FakeSourcesV1alpha1) RESTClient

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

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

func (*FakeSourcesV1alpha1) VSphereBindings

func (c *FakeSourcesV1alpha1) VSphereBindings(namespace string) v1alpha1.VSphereBindingInterface

func (*FakeSourcesV1alpha1) VSphereSources

func (c *FakeSourcesV1alpha1) VSphereSources(namespace string) v1alpha1.VSphereSourceInterface

type FakeVSphereBindings

type FakeVSphereBindings struct {
	Fake *FakeSourcesV1alpha1
	// contains filtered or unexported fields
}

FakeVSphereBindings implements VSphereBindingInterface

func (*FakeVSphereBindings) Create

func (c *FakeVSphereBindings) Create(vSphereBinding *v1alpha1.VSphereBinding) (result *v1alpha1.VSphereBinding, err error)

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

func (*FakeVSphereBindings) Delete

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

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

func (*FakeVSphereBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVSphereBindings) Get

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

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

func (*FakeVSphereBindings) List

func (c *FakeVSphereBindings) List(opts v1.ListOptions) (result *v1alpha1.VSphereBindingList, err error)

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

func (*FakeVSphereBindings) Patch

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

Patch applies the patch and returns the patched vSphereBinding.

func (*FakeVSphereBindings) Update

func (c *FakeVSphereBindings) Update(vSphereBinding *v1alpha1.VSphereBinding) (result *v1alpha1.VSphereBinding, err error)

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

func (*FakeVSphereBindings) UpdateStatus

func (c *FakeVSphereBindings) UpdateStatus(vSphereBinding *v1alpha1.VSphereBinding) (*v1alpha1.VSphereBinding, error)

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

func (*FakeVSphereBindings) Watch

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

type FakeVSphereSources

type FakeVSphereSources struct {
	Fake *FakeSourcesV1alpha1
	// contains filtered or unexported fields
}

FakeVSphereSources implements VSphereSourceInterface

func (*FakeVSphereSources) Create

func (c *FakeVSphereSources) Create(vSphereSource *v1alpha1.VSphereSource) (result *v1alpha1.VSphereSource, err error)

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

func (*FakeVSphereSources) Delete

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

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

func (*FakeVSphereSources) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVSphereSources) Get

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

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

func (*FakeVSphereSources) List

func (c *FakeVSphereSources) List(opts v1.ListOptions) (result *v1alpha1.VSphereSourceList, err error)

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

func (*FakeVSphereSources) Patch

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

Patch applies the patch and returns the patched vSphereSource.

func (*FakeVSphereSources) Update

func (c *FakeVSphereSources) Update(vSphereSource *v1alpha1.VSphereSource) (result *v1alpha1.VSphereSource, err error)

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

func (*FakeVSphereSources) UpdateStatus

func (c *FakeVSphereSources) UpdateStatus(vSphereSource *v1alpha1.VSphereSource) (*v1alpha1.VSphereSource, error)

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

func (*FakeVSphereSources) Watch

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

Jump to

Keyboard shortcuts

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