Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBindingsV1alpha1
- type FakeFooBindings
- func (c *FakeFooBindings) Create(fooBinding *v1alpha1.FooBinding) (result *v1alpha1.FooBinding, err error)
- func (c *FakeFooBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFooBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFooBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.FooBinding, err error)
- func (c *FakeFooBindings) List(opts v1.ListOptions) (result *v1alpha1.FooBindingList, err error)
- func (c *FakeFooBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FooBinding, err error)
- func (c *FakeFooBindings) Update(fooBinding *v1alpha1.FooBinding) (result *v1alpha1.FooBinding, err error)
- func (c *FakeFooBindings) UpdateStatus(fooBinding *v1alpha1.FooBinding) (*v1alpha1.FooBinding, error)
- func (c *FakeFooBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBindingsV1alpha1 ¶
func (*FakeBindingsV1alpha1) FooBindings ¶
func (c *FakeBindingsV1alpha1) FooBindings(namespace string) v1alpha1.FooBindingInterface
func (*FakeBindingsV1alpha1) RESTClient ¶
func (c *FakeBindingsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFooBindings ¶
type FakeFooBindings struct { Fake *FakeBindingsV1alpha1 // contains filtered or unexported fields }
FakeFooBindings implements FooBindingInterface
func (*FakeFooBindings) Create ¶
func (c *FakeFooBindings) Create(fooBinding *v1alpha1.FooBinding) (result *v1alpha1.FooBinding, err error)
Create takes the representation of a fooBinding and creates it. Returns the server's representation of the fooBinding, and an error, if there is any.
func (*FakeFooBindings) Delete ¶
func (c *FakeFooBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the fooBinding and deletes it. Returns an error if one occurs.
func (*FakeFooBindings) DeleteCollection ¶
func (c *FakeFooBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFooBindings) Get ¶
func (c *FakeFooBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.FooBinding, err error)
Get takes name of the fooBinding, and returns the corresponding fooBinding object, and an error if there is any.
func (*FakeFooBindings) List ¶
func (c *FakeFooBindings) List(opts v1.ListOptions) (result *v1alpha1.FooBindingList, err error)
List takes label and field selectors, and returns the list of FooBindings that match those selectors.
func (*FakeFooBindings) Patch ¶
func (c *FakeFooBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.FooBinding, err error)
Patch applies the patch and returns the patched fooBinding.
func (*FakeFooBindings) Update ¶
func (c *FakeFooBindings) Update(fooBinding *v1alpha1.FooBinding) (result *v1alpha1.FooBinding, err error)
Update takes the representation of a fooBinding and updates it. Returns the server's representation of the fooBinding, and an error, if there is any.
func (*FakeFooBindings) UpdateStatus ¶
func (c *FakeFooBindings) UpdateStatus(fooBinding *v1alpha1.FooBinding) (*v1alpha1.FooBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFooBindings) Watch ¶
func (c *FakeFooBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested fooBindings.