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