fake

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: Apache-2.0, 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 FakeBindings

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

FakeBindings implements BindingInterface

func (*FakeBindings) Create

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

func (*FakeBindings) Delete

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

func (*FakeBindings) DeleteCollection

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

func (*FakeBindings) Get

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

func (*FakeBindings) List

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

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)

func (*FakeBindings) UpdateStatus

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

func (*FakeBindings) Watch

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

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

type FakeBrokers

type FakeBrokers struct {
	Fake *FakeServicecatalogV1alpha1
}

FakeBrokers implements BrokerInterface

func (*FakeBrokers) Create

func (c *FakeBrokers) Create(broker *v1alpha1.Broker) (result *v1alpha1.Broker, err error)

func (*FakeBrokers) Delete

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

func (*FakeBrokers) DeleteCollection

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

func (*FakeBrokers) Get

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

func (*FakeBrokers) List

func (c *FakeBrokers) List(opts v1.ListOptions) (result *v1alpha1.BrokerList, err error)

func (*FakeBrokers) Patch

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

Patch applies the patch and returns the patched broker.

func (*FakeBrokers) Update

func (c *FakeBrokers) Update(broker *v1alpha1.Broker) (result *v1alpha1.Broker, err error)

func (*FakeBrokers) UpdateStatus

func (c *FakeBrokers) UpdateStatus(broker *v1alpha1.Broker) (*v1alpha1.Broker, error)

func (*FakeBrokers) Watch

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

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

type FakeInstances

type FakeInstances struct {
	Fake *FakeServicecatalogV1alpha1
	// contains filtered or unexported fields
}

FakeInstances implements InstanceInterface

func (*FakeInstances) Create

func (c *FakeInstances) Create(instance *v1alpha1.Instance) (result *v1alpha1.Instance, err error)

func (*FakeInstances) Delete

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

func (*FakeInstances) DeleteCollection

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

func (*FakeInstances) Get

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

func (*FakeInstances) List

func (c *FakeInstances) List(opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)

func (*FakeInstances) Patch

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

Patch applies the patch and returns the patched instance.

func (*FakeInstances) Update

func (c *FakeInstances) Update(instance *v1alpha1.Instance) (result *v1alpha1.Instance, err error)

func (*FakeInstances) UpdateStatus

func (c *FakeInstances) UpdateStatus(instance *v1alpha1.Instance) (*v1alpha1.Instance, error)

func (*FakeInstances) Watch

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

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

type FakeServiceClasses

type FakeServiceClasses struct {
	Fake *FakeServicecatalogV1alpha1
}

FakeServiceClasses implements ServiceClassInterface

func (*FakeServiceClasses) Create

func (c *FakeServiceClasses) Create(serviceClass *v1alpha1.ServiceClass) (result *v1alpha1.ServiceClass, err error)

func (*FakeServiceClasses) Delete

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

func (*FakeServiceClasses) DeleteCollection

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

func (*FakeServiceClasses) Get

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

func (*FakeServiceClasses) List

func (c *FakeServiceClasses) List(opts v1.ListOptions) (result *v1alpha1.ServiceClassList, err error)

func (*FakeServiceClasses) Patch

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

Patch applies the patch and returns the patched serviceClass.

func (*FakeServiceClasses) Update

func (c *FakeServiceClasses) Update(serviceClass *v1alpha1.ServiceClass) (result *v1alpha1.ServiceClass, err error)

func (*FakeServiceClasses) Watch

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

type FakeServicecatalogV1alpha1

type FakeServicecatalogV1alpha1 struct {
	*testing.Fake
}

func (*FakeServicecatalogV1alpha1) Bindings

func (*FakeServicecatalogV1alpha1) Brokers

func (*FakeServicecatalogV1alpha1) Instances

func (*FakeServicecatalogV1alpha1) RESTClient

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

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

func (*FakeServicecatalogV1alpha1) ServiceClasses

Jump to

Keyboard shortcuts

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