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