Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBroker
- type FakeServiceInstances
- func (c *FakeServiceInstances) Create(serviceInstance *broker.ServiceInstance) (result *broker.ServiceInstance, err error)
- func (c *FakeServiceInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceInstances) Get(name string, options v1.GetOptions) (result *broker.ServiceInstance, err error)
- func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *broker.ServiceInstanceList, err error)
- func (c *FakeServiceInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *broker.ServiceInstance, err error)
- func (c *FakeServiceInstances) Update(serviceInstance *broker.ServiceInstance) (result *broker.ServiceInstance, err error)
- func (c *FakeServiceInstances) UpdateStatus(serviceInstance *broker.ServiceInstance) (*broker.ServiceInstance, error)
- func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBroker ¶
func (*FakeBroker) RESTClient ¶
func (c *FakeBroker) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeBroker) ServiceInstances ¶
func (c *FakeBroker) ServiceInstances(namespace string) internalversion.ServiceInstanceInterface
type FakeServiceInstances ¶
type FakeServiceInstances struct { Fake *FakeBroker // contains filtered or unexported fields }
FakeServiceInstances implements ServiceInstanceInterface
func (*FakeServiceInstances) Create ¶
func (c *FakeServiceInstances) Create(serviceInstance *broker.ServiceInstance) (result *broker.ServiceInstance, err error)
func (*FakeServiceInstances) Delete ¶
func (c *FakeServiceInstances) Delete(name string, options *v1.DeleteOptions) error
func (*FakeServiceInstances) DeleteCollection ¶
func (c *FakeServiceInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeServiceInstances) Get ¶
func (c *FakeServiceInstances) Get(name string, options v1.GetOptions) (result *broker.ServiceInstance, err error)
func (*FakeServiceInstances) List ¶
func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *broker.ServiceInstanceList, err error)
func (*FakeServiceInstances) Patch ¶
func (c *FakeServiceInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *broker.ServiceInstance, err error)
Patch applies the patch and returns the patched serviceInstance.
func (*FakeServiceInstances) Update ¶
func (c *FakeServiceInstances) Update(serviceInstance *broker.ServiceInstance) (result *broker.ServiceInstance, err error)
func (*FakeServiceInstances) UpdateStatus ¶
func (c *FakeServiceInstances) UpdateStatus(serviceInstance *broker.ServiceInstance) (*broker.ServiceInstance, error)
func (*FakeServiceInstances) Watch ¶
func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceInstances.
Click to show internal directories.
Click to hide internal directories.