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