Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArangoClusterSynchronizations
- func (c *FakeArangoClusterSynchronizations) Create(ctx context.Context, ...) (result *v1.ArangoClusterSynchronization, err error)
- func (c *FakeArangoClusterSynchronizations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeArangoClusterSynchronizations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeArangoClusterSynchronizations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoClusterSynchronization, err error)
- func (c *FakeArangoClusterSynchronizations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoClusterSynchronizationList, err error)
- func (c *FakeArangoClusterSynchronizations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ArangoClusterSynchronization, err error)
- func (c *FakeArangoClusterSynchronizations) Update(ctx context.Context, ...) (result *v1.ArangoClusterSynchronization, err error)
- func (c *FakeArangoClusterSynchronizations) UpdateStatus(ctx context.Context, ...) (*v1.ArangoClusterSynchronization, error)
- func (c *FakeArangoClusterSynchronizations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeArangoDeployments
- func (c *FakeArangoDeployments) Create(ctx context.Context, arangoDeployment *v1.ArangoDeployment, ...) (result *v1.ArangoDeployment, err error)
- func (c *FakeArangoDeployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeArangoDeployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeArangoDeployments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoDeployment, err error)
- func (c *FakeArangoDeployments) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoDeploymentList, err error)
- func (c *FakeArangoDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ArangoDeployment, err error)
- func (c *FakeArangoDeployments) Update(ctx context.Context, arangoDeployment *v1.ArangoDeployment, ...) (result *v1.ArangoDeployment, err error)
- func (c *FakeArangoDeployments) UpdateStatus(ctx context.Context, arangoDeployment *v1.ArangoDeployment, ...) (*v1.ArangoDeployment, error)
- func (c *FakeArangoDeployments) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeArangoMembers
- func (c *FakeArangoMembers) Create(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.CreateOptions) (result *v1.ArangoMember, err error)
- func (c *FakeArangoMembers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeArangoMembers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeArangoMembers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoMember, err error)
- func (c *FakeArangoMembers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoMemberList, err error)
- func (c *FakeArangoMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ArangoMember, err error)
- func (c *FakeArangoMembers) Update(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.UpdateOptions) (result *v1.ArangoMember, err error)
- func (c *FakeArangoMembers) UpdateStatus(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.UpdateOptions) (*v1.ArangoMember, error)
- func (c *FakeArangoMembers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeArangoTasks
- func (c *FakeArangoTasks) Create(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.CreateOptions) (result *v1.ArangoTask, err error)
- func (c *FakeArangoTasks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeArangoTasks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeArangoTasks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoTask, err error)
- func (c *FakeArangoTasks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoTaskList, err error)
- func (c *FakeArangoTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ArangoTask, err error)
- func (c *FakeArangoTasks) Update(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.UpdateOptions) (result *v1.ArangoTask, err error)
- func (c *FakeArangoTasks) UpdateStatus(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.UpdateOptions) (*v1.ArangoTask, error)
- func (c *FakeArangoTasks) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeDatabaseV1
- func (c *FakeDatabaseV1) ArangoClusterSynchronizations(namespace string) v1.ArangoClusterSynchronizationInterface
- func (c *FakeDatabaseV1) ArangoDeployments(namespace string) v1.ArangoDeploymentInterface
- func (c *FakeDatabaseV1) ArangoMembers(namespace string) v1.ArangoMemberInterface
- func (c *FakeDatabaseV1) ArangoTasks(namespace string) v1.ArangoTaskInterface
- func (c *FakeDatabaseV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeArangoClusterSynchronizations ¶
type FakeArangoClusterSynchronizations struct { Fake *FakeDatabaseV1 // contains filtered or unexported fields }
FakeArangoClusterSynchronizations implements ArangoClusterSynchronizationInterface
func (*FakeArangoClusterSynchronizations) Create ¶
func (c *FakeArangoClusterSynchronizations) Create(ctx context.Context, arangoClusterSynchronization *v1.ArangoClusterSynchronization, opts metav1.CreateOptions) (result *v1.ArangoClusterSynchronization, err error)
Create takes the representation of a arangoClusterSynchronization and creates it. Returns the server's representation of the arangoClusterSynchronization, and an error, if there is any.
func (*FakeArangoClusterSynchronizations) Delete ¶
func (c *FakeArangoClusterSynchronizations) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the arangoClusterSynchronization and deletes it. Returns an error if one occurs.
func (*FakeArangoClusterSynchronizations) DeleteCollection ¶
func (c *FakeArangoClusterSynchronizations) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeArangoClusterSynchronizations) Get ¶
func (c *FakeArangoClusterSynchronizations) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoClusterSynchronization, err error)
Get takes name of the arangoClusterSynchronization, and returns the corresponding arangoClusterSynchronization object, and an error if there is any.
func (*FakeArangoClusterSynchronizations) List ¶
func (c *FakeArangoClusterSynchronizations) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoClusterSynchronizationList, err error)
List takes label and field selectors, and returns the list of ArangoClusterSynchronizations that match those selectors.
func (*FakeArangoClusterSynchronizations) Patch ¶
func (c *FakeArangoClusterSynchronizations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoClusterSynchronization, err error)
Patch applies the patch and returns the patched arangoClusterSynchronization.
func (*FakeArangoClusterSynchronizations) Update ¶
func (c *FakeArangoClusterSynchronizations) Update(ctx context.Context, arangoClusterSynchronization *v1.ArangoClusterSynchronization, opts metav1.UpdateOptions) (result *v1.ArangoClusterSynchronization, err error)
Update takes the representation of a arangoClusterSynchronization and updates it. Returns the server's representation of the arangoClusterSynchronization, and an error, if there is any.
func (*FakeArangoClusterSynchronizations) UpdateStatus ¶
func (c *FakeArangoClusterSynchronizations) UpdateStatus(ctx context.Context, arangoClusterSynchronization *v1.ArangoClusterSynchronization, opts metav1.UpdateOptions) (*v1.ArangoClusterSynchronization, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeArangoClusterSynchronizations) Watch ¶
func (c *FakeArangoClusterSynchronizations) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested arangoClusterSynchronizations.
type FakeArangoDeployments ¶
type FakeArangoDeployments struct { Fake *FakeDatabaseV1 // contains filtered or unexported fields }
FakeArangoDeployments implements ArangoDeploymentInterface
func (*FakeArangoDeployments) Create ¶
func (c *FakeArangoDeployments) Create(ctx context.Context, arangoDeployment *v1.ArangoDeployment, opts metav1.CreateOptions) (result *v1.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(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the arangoDeployment and deletes it. Returns an error if one occurs.
func (*FakeArangoDeployments) DeleteCollection ¶
func (c *FakeArangoDeployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeArangoDeployments) Get ¶
func (c *FakeArangoDeployments) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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(ctx context.Context, opts metav1.ListOptions) (result *v1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoDeployment, err error)
Patch applies the patch and returns the patched arangoDeployment.
func (*FakeArangoDeployments) Update ¶
func (c *FakeArangoDeployments) Update(ctx context.Context, arangoDeployment *v1.ArangoDeployment, opts metav1.UpdateOptions) (result *v1.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(ctx context.Context, arangoDeployment *v1.ArangoDeployment, opts metav1.UpdateOptions) (*v1.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(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested arangoDeployments.
type FakeArangoMembers ¶
type FakeArangoMembers struct { Fake *FakeDatabaseV1 // contains filtered or unexported fields }
FakeArangoMembers implements ArangoMemberInterface
func (*FakeArangoMembers) Create ¶
func (c *FakeArangoMembers) Create(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.CreateOptions) (result *v1.ArangoMember, err error)
Create takes the representation of a arangoMember and creates it. Returns the server's representation of the arangoMember, and an error, if there is any.
func (*FakeArangoMembers) Delete ¶
func (c *FakeArangoMembers) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the arangoMember and deletes it. Returns an error if one occurs.
func (*FakeArangoMembers) DeleteCollection ¶
func (c *FakeArangoMembers) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeArangoMembers) Get ¶
func (c *FakeArangoMembers) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoMember, err error)
Get takes name of the arangoMember, and returns the corresponding arangoMember object, and an error if there is any.
func (*FakeArangoMembers) List ¶
func (c *FakeArangoMembers) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoMemberList, err error)
List takes label and field selectors, and returns the list of ArangoMembers that match those selectors.
func (*FakeArangoMembers) Patch ¶
func (c *FakeArangoMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoMember, err error)
Patch applies the patch and returns the patched arangoMember.
func (*FakeArangoMembers) Update ¶
func (c *FakeArangoMembers) Update(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.UpdateOptions) (result *v1.ArangoMember, err error)
Update takes the representation of a arangoMember and updates it. Returns the server's representation of the arangoMember, and an error, if there is any.
func (*FakeArangoMembers) UpdateStatus ¶
func (c *FakeArangoMembers) UpdateStatus(ctx context.Context, arangoMember *v1.ArangoMember, opts metav1.UpdateOptions) (*v1.ArangoMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeArangoMembers) Watch ¶
func (c *FakeArangoMembers) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested arangoMembers.
type FakeArangoTasks ¶
type FakeArangoTasks struct { Fake *FakeDatabaseV1 // contains filtered or unexported fields }
FakeArangoTasks implements ArangoTaskInterface
func (*FakeArangoTasks) Create ¶
func (c *FakeArangoTasks) Create(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.CreateOptions) (result *v1.ArangoTask, err error)
Create takes the representation of a arangoTask and creates it. Returns the server's representation of the arangoTask, and an error, if there is any.
func (*FakeArangoTasks) Delete ¶
func (c *FakeArangoTasks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the arangoTask and deletes it. Returns an error if one occurs.
func (*FakeArangoTasks) DeleteCollection ¶
func (c *FakeArangoTasks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeArangoTasks) Get ¶
func (c *FakeArangoTasks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ArangoTask, err error)
Get takes name of the arangoTask, and returns the corresponding arangoTask object, and an error if there is any.
func (*FakeArangoTasks) List ¶
func (c *FakeArangoTasks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ArangoTaskList, err error)
List takes label and field selectors, and returns the list of ArangoTasks that match those selectors.
func (*FakeArangoTasks) Patch ¶
func (c *FakeArangoTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoTask, err error)
Patch applies the patch and returns the patched arangoTask.
func (*FakeArangoTasks) Update ¶
func (c *FakeArangoTasks) Update(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.UpdateOptions) (result *v1.ArangoTask, err error)
Update takes the representation of a arangoTask and updates it. Returns the server's representation of the arangoTask, and an error, if there is any.
func (*FakeArangoTasks) UpdateStatus ¶
func (c *FakeArangoTasks) UpdateStatus(ctx context.Context, arangoTask *v1.ArangoTask, opts metav1.UpdateOptions) (*v1.ArangoTask, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeArangoTasks) Watch ¶
func (c *FakeArangoTasks) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested arangoTasks.
type FakeDatabaseV1 ¶
func (*FakeDatabaseV1) ArangoClusterSynchronizations ¶
func (c *FakeDatabaseV1) ArangoClusterSynchronizations(namespace string) v1.ArangoClusterSynchronizationInterface
func (*FakeDatabaseV1) ArangoDeployments ¶
func (c *FakeDatabaseV1) ArangoDeployments(namespace string) v1.ArangoDeploymentInterface
func (*FakeDatabaseV1) ArangoMembers ¶
func (c *FakeDatabaseV1) ArangoMembers(namespace string) v1.ArangoMemberInterface
func (*FakeDatabaseV1) ArangoTasks ¶
func (c *FakeDatabaseV1) ArangoTasks(namespace string) v1.ArangoTaskInterface
func (*FakeDatabaseV1) RESTClient ¶
func (c *FakeDatabaseV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.