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