Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupBatches
- func (c *FakeBackupBatches) Create(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.CreateOptions) (result *v1beta1.BackupBatch, err error)
- func (c *FakeBackupBatches) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupBatches) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupBatches) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupBatch, err error)
- func (c *FakeBackupBatches) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupBatchList, err error)
- func (c *FakeBackupBatches) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.BackupBatch, err error)
- func (c *FakeBackupBatches) Update(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.UpdateOptions) (result *v1beta1.BackupBatch, err error)
- func (c *FakeBackupBatches) UpdateStatus(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.UpdateOptions) (*v1beta1.BackupBatch, error)
- func (c *FakeBackupBatches) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupBlueprints
- func (c *FakeBackupBlueprints) Create(ctx context.Context, backupBlueprint *v1beta1.BackupBlueprint, ...) (result *v1beta1.BackupBlueprint, err error)
- func (c *FakeBackupBlueprints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupBlueprints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupBlueprints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupBlueprint, err error)
- func (c *FakeBackupBlueprints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupBlueprintList, err error)
- func (c *FakeBackupBlueprints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.BackupBlueprint, err error)
- func (c *FakeBackupBlueprints) Update(ctx context.Context, backupBlueprint *v1beta1.BackupBlueprint, ...) (result *v1beta1.BackupBlueprint, err error)
- func (c *FakeBackupBlueprints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupConfigurations
- func (c *FakeBackupConfigurations) Create(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, ...) (result *v1beta1.BackupConfiguration, err error)
- func (c *FakeBackupConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupConfiguration, err error)
- func (c *FakeBackupConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupConfigurationList, err error)
- func (c *FakeBackupConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.BackupConfiguration, err error)
- func (c *FakeBackupConfigurations) Update(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, ...) (result *v1beta1.BackupConfiguration, err error)
- func (c *FakeBackupConfigurations) UpdateStatus(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, ...) (*v1beta1.BackupConfiguration, error)
- func (c *FakeBackupConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupSessions
- func (c *FakeBackupSessions) Create(ctx context.Context, backupSession *v1beta1.BackupSession, ...) (result *v1beta1.BackupSession, err error)
- func (c *FakeBackupSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupSession, err error)
- func (c *FakeBackupSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupSessionList, err error)
- func (c *FakeBackupSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.BackupSession, err error)
- func (c *FakeBackupSessions) Update(ctx context.Context, backupSession *v1beta1.BackupSession, ...) (result *v1beta1.BackupSession, err error)
- func (c *FakeBackupSessions) UpdateStatus(ctx context.Context, backupSession *v1beta1.BackupSession, ...) (*v1beta1.BackupSession, error)
- func (c *FakeBackupSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFunctions
- func (c *FakeFunctions) Create(ctx context.Context, function *v1beta1.Function, opts v1.CreateOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
- func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Update(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (result *v1beta1.Function, err error)
- func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRestoreBatches
- func (c *FakeRestoreBatches) Create(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.CreateOptions) (result *v1beta1.RestoreBatch, err error)
- func (c *FakeRestoreBatches) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRestoreBatches) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRestoreBatches) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.RestoreBatch, err error)
- func (c *FakeRestoreBatches) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreBatchList, err error)
- func (c *FakeRestoreBatches) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.RestoreBatch, err error)
- func (c *FakeRestoreBatches) Update(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.UpdateOptions) (result *v1beta1.RestoreBatch, err error)
- func (c *FakeRestoreBatches) UpdateStatus(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.UpdateOptions) (*v1beta1.RestoreBatch, error)
- func (c *FakeRestoreBatches) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRestoreSessions
- func (c *FakeRestoreSessions) Create(ctx context.Context, restoreSession *v1beta1.RestoreSession, ...) (result *v1beta1.RestoreSession, err error)
- func (c *FakeRestoreSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRestoreSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRestoreSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.RestoreSession, err error)
- func (c *FakeRestoreSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreSessionList, err error)
- func (c *FakeRestoreSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.RestoreSession, err error)
- func (c *FakeRestoreSessions) Update(ctx context.Context, restoreSession *v1beta1.RestoreSession, ...) (result *v1beta1.RestoreSession, err error)
- func (c *FakeRestoreSessions) UpdateStatus(ctx context.Context, restoreSession *v1beta1.RestoreSession, ...) (*v1beta1.RestoreSession, error)
- func (c *FakeRestoreSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeStashV1beta1
- func (c *FakeStashV1beta1) BackupBatches(namespace string) v1beta1.BackupBatchInterface
- func (c *FakeStashV1beta1) BackupBlueprints() v1beta1.BackupBlueprintInterface
- func (c *FakeStashV1beta1) BackupConfigurations(namespace string) v1beta1.BackupConfigurationInterface
- func (c *FakeStashV1beta1) BackupSessions(namespace string) v1beta1.BackupSessionInterface
- func (c *FakeStashV1beta1) Functions() v1beta1.FunctionInterface
- func (c *FakeStashV1beta1) RESTClient() rest.Interface
- func (c *FakeStashV1beta1) RestoreBatches(namespace string) v1beta1.RestoreBatchInterface
- func (c *FakeStashV1beta1) RestoreSessions(namespace string) v1beta1.RestoreSessionInterface
- func (c *FakeStashV1beta1) Tasks() v1beta1.TaskInterface
- type FakeTasks
- func (c *FakeTasks) Create(ctx context.Context, task *v1beta1.Task, opts v1.CreateOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskList, err error)
- func (c *FakeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Task, err error)
- func (c *FakeTasks) Update(ctx context.Context, task *v1beta1.Task, opts v1.UpdateOptions) (result *v1beta1.Task, err error)
- func (c *FakeTasks) 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 FakeBackupBatches ¶
type FakeBackupBatches struct { Fake *FakeStashV1beta1 // contains filtered or unexported fields }
FakeBackupBatches implements BackupBatchInterface
func (*FakeBackupBatches) Create ¶
func (c *FakeBackupBatches) Create(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.CreateOptions) (result *v1beta1.BackupBatch, err error)
Create takes the representation of a backupBatch and creates it. Returns the server's representation of the backupBatch, and an error, if there is any.
func (*FakeBackupBatches) Delete ¶
func (c *FakeBackupBatches) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupBatch and deletes it. Returns an error if one occurs.
func (*FakeBackupBatches) DeleteCollection ¶
func (c *FakeBackupBatches) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupBatches) Get ¶
func (c *FakeBackupBatches) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupBatch, err error)
Get takes name of the backupBatch, and returns the corresponding backupBatch object, and an error if there is any.
func (*FakeBackupBatches) List ¶
func (c *FakeBackupBatches) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupBatchList, err error)
List takes label and field selectors, and returns the list of BackupBatches that match those selectors.
func (*FakeBackupBatches) Patch ¶
func (c *FakeBackupBatches) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.BackupBatch, err error)
Patch applies the patch and returns the patched backupBatch.
func (*FakeBackupBatches) Update ¶
func (c *FakeBackupBatches) Update(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.UpdateOptions) (result *v1beta1.BackupBatch, err error)
Update takes the representation of a backupBatch and updates it. Returns the server's representation of the backupBatch, and an error, if there is any.
func (*FakeBackupBatches) UpdateStatus ¶
func (c *FakeBackupBatches) UpdateStatus(ctx context.Context, backupBatch *v1beta1.BackupBatch, opts v1.UpdateOptions) (*v1beta1.BackupBatch, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupBatches) Watch ¶
func (c *FakeBackupBatches) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupBatches.
type FakeBackupBlueprints ¶
type FakeBackupBlueprints struct {
Fake *FakeStashV1beta1
}
FakeBackupBlueprints implements BackupBlueprintInterface
func (*FakeBackupBlueprints) Create ¶
func (c *FakeBackupBlueprints) Create(ctx context.Context, backupBlueprint *v1beta1.BackupBlueprint, opts v1.CreateOptions) (result *v1beta1.BackupBlueprint, err error)
Create takes the representation of a backupBlueprint and creates it. Returns the server's representation of the backupBlueprint, and an error, if there is any.
func (*FakeBackupBlueprints) Delete ¶
func (c *FakeBackupBlueprints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupBlueprint and deletes it. Returns an error if one occurs.
func (*FakeBackupBlueprints) DeleteCollection ¶
func (c *FakeBackupBlueprints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupBlueprints) Get ¶
func (c *FakeBackupBlueprints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupBlueprint, err error)
Get takes name of the backupBlueprint, and returns the corresponding backupBlueprint object, and an error if there is any.
func (*FakeBackupBlueprints) List ¶
func (c *FakeBackupBlueprints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupBlueprintList, err error)
List takes label and field selectors, and returns the list of BackupBlueprints that match those selectors.
func (*FakeBackupBlueprints) Patch ¶
func (c *FakeBackupBlueprints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.BackupBlueprint, err error)
Patch applies the patch and returns the patched backupBlueprint.
func (*FakeBackupBlueprints) Update ¶
func (c *FakeBackupBlueprints) Update(ctx context.Context, backupBlueprint *v1beta1.BackupBlueprint, opts v1.UpdateOptions) (result *v1beta1.BackupBlueprint, err error)
Update takes the representation of a backupBlueprint and updates it. Returns the server's representation of the backupBlueprint, and an error, if there is any.
func (*FakeBackupBlueprints) Watch ¶
func (c *FakeBackupBlueprints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupBlueprints.
type FakeBackupConfigurations ¶
type FakeBackupConfigurations struct { Fake *FakeStashV1beta1 // contains filtered or unexported fields }
FakeBackupConfigurations implements BackupConfigurationInterface
func (*FakeBackupConfigurations) Create ¶
func (c *FakeBackupConfigurations) Create(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, opts v1.CreateOptions) (result *v1beta1.BackupConfiguration, err error)
Create takes the representation of a backupConfiguration and creates it. Returns the server's representation of the backupConfiguration, and an error, if there is any.
func (*FakeBackupConfigurations) Delete ¶
func (c *FakeBackupConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupConfiguration and deletes it. Returns an error if one occurs.
func (*FakeBackupConfigurations) DeleteCollection ¶
func (c *FakeBackupConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupConfigurations) Get ¶
func (c *FakeBackupConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupConfiguration, err error)
Get takes name of the backupConfiguration, and returns the corresponding backupConfiguration object, and an error if there is any.
func (*FakeBackupConfigurations) List ¶
func (c *FakeBackupConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupConfigurationList, err error)
List takes label and field selectors, and returns the list of BackupConfigurations that match those selectors.
func (*FakeBackupConfigurations) Patch ¶
func (c *FakeBackupConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.BackupConfiguration, err error)
Patch applies the patch and returns the patched backupConfiguration.
func (*FakeBackupConfigurations) Update ¶
func (c *FakeBackupConfigurations) Update(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, opts v1.UpdateOptions) (result *v1beta1.BackupConfiguration, err error)
Update takes the representation of a backupConfiguration and updates it. Returns the server's representation of the backupConfiguration, and an error, if there is any.
func (*FakeBackupConfigurations) UpdateStatus ¶
func (c *FakeBackupConfigurations) UpdateStatus(ctx context.Context, backupConfiguration *v1beta1.BackupConfiguration, opts v1.UpdateOptions) (*v1beta1.BackupConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupConfigurations) Watch ¶
func (c *FakeBackupConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupConfigurations.
type FakeBackupSessions ¶
type FakeBackupSessions struct { Fake *FakeStashV1beta1 // contains filtered or unexported fields }
FakeBackupSessions implements BackupSessionInterface
func (*FakeBackupSessions) Create ¶
func (c *FakeBackupSessions) Create(ctx context.Context, backupSession *v1beta1.BackupSession, opts v1.CreateOptions) (result *v1beta1.BackupSession, err error)
Create takes the representation of a backupSession and creates it. Returns the server's representation of the backupSession, and an error, if there is any.
func (*FakeBackupSessions) Delete ¶
func (c *FakeBackupSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupSession and deletes it. Returns an error if one occurs.
func (*FakeBackupSessions) DeleteCollection ¶
func (c *FakeBackupSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupSessions) Get ¶
func (c *FakeBackupSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupSession, err error)
Get takes name of the backupSession, and returns the corresponding backupSession object, and an error if there is any.
func (*FakeBackupSessions) List ¶
func (c *FakeBackupSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupSessionList, err error)
List takes label and field selectors, and returns the list of BackupSessions that match those selectors.
func (*FakeBackupSessions) Patch ¶
func (c *FakeBackupSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.BackupSession, err error)
Patch applies the patch and returns the patched backupSession.
func (*FakeBackupSessions) Update ¶
func (c *FakeBackupSessions) Update(ctx context.Context, backupSession *v1beta1.BackupSession, opts v1.UpdateOptions) (result *v1beta1.BackupSession, err error)
Update takes the representation of a backupSession and updates it. Returns the server's representation of the backupSession, and an error, if there is any.
func (*FakeBackupSessions) UpdateStatus ¶
func (c *FakeBackupSessions) UpdateStatus(ctx context.Context, backupSession *v1beta1.BackupSession, opts v1.UpdateOptions) (*v1beta1.BackupSession, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupSessions) Watch ¶
func (c *FakeBackupSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupSessions.
type FakeFunctions ¶
type FakeFunctions struct {
Fake *FakeStashV1beta1
}
FakeFunctions implements FunctionInterface
func (*FakeFunctions) Create ¶
func (c *FakeFunctions) Create(ctx context.Context, function *v1beta1.Function, opts v1.CreateOptions) (result *v1beta1.Function, err error)
Create takes the representation of a function and creates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Delete ¶
func (c *FakeFunctions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the function and deletes it. Returns an error if one occurs.
func (*FakeFunctions) DeleteCollection ¶
func (c *FakeFunctions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFunctions) Get ¶
func (c *FakeFunctions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Function, err error)
Get takes name of the function, and returns the corresponding function object, and an error if there is any.
func (*FakeFunctions) List ¶
func (c *FakeFunctions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.FunctionList, err error)
List takes label and field selectors, and returns the list of Functions that match those selectors.
func (*FakeFunctions) Patch ¶
func (c *FakeFunctions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Function, err error)
Patch applies the patch and returns the patched function.
func (*FakeFunctions) Update ¶
func (c *FakeFunctions) Update(ctx context.Context, function *v1beta1.Function, opts v1.UpdateOptions) (result *v1beta1.Function, err error)
Update takes the representation of a function and updates it. Returns the server's representation of the function, and an error, if there is any.
func (*FakeFunctions) Watch ¶
func (c *FakeFunctions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested functions.
type FakeRestoreBatches ¶
type FakeRestoreBatches struct { Fake *FakeStashV1beta1 // contains filtered or unexported fields }
FakeRestoreBatches implements RestoreBatchInterface
func (*FakeRestoreBatches) Create ¶
func (c *FakeRestoreBatches) Create(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.CreateOptions) (result *v1beta1.RestoreBatch, err error)
Create takes the representation of a restoreBatch and creates it. Returns the server's representation of the restoreBatch, and an error, if there is any.
func (*FakeRestoreBatches) Delete ¶
func (c *FakeRestoreBatches) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the restoreBatch and deletes it. Returns an error if one occurs.
func (*FakeRestoreBatches) DeleteCollection ¶
func (c *FakeRestoreBatches) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRestoreBatches) Get ¶
func (c *FakeRestoreBatches) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.RestoreBatch, err error)
Get takes name of the restoreBatch, and returns the corresponding restoreBatch object, and an error if there is any.
func (*FakeRestoreBatches) List ¶
func (c *FakeRestoreBatches) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreBatchList, err error)
List takes label and field selectors, and returns the list of RestoreBatches that match those selectors.
func (*FakeRestoreBatches) Patch ¶
func (c *FakeRestoreBatches) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.RestoreBatch, err error)
Patch applies the patch and returns the patched restoreBatch.
func (*FakeRestoreBatches) Update ¶
func (c *FakeRestoreBatches) Update(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.UpdateOptions) (result *v1beta1.RestoreBatch, err error)
Update takes the representation of a restoreBatch and updates it. Returns the server's representation of the restoreBatch, and an error, if there is any.
func (*FakeRestoreBatches) UpdateStatus ¶
func (c *FakeRestoreBatches) UpdateStatus(ctx context.Context, restoreBatch *v1beta1.RestoreBatch, opts v1.UpdateOptions) (*v1beta1.RestoreBatch, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRestoreBatches) Watch ¶
func (c *FakeRestoreBatches) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restoreBatches.
type FakeRestoreSessions ¶
type FakeRestoreSessions struct { Fake *FakeStashV1beta1 // contains filtered or unexported fields }
FakeRestoreSessions implements RestoreSessionInterface
func (*FakeRestoreSessions) Create ¶
func (c *FakeRestoreSessions) Create(ctx context.Context, restoreSession *v1beta1.RestoreSession, opts v1.CreateOptions) (result *v1beta1.RestoreSession, err error)
Create takes the representation of a restoreSession and creates it. Returns the server's representation of the restoreSession, and an error, if there is any.
func (*FakeRestoreSessions) Delete ¶
func (c *FakeRestoreSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the restoreSession and deletes it. Returns an error if one occurs.
func (*FakeRestoreSessions) DeleteCollection ¶
func (c *FakeRestoreSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRestoreSessions) Get ¶
func (c *FakeRestoreSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.RestoreSession, err error)
Get takes name of the restoreSession, and returns the corresponding restoreSession object, and an error if there is any.
func (*FakeRestoreSessions) List ¶
func (c *FakeRestoreSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreSessionList, err error)
List takes label and field selectors, and returns the list of RestoreSessions that match those selectors.
func (*FakeRestoreSessions) Patch ¶
func (c *FakeRestoreSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.RestoreSession, err error)
Patch applies the patch and returns the patched restoreSession.
func (*FakeRestoreSessions) Update ¶
func (c *FakeRestoreSessions) Update(ctx context.Context, restoreSession *v1beta1.RestoreSession, opts v1.UpdateOptions) (result *v1beta1.RestoreSession, err error)
Update takes the representation of a restoreSession and updates it. Returns the server's representation of the restoreSession, and an error, if there is any.
func (*FakeRestoreSessions) UpdateStatus ¶
func (c *FakeRestoreSessions) UpdateStatus(ctx context.Context, restoreSession *v1beta1.RestoreSession, opts v1.UpdateOptions) (*v1beta1.RestoreSession, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRestoreSessions) Watch ¶
func (c *FakeRestoreSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restoreSessions.
type FakeStashV1beta1 ¶
func (*FakeStashV1beta1) BackupBatches ¶
func (c *FakeStashV1beta1) BackupBatches(namespace string) v1beta1.BackupBatchInterface
func (*FakeStashV1beta1) BackupBlueprints ¶
func (c *FakeStashV1beta1) BackupBlueprints() v1beta1.BackupBlueprintInterface
func (*FakeStashV1beta1) BackupConfigurations ¶
func (c *FakeStashV1beta1) BackupConfigurations(namespace string) v1beta1.BackupConfigurationInterface
func (*FakeStashV1beta1) BackupSessions ¶
func (c *FakeStashV1beta1) BackupSessions(namespace string) v1beta1.BackupSessionInterface
func (*FakeStashV1beta1) Functions ¶
func (c *FakeStashV1beta1) Functions() v1beta1.FunctionInterface
func (*FakeStashV1beta1) RESTClient ¶
func (c *FakeStashV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeStashV1beta1) RestoreBatches ¶
func (c *FakeStashV1beta1) RestoreBatches(namespace string) v1beta1.RestoreBatchInterface
func (*FakeStashV1beta1) RestoreSessions ¶
func (c *FakeStashV1beta1) RestoreSessions(namespace string) v1beta1.RestoreSessionInterface
func (*FakeStashV1beta1) Tasks ¶
func (c *FakeStashV1beta1) Tasks() v1beta1.TaskInterface
type FakeTasks ¶
type FakeTasks struct {
Fake *FakeStashV1beta1
}
FakeTasks implements TaskInterface
func (*FakeTasks) Create ¶
func (c *FakeTasks) Create(ctx context.Context, task *v1beta1.Task, opts v1.CreateOptions) (result *v1beta1.Task, err error)
Create takes the representation of a task and creates it. Returns the server's representation of the task, and an error, if there is any.
func (*FakeTasks) Delete ¶
Delete takes name of the task and deletes it. Returns an error if one occurs.
func (*FakeTasks) DeleteCollection ¶
func (c *FakeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTasks) Get ¶
func (c *FakeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Task, err error)
Get takes name of the task, and returns the corresponding task object, and an error if there is any.
func (*FakeTasks) List ¶
func (c *FakeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.TaskList, err error)
List takes label and field selectors, and returns the list of Tasks that match those selectors.
func (*FakeTasks) Patch ¶
func (c *FakeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Task, err error)
Patch applies the patch and returns the patched task.