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