fake

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 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 FakeServiceBrokers added in v0.0.17

type FakeServiceBrokers struct {
	Fake *FakeServicecatalog
}

FakeServiceBrokers implements ServiceBrokerInterface

func (*FakeServiceBrokers) Create added in v0.0.17

func (c *FakeServiceBrokers) Create(serviceBroker *servicecatalog.ServiceBroker) (result *servicecatalog.ServiceBroker, err error)

func (*FakeServiceBrokers) Delete added in v0.0.17

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

func (*FakeServiceBrokers) DeleteCollection added in v0.0.17

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

func (*FakeServiceBrokers) Get added in v0.0.17

func (c *FakeServiceBrokers) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceBroker, err error)

func (*FakeServiceBrokers) List added in v0.0.17

func (*FakeServiceBrokers) Patch added in v0.0.17

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

Patch applies the patch and returns the patched serviceBroker.

func (*FakeServiceBrokers) Update added in v0.0.17

func (c *FakeServiceBrokers) Update(serviceBroker *servicecatalog.ServiceBroker) (result *servicecatalog.ServiceBroker, err error)

func (*FakeServiceBrokers) UpdateStatus added in v0.0.17

func (*FakeServiceBrokers) Watch added in v0.0.17

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

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 FakeServiceInstanceCredentials added in v0.0.17

type FakeServiceInstanceCredentials struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceInstanceCredentials implements ServiceInstanceCredentialInterface

func (*FakeServiceInstanceCredentials) Create added in v0.0.17

func (*FakeServiceInstanceCredentials) Delete added in v0.0.17

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

func (*FakeServiceInstanceCredentials) DeleteCollection added in v0.0.17

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

func (*FakeServiceInstanceCredentials) Get added in v0.0.17

func (*FakeServiceInstanceCredentials) List added in v0.0.17

func (*FakeServiceInstanceCredentials) Patch added in v0.0.17

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

Patch applies the patch and returns the patched serviceInstanceCredential.

func (*FakeServiceInstanceCredentials) Update added in v0.0.17

func (*FakeServiceInstanceCredentials) UpdateStatus added in v0.0.17

func (*FakeServiceInstanceCredentials) Watch added in v0.0.17

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

type FakeServiceInstances added in v0.0.17

type FakeServiceInstances struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceInstances implements ServiceInstanceInterface

func (*FakeServiceInstances) Create added in v0.0.17

func (c *FakeServiceInstances) Create(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)

func (*FakeServiceInstances) Delete added in v0.0.17

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

func (*FakeServiceInstances) DeleteCollection added in v0.0.17

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

func (*FakeServiceInstances) Get added in v0.0.17

func (c *FakeServiceInstances) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceInstance, err error)

func (*FakeServiceInstances) List added in v0.0.17

func (*FakeServiceInstances) Patch added in v0.0.17

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

Patch applies the patch and returns the patched serviceInstance.

func (*FakeServiceInstances) Update added in v0.0.17

func (c *FakeServiceInstances) Update(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)

func (*FakeServiceInstances) UpdateStatus added in v0.0.17

func (*FakeServiceInstances) Watch added in v0.0.17

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

type FakeServicecatalog

type FakeServicecatalog struct {
	*testing.Fake
}

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) ServiceBrokers added in v0.0.17

func (*FakeServicecatalog) ServiceClasses

func (*FakeServicecatalog) ServiceInstanceCredentials added in v0.0.17

func (c *FakeServicecatalog) ServiceInstanceCredentials(namespace string) internalversion.ServiceInstanceCredentialInterface

func (*FakeServicecatalog) ServiceInstances added in v0.0.17

func (c *FakeServicecatalog) ServiceInstances(namespace string) internalversion.ServiceInstanceInterface

Jump to

Keyboard shortcuts

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