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