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