fake

package
v3.7.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Aug 29, 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 *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeBindings implements BindingInterface

func (*FakeBindings) Create

func (c *FakeBindings) Create(binding *servicecatalog.Binding) (result *servicecatalog.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 *servicecatalog.Binding, err error)

func (*FakeBindings) List

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

func (*FakeBindings) Patch

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

Patch applies the patch and returns the patched binding.

func (*FakeBindings) Update

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

func (*FakeBindings) UpdateStatus

func (c *FakeBindings) UpdateStatus(binding *servicecatalog.Binding) (*servicecatalog.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 *FakeServicecatalog
}

FakeBrokers implements BrokerInterface

func (*FakeBrokers) Create

func (c *FakeBrokers) Create(broker *servicecatalog.Broker) (result *servicecatalog.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 *servicecatalog.Broker, err error)

func (*FakeBrokers) List

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

func (*FakeBrokers) Patch

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

Patch applies the patch and returns the patched broker.

func (*FakeBrokers) Update

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

func (*FakeBrokers) UpdateStatus

func (c *FakeBrokers) UpdateStatus(broker *servicecatalog.Broker) (*servicecatalog.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 *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeInstances implements InstanceInterface

func (*FakeInstances) Create

func (c *FakeInstances) Create(instance *servicecatalog.Instance) (result *servicecatalog.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 *servicecatalog.Instance, err error)

func (*FakeInstances) List

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

func (*FakeInstances) Patch

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

Patch applies the patch and returns the patched instance.

func (*FakeInstances) Update

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

func (*FakeInstances) UpdateStatus

func (c *FakeInstances) UpdateStatus(instance *servicecatalog.Instance) (*servicecatalog.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 *FakeServicecatalog
}

FakeServiceClasses implements ServiceClassInterface

func (*FakeServiceClasses) Create

func (c *FakeServiceClasses) Create(serviceClass *servicecatalog.ServiceClass) (result *servicecatalog.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 *servicecatalog.ServiceClass, err error)

func (*FakeServiceClasses) List

func (*FakeServiceClasses) Patch

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

Patch applies the patch and returns the patched serviceClass.

func (*FakeServiceClasses) Update

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

func (*FakeServiceClasses) Watch

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

type FakeServicecatalog

type FakeServicecatalog struct {
	*testing.Fake
}

func (*FakeServicecatalog) Bindings

func (*FakeServicecatalog) Brokers

func (*FakeServicecatalog) Instances

func (*FakeServicecatalog) RESTClient

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

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

func (*FakeServicecatalog) ServiceClasses

Jump to

Keyboard shortcuts

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