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