Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type BackupStore
- func (_m *BackupStore) DeleteBackup(name string) error
- func (_m *BackupStore) DeleteRestore(name string) error
- func (_m *BackupStore) GetBackupContents(name string) (io.ReadCloser, error)
- func (_m *BackupStore) GetBackupMetadata(name string) (*v1.Backup, error)
- func (_m *BackupStore) GetBackupVolumeSnapshots(name string) ([]*volume.Snapshot, error)
- func (_m *BackupStore) GetDownloadURL(target v1.DownloadTarget) (string, error)
- func (_m *BackupStore) GetRevision() (string, error)
- func (_m *BackupStore) IsValid() error
- func (_m *BackupStore) ListBackups() ([]string, error)
- func (_m *BackupStore) PutBackup(name string, metadata io.Reader, contents io.Reader, log io.Reader, ...) error
- func (_m *BackupStore) PutRestoreLog(backup string, restore string, log io.Reader) error
- func (_m *BackupStore) PutRestoreResults(backup string, restore string, results io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupStore ¶
BackupStore is an autogenerated mock type for the BackupStore type
func (*BackupStore) DeleteBackup ¶
func (_m *BackupStore) DeleteBackup(name string) error
DeleteBackup provides a mock function with given fields: name
func (*BackupStore) DeleteRestore ¶
func (_m *BackupStore) DeleteRestore(name string) error
DeleteRestore provides a mock function with given fields: name
func (*BackupStore) GetBackupContents ¶
func (_m *BackupStore) GetBackupContents(name string) (io.ReadCloser, error)
GetBackupContents provides a mock function with given fields: name
func (*BackupStore) GetBackupMetadata ¶
func (_m *BackupStore) GetBackupMetadata(name string) (*v1.Backup, error)
GetBackupMetadata provides a mock function with given fields: name
func (*BackupStore) GetBackupVolumeSnapshots ¶
func (_m *BackupStore) GetBackupVolumeSnapshots(name string) ([]*volume.Snapshot, error)
GetBackupVolumeSnapshots provides a mock function with given fields: name
func (*BackupStore) GetDownloadURL ¶
func (_m *BackupStore) GetDownloadURL(target v1.DownloadTarget) (string, error)
GetDownloadURL provides a mock function with given fields: target
func (*BackupStore) GetRevision ¶
func (_m *BackupStore) GetRevision() (string, error)
GetRevision provides a mock function with given fields:
func (*BackupStore) IsValid ¶
func (_m *BackupStore) IsValid() error
IsValid provides a mock function with given fields:
func (*BackupStore) ListBackups ¶
func (_m *BackupStore) ListBackups() ([]string, error)
ListBackups provides a mock function with given fields:
func (*BackupStore) PutBackup ¶
func (_m *BackupStore) PutBackup(name string, metadata io.Reader, contents io.Reader, log io.Reader, volumeSnapshots io.Reader) error
PutBackup provides a mock function with given fields: name, metadata, contents, log, volumeSnapshots
func (*BackupStore) PutRestoreLog ¶
PutRestoreLog provides a mock function with given fields: backup, restore, log
func (*BackupStore) PutRestoreResults ¶
PutRestoreResults provides a mock function with given fields: backup, restore, results