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