fake

package
v0.0.0-...-3265d99 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 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 FakeBackingV1alpha1

type FakeBackingV1alpha1 struct {
	*testing.Fake
}

func (*FakeBackingV1alpha1) Bindings

func (c *FakeBackingV1alpha1) Bindings(namespace string) v1alpha1.BindingInterface

func (*FakeBackingV1alpha1) RESTClient

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

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

type FakeBindings

type FakeBindings struct {
	Fake *FakeBackingV1alpha1
	// contains filtered or unexported fields
}

FakeBindings implements BindingInterface

func (*FakeBindings) Create

func (c *FakeBindings) Create(binding *v1alpha1.Binding) (result *v1alpha1.Binding, err error)

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

func (*FakeBindings) Delete

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

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

func (*FakeBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBindings) Get

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

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

func (*FakeBindings) List

func (c *FakeBindings) List(opts v1.ListOptions) (result *v1alpha1.BindingList, err error)

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

func (*FakeBindings) Patch

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

Patch applies the patch and returns the patched binding.

func (*FakeBindings) Update

func (c *FakeBindings) Update(binding *v1alpha1.Binding) (result *v1alpha1.Binding, err error)

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

func (*FakeBindings) UpdateStatus

func (c *FakeBindings) UpdateStatus(binding *v1alpha1.Binding) (*v1alpha1.Binding, error)

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

func (*FakeBindings) Watch

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

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

Jump to

Keyboard shortcuts

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