Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBindings
- func (c *FakeBindings) Create(binding *servicecatalog.Binding) (result *servicecatalog.Binding, err error)
- func (c *FakeBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBindings) Get(name string, options v1.GetOptions) (result *servicecatalog.Binding, err error)
- func (c *FakeBindings) List(opts v1.ListOptions) (result *servicecatalog.BindingList, err error)
- func (c *FakeBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.Binding, err error)
- func (c *FakeBindings) Update(binding *servicecatalog.Binding) (result *servicecatalog.Binding, err error)
- func (c *FakeBindings) UpdateStatus(binding *servicecatalog.Binding) (*servicecatalog.Binding, error)
- func (c *FakeBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBrokers
- func (c *FakeBrokers) Create(broker *servicecatalog.Broker) (result *servicecatalog.Broker, err error)
- func (c *FakeBrokers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBrokers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBrokers) Get(name string, options v1.GetOptions) (result *servicecatalog.Broker, err error)
- func (c *FakeBrokers) List(opts v1.ListOptions) (result *servicecatalog.BrokerList, err error)
- func (c *FakeBrokers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.Broker, err error)
- func (c *FakeBrokers) Update(broker *servicecatalog.Broker) (result *servicecatalog.Broker, err error)
- func (c *FakeBrokers) UpdateStatus(broker *servicecatalog.Broker) (*servicecatalog.Broker, error)
- func (c *FakeBrokers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstances
- func (c *FakeInstances) Create(instance *servicecatalog.Instance) (result *servicecatalog.Instance, err error)
- func (c *FakeInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstances) Get(name string, options v1.GetOptions) (result *servicecatalog.Instance, err error)
- func (c *FakeInstances) List(opts v1.ListOptions) (result *servicecatalog.InstanceList, err error)
- func (c *FakeInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.Instance, err error)
- func (c *FakeInstances) Update(instance *servicecatalog.Instance) (result *servicecatalog.Instance, err error)
- func (c *FakeInstances) UpdateStatus(instance *servicecatalog.Instance) (*servicecatalog.Instance, error)
- func (c *FakeInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceClasses
- func (c *FakeServiceClasses) Create(serviceClass *servicecatalog.ServiceClass) (result *servicecatalog.ServiceClass, err error)
- func (c *FakeServiceClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceClasses) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceClass, err error)
- func (c *FakeServiceClasses) List(opts v1.ListOptions) (result *servicecatalog.ServiceClassList, err error)
- func (c *FakeServiceClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceClass, err error)
- func (c *FakeServiceClasses) Update(serviceClass *servicecatalog.ServiceClass) (result *servicecatalog.ServiceClass, err error)
- func (c *FakeServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServicecatalog
- func (c *FakeServicecatalog) Bindings(namespace string) internalversion.BindingInterface
- func (c *FakeServicecatalog) Brokers() internalversion.BrokerInterface
- func (c *FakeServicecatalog) Instances(namespace string) internalversion.InstanceInterface
- func (c *FakeServicecatalog) RESTClient() rest.Interface
- func (c *FakeServicecatalog) ServiceClasses() internalversion.ServiceClassInterface
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 (c *FakeServiceClasses) List(opts v1.ListOptions) (result *servicecatalog.ServiceClassList, err error)
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 ¶
func (c *FakeServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceClasses.
type FakeServicecatalog ¶
func (*FakeServicecatalog) Bindings ¶
func (c *FakeServicecatalog) Bindings(namespace string) internalversion.BindingInterface
func (*FakeServicecatalog) Brokers ¶
func (c *FakeServicecatalog) Brokers() internalversion.BrokerInterface
func (*FakeServicecatalog) Instances ¶
func (c *FakeServicecatalog) Instances(namespace string) internalversion.InstanceInterface
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 ¶
func (c *FakeServicecatalog) ServiceClasses() internalversion.ServiceClassInterface