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