Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter
Index ¶
- type FakeArtifactCopier
- func (fake *FakeArtifactCopier) DownloadBackupFromDeployment(arg1 orchestrator.Backup, arg2 orchestrator.Deployment) error
- func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentArgsForCall(i int) (orchestrator.Backup, orchestrator.Deployment)
- func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentCallCount() int
- func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentReturns(result1 error)
- func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentReturnsOnCall(i int, result1 error)
- func (fake *FakeArtifactCopier) Invocations() map[string][][]interface{}
- func (fake *FakeArtifactCopier) UploadBackupToDeployment(arg1 orchestrator.Backup, arg2 orchestrator.Deployment) error
- func (fake *FakeArtifactCopier) UploadBackupToDeploymentArgsForCall(i int) (orchestrator.Backup, orchestrator.Deployment)
- func (fake *FakeArtifactCopier) UploadBackupToDeploymentCallCount() int
- func (fake *FakeArtifactCopier) UploadBackupToDeploymentReturns(result1 error)
- func (fake *FakeArtifactCopier) UploadBackupToDeploymentReturnsOnCall(i int, result1 error)
- type FakeBackup
- func (fake *FakeBackup) AddChecksum(arg1 orchestrator.ArtifactIdentifier, arg2 orchestrator.BackupChecksum) error
- func (fake *FakeBackup) AddChecksumArgsForCall(i int) (orchestrator.ArtifactIdentifier, orchestrator.BackupChecksum)
- func (fake *FakeBackup) AddChecksumCallCount() int
- func (fake *FakeBackup) AddChecksumReturns(result1 error)
- func (fake *FakeBackup) AddChecksumReturnsOnCall(i int, result1 error)
- func (fake *FakeBackup) AddFinishTime(arg1 time.Time) error
- func (fake *FakeBackup) AddFinishTimeArgsForCall(i int) time.Time
- func (fake *FakeBackup) AddFinishTimeCallCount() int
- func (fake *FakeBackup) AddFinishTimeReturns(result1 error)
- func (fake *FakeBackup) AddFinishTimeReturnsOnCall(i int, result1 error)
- func (fake *FakeBackup) CalculateChecksum(arg1 orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error)
- func (fake *FakeBackup) CalculateChecksumArgsForCall(i int) orchestrator.ArtifactIdentifier
- func (fake *FakeBackup) CalculateChecksumCallCount() int
- func (fake *FakeBackup) CalculateChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackup) CalculateChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackup) CreateArtifact(arg1 orchestrator.ArtifactIdentifier) (io.WriteCloser, error)
- func (fake *FakeBackup) CreateArtifactArgsForCall(i int) orchestrator.ArtifactIdentifier
- func (fake *FakeBackup) CreateArtifactCallCount() int
- func (fake *FakeBackup) CreateArtifactReturns(result1 io.WriteCloser, result2 error)
- func (fake *FakeBackup) CreateArtifactReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
- func (fake *FakeBackup) CreateMetadataFileWithStartTime(arg1 time.Time) error
- func (fake *FakeBackup) CreateMetadataFileWithStartTimeArgsForCall(i int) time.Time
- func (fake *FakeBackup) CreateMetadataFileWithStartTimeCallCount() int
- func (fake *FakeBackup) CreateMetadataFileWithStartTimeReturns(result1 error)
- func (fake *FakeBackup) CreateMetadataFileWithStartTimeReturnsOnCall(i int, result1 error)
- func (fake *FakeBackup) DeploymentMatches(arg1 string, arg2 []orchestrator.Instance) (bool, error)
- func (fake *FakeBackup) DeploymentMatchesArgsForCall(i int) (string, []orchestrator.Instance)
- func (fake *FakeBackup) DeploymentMatchesCallCount() int
- func (fake *FakeBackup) DeploymentMatchesReturns(result1 bool, result2 error)
- func (fake *FakeBackup) DeploymentMatchesReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeBackup) FetchChecksum(arg1 orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error)
- func (fake *FakeBackup) FetchChecksumArgsForCall(i int) orchestrator.ArtifactIdentifier
- func (fake *FakeBackup) FetchChecksumCallCount() int
- func (fake *FakeBackup) FetchChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackup) FetchChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackup) GetArtifactSize(arg1 orchestrator.ArtifactIdentifier) (string, error)
- func (fake *FakeBackup) GetArtifactSizeArgsForCall(i int) orchestrator.ArtifactIdentifier
- func (fake *FakeBackup) GetArtifactSizeCallCount() int
- func (fake *FakeBackup) GetArtifactSizeReturns(result1 string, result2 error)
- func (fake *FakeBackup) GetArtifactSizeReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBackup) Invocations() map[string][][]interface{}
- func (fake *FakeBackup) ReadArtifact(arg1 orchestrator.ArtifactIdentifier) (io.ReadCloser, error)
- func (fake *FakeBackup) ReadArtifactArgsForCall(i int) orchestrator.ArtifactIdentifier
- func (fake *FakeBackup) ReadArtifactCallCount() int
- func (fake *FakeBackup) ReadArtifactReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeBackup) ReadArtifactReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeBackup) SaveManifest(manifest string) error
- func (fake *FakeBackup) SaveManifestArgsForCall(i int) string
- func (fake *FakeBackup) SaveManifestCallCount() int
- func (fake *FakeBackup) SaveManifestReturns(result1 error)
- func (fake *FakeBackup) SaveManifestReturnsOnCall(i int, result1 error)
- func (fake *FakeBackup) Valid() (bool, error)
- func (fake *FakeBackup) ValidCallCount() int
- func (fake *FakeBackup) ValidReturns(result1 bool, result2 error)
- func (fake *FakeBackup) ValidReturnsOnCall(i int, result1 bool, result2 error)
- type FakeBackupArtifact
- func (fake *FakeBackupArtifact) Checksum() (orchestrator.BackupChecksum, error)
- func (fake *FakeBackupArtifact) ChecksumCallCount() int
- func (fake *FakeBackupArtifact) ChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackupArtifact) ChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
- func (fake *FakeBackupArtifact) Delete() error
- func (fake *FakeBackupArtifact) DeleteCallCount() int
- func (fake *FakeBackupArtifact) DeleteReturns(result1 error)
- func (fake *FakeBackupArtifact) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeBackupArtifact) HasCustomName() bool
- func (fake *FakeBackupArtifact) HasCustomNameCallCount() int
- func (fake *FakeBackupArtifact) HasCustomNameReturns(result1 bool)
- func (fake *FakeBackupArtifact) HasCustomNameReturnsOnCall(i int, result1 bool)
- func (fake *FakeBackupArtifact) InstanceID() string
- func (fake *FakeBackupArtifact) InstanceIDCallCount() int
- func (fake *FakeBackupArtifact) InstanceIDReturns(result1 string)
- func (fake *FakeBackupArtifact) InstanceIDReturnsOnCall(i int, result1 string)
- func (fake *FakeBackupArtifact) InstanceIndex() string
- func (fake *FakeBackupArtifact) InstanceIndexCallCount() int
- func (fake *FakeBackupArtifact) InstanceIndexReturns(result1 string)
- func (fake *FakeBackupArtifact) InstanceIndexReturnsOnCall(i int, result1 string)
- func (fake *FakeBackupArtifact) InstanceName() string
- func (fake *FakeBackupArtifact) InstanceNameCallCount() int
- func (fake *FakeBackupArtifact) InstanceNameReturns(result1 string)
- func (fake *FakeBackupArtifact) InstanceNameReturnsOnCall(i int, result1 string)
- func (fake *FakeBackupArtifact) Invocations() map[string][][]interface{}
- func (fake *FakeBackupArtifact) Name() string
- func (fake *FakeBackupArtifact) NameCallCount() int
- func (fake *FakeBackupArtifact) NameReturns(result1 string)
- func (fake *FakeBackupArtifact) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeBackupArtifact) Size() (string, error)
- func (fake *FakeBackupArtifact) SizeCallCount() int
- func (fake *FakeBackupArtifact) SizeReturns(result1 string, result2 error)
- func (fake *FakeBackupArtifact) SizeReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBackupArtifact) StreamFromRemote(arg1 io.Writer) error
- func (fake *FakeBackupArtifact) StreamFromRemoteArgsForCall(i int) io.Writer
- func (fake *FakeBackupArtifact) StreamFromRemoteCallCount() int
- func (fake *FakeBackupArtifact) StreamFromRemoteReturns(result1 error)
- func (fake *FakeBackupArtifact) StreamFromRemoteReturnsOnCall(i int, result1 error)
- func (fake *FakeBackupArtifact) StreamToRemote(arg1 io.Reader) error
- func (fake *FakeBackupArtifact) StreamToRemoteArgsForCall(i int) io.Reader
- func (fake *FakeBackupArtifact) StreamToRemoteCallCount() int
- func (fake *FakeBackupArtifact) StreamToRemoteReturns(result1 error)
- func (fake *FakeBackupArtifact) StreamToRemoteReturnsOnCall(i int, result1 error)
- type FakeBackupManager
- func (fake *FakeBackupManager) Create(arg1 string, arg2 string, arg3 orchestrator.Logger) (orchestrator.Backup, error)
- func (fake *FakeBackupManager) CreateArgsForCall(i int) (string, string, orchestrator.Logger)
- func (fake *FakeBackupManager) CreateCallCount() int
- func (fake *FakeBackupManager) CreateReturns(result1 orchestrator.Backup, result2 error)
- func (fake *FakeBackupManager) CreateReturnsOnCall(i int, result1 orchestrator.Backup, result2 error)
- func (fake *FakeBackupManager) Invocations() map[string][][]interface{}
- func (fake *FakeBackupManager) Open(arg1 string, arg2 orchestrator.Logger) (orchestrator.Backup, error)
- func (fake *FakeBackupManager) OpenArgsForCall(i int) (string, orchestrator.Logger)
- func (fake *FakeBackupManager) OpenCallCount() int
- func (fake *FakeBackupManager) OpenReturns(result1 orchestrator.Backup, result2 error)
- func (fake *FakeBackupManager) OpenReturnsOnCall(i int, result1 orchestrator.Backup, result2 error)
- type FakeDeployment
- func (fake *FakeDeployment) Backup(arg1 executor.Executor) error
- func (fake *FakeDeployment) BackupArgsForCall(i int) executor.Executor
- func (fake *FakeDeployment) BackupCallCount() int
- func (fake *FakeDeployment) BackupReturns(result1 error)
- func (fake *FakeDeployment) BackupReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) BackupableInstances() []orchestrator.Instance
- func (fake *FakeDeployment) BackupableInstancesCallCount() int
- func (fake *FakeDeployment) BackupableInstancesReturns(result1 []orchestrator.Instance)
- func (fake *FakeDeployment) BackupableInstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
- func (fake *FakeDeployment) CheckArtifactDir() error
- func (fake *FakeDeployment) CheckArtifactDirCallCount() int
- func (fake *FakeDeployment) CheckArtifactDirReturns(result1 error)
- func (fake *FakeDeployment) CheckArtifactDirReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) Cleanup() error
- func (fake *FakeDeployment) CleanupCallCount() int
- func (fake *FakeDeployment) CleanupPrevious() error
- func (fake *FakeDeployment) CleanupPreviousCallCount() int
- func (fake *FakeDeployment) CleanupPreviousReturns(result1 error)
- func (fake *FakeDeployment) CleanupPreviousReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) CleanupReturns(result1 error)
- func (fake *FakeDeployment) CleanupReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) Instances() []orchestrator.Instance
- func (fake *FakeDeployment) InstancesCallCount() int
- func (fake *FakeDeployment) InstancesReturns(result1 []orchestrator.Instance)
- func (fake *FakeDeployment) InstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
- func (fake *FakeDeployment) Invocations() map[string][][]interface{}
- func (fake *FakeDeployment) IsBackupable() bool
- func (fake *FakeDeployment) IsBackupableCallCount() int
- func (fake *FakeDeployment) IsBackupableReturns(result1 bool)
- func (fake *FakeDeployment) IsBackupableReturnsOnCall(i int, result1 bool)
- func (fake *FakeDeployment) IsRestorable() bool
- func (fake *FakeDeployment) IsRestorableCallCount() int
- func (fake *FakeDeployment) IsRestorableReturns(result1 bool)
- func (fake *FakeDeployment) IsRestorableReturnsOnCall(i int, result1 bool)
- func (fake *FakeDeployment) PostBackupUnlock(arg1 bool, arg2 orchestrator.LockOrderer, arg3 executor.Executor) error
- func (fake *FakeDeployment) PostBackupUnlockArgsForCall(i int) (bool, orchestrator.LockOrderer, executor.Executor)
- func (fake *FakeDeployment) PostBackupUnlockCallCount() int
- func (fake *FakeDeployment) PostBackupUnlockReturns(result1 error)
- func (fake *FakeDeployment) PostBackupUnlockReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) PostRestoreUnlock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
- func (fake *FakeDeployment) PostRestoreUnlockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
- func (fake *FakeDeployment) PostRestoreUnlockCallCount() int
- func (fake *FakeDeployment) PostRestoreUnlockReturns(result1 error)
- func (fake *FakeDeployment) PostRestoreUnlockReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) PreBackupLock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
- func (fake *FakeDeployment) PreBackupLockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
- func (fake *FakeDeployment) PreBackupLockCallCount() int
- func (fake *FakeDeployment) PreBackupLockReturns(result1 error)
- func (fake *FakeDeployment) PreBackupLockReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) PreRestoreLock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
- func (fake *FakeDeployment) PreRestoreLockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
- func (fake *FakeDeployment) PreRestoreLockCallCount() int
- func (fake *FakeDeployment) PreRestoreLockReturns(result1 error)
- func (fake *FakeDeployment) PreRestoreLockReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) RestorableInstances() []orchestrator.Instance
- func (fake *FakeDeployment) RestorableInstancesCallCount() int
- func (fake *FakeDeployment) RestorableInstancesReturns(result1 []orchestrator.Instance)
- func (fake *FakeDeployment) RestorableInstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
- func (fake *FakeDeployment) Restore() error
- func (fake *FakeDeployment) RestoreCallCount() int
- func (fake *FakeDeployment) RestoreReturns(result1 error)
- func (fake *FakeDeployment) RestoreReturnsOnCall(i int, result1 error)
- func (fake *FakeDeployment) ValidateLockingDependencies(orderer orchestrator.LockOrderer) error
- func (fake *FakeDeployment) ValidateLockingDependenciesArgsForCall(i int) orchestrator.LockOrderer
- func (fake *FakeDeployment) ValidateLockingDependenciesCallCount() int
- func (fake *FakeDeployment) ValidateLockingDependenciesReturns(result1 error)
- func (fake *FakeDeployment) ValidateLockingDependenciesReturnsOnCall(i int, result1 error)
- type FakeDeploymentManager
- func (fake *FakeDeploymentManager) Find(deploymentName string) (orchestrator.Deployment, error)
- func (fake *FakeDeploymentManager) FindArgsForCall(i int) string
- func (fake *FakeDeploymentManager) FindCallCount() int
- func (fake *FakeDeploymentManager) FindReturns(result1 orchestrator.Deployment, result2 error)
- func (fake *FakeDeploymentManager) FindReturnsOnCall(i int, result1 orchestrator.Deployment, result2 error)
- func (fake *FakeDeploymentManager) Invocations() map[string][][]interface{}
- func (fake *FakeDeploymentManager) SaveManifest(deploymentName string, artifact orchestrator.Backup) error
- func (fake *FakeDeploymentManager) SaveManifestArgsForCall(i int) (string, orchestrator.Backup)
- func (fake *FakeDeploymentManager) SaveManifestCallCount() int
- func (fake *FakeDeploymentManager) SaveManifestReturns(result1 error)
- func (fake *FakeDeploymentManager) SaveManifestReturnsOnCall(i int, result1 error)
- type FakeInstance
- func (fake *FakeInstance) ArtifactDirCreated() bool
- func (fake *FakeInstance) ArtifactDirCreatedCallCount() int
- func (fake *FakeInstance) ArtifactDirCreatedReturns(result1 bool)
- func (fake *FakeInstance) ArtifactDirCreatedReturnsOnCall(i int, result1 bool)
- func (fake *FakeInstance) ArtifactDirExists() (bool, error)
- func (fake *FakeInstance) ArtifactDirExistsCallCount() int
- func (fake *FakeInstance) ArtifactDirExistsReturns(result1 bool, result2 error)
- func (fake *FakeInstance) ArtifactDirExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeInstance) ArtifactsToBackup() []orchestrator.BackupArtifact
- func (fake *FakeInstance) ArtifactsToBackupCallCount() int
- func (fake *FakeInstance) ArtifactsToBackupReturns(result1 []orchestrator.BackupArtifact)
- func (fake *FakeInstance) ArtifactsToBackupReturnsOnCall(i int, result1 []orchestrator.BackupArtifact)
- func (fake *FakeInstance) ArtifactsToRestore() []orchestrator.BackupArtifact
- func (fake *FakeInstance) ArtifactsToRestoreCallCount() int
- func (fake *FakeInstance) ArtifactsToRestoreReturns(result1 []orchestrator.BackupArtifact)
- func (fake *FakeInstance) ArtifactsToRestoreReturnsOnCall(i int, result1 []orchestrator.BackupArtifact)
- func (fake *FakeInstance) Backup() error
- func (fake *FakeInstance) BackupCallCount() int
- func (fake *FakeInstance) BackupReturns(result1 error)
- func (fake *FakeInstance) BackupReturnsOnCall(i int, result1 error)
- func (fake *FakeInstance) Cleanup() error
- func (fake *FakeInstance) CleanupCallCount() int
- func (fake *FakeInstance) CleanupPrevious() error
- func (fake *FakeInstance) CleanupPreviousCallCount() int
- func (fake *FakeInstance) CleanupPreviousReturns(result1 error)
- func (fake *FakeInstance) CleanupPreviousReturnsOnCall(i int, result1 error)
- func (fake *FakeInstance) CleanupReturns(result1 error)
- func (fake *FakeInstance) CleanupReturnsOnCall(i int, result1 error)
- func (fake *FakeInstance) HasMetadataRestoreNames() bool
- func (fake *FakeInstance) HasMetadataRestoreNamesCallCount() int
- func (fake *FakeInstance) HasMetadataRestoreNamesReturns(result1 bool)
- func (fake *FakeInstance) HasMetadataRestoreNamesReturnsOnCall(i int, result1 bool)
- func (fake *FakeInstance) ID() string
- func (fake *FakeInstance) IDCallCount() int
- func (fake *FakeInstance) IDReturns(result1 string)
- func (fake *FakeInstance) IDReturnsOnCall(i int, result1 string)
- func (fake *FakeInstance) Index() string
- func (fake *FakeInstance) IndexCallCount() int
- func (fake *FakeInstance) IndexReturns(result1 string)
- func (fake *FakeInstance) IndexReturnsOnCall(i int, result1 string)
- func (fake *FakeInstance) Invocations() map[string][][]interface{}
- func (fake *FakeInstance) IsBackupable() bool
- func (fake *FakeInstance) IsBackupableCallCount() int
- func (fake *FakeInstance) IsBackupableReturns(result1 bool)
- func (fake *FakeInstance) IsBackupableReturnsOnCall(i int, result1 bool)
- func (fake *FakeInstance) IsRestorable() bool
- func (fake *FakeInstance) IsRestorableCallCount() int
- func (fake *FakeInstance) IsRestorableReturns(result1 bool)
- func (fake *FakeInstance) IsRestorableReturnsOnCall(i int, result1 bool)
- func (fake *FakeInstance) Jobs() []orchestrator.Job
- func (fake *FakeInstance) JobsCallCount() int
- func (fake *FakeInstance) JobsReturns(result1 []orchestrator.Job)
- func (fake *FakeInstance) JobsReturnsOnCall(i int, result1 []orchestrator.Job)
- func (fake *FakeInstance) MarkArtifactDirCreated()
- func (fake *FakeInstance) MarkArtifactDirCreatedCallCount() int
- func (fake *FakeInstance) Name() string
- func (fake *FakeInstance) NameCallCount() int
- func (fake *FakeInstance) NameReturns(result1 string)
- func (fake *FakeInstance) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeInstance) Restore() error
- func (fake *FakeInstance) RestoreCallCount() int
- func (fake *FakeInstance) RestoreReturns(result1 error)
- func (fake *FakeInstance) RestoreReturnsOnCall(i int, result1 error)
- type FakeJob
- func (fake *FakeJob) Backup() error
- func (fake *FakeJob) BackupArtifactDirectory() string
- func (fake *FakeJob) BackupArtifactDirectoryCallCount() int
- func (fake *FakeJob) BackupArtifactDirectoryReturns(result1 string)
- func (fake *FakeJob) BackupArtifactDirectoryReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) BackupArtifactName() string
- func (fake *FakeJob) BackupArtifactNameCallCount() int
- func (fake *FakeJob) BackupArtifactNameReturns(result1 string)
- func (fake *FakeJob) BackupArtifactNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) BackupCallCount() int
- func (fake *FakeJob) BackupReturns(result1 error)
- func (fake *FakeJob) BackupReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) BackupShouldBeLockedBefore() []orchestrator.JobSpecifier
- func (fake *FakeJob) BackupShouldBeLockedBeforeCallCount() int
- func (fake *FakeJob) BackupShouldBeLockedBeforeReturns(result1 []orchestrator.JobSpecifier)
- func (fake *FakeJob) BackupShouldBeLockedBeforeReturnsOnCall(i int, result1 []orchestrator.JobSpecifier)
- func (fake *FakeJob) HasBackup() bool
- func (fake *FakeJob) HasBackupCallCount() int
- func (fake *FakeJob) HasBackupReturns(result1 bool)
- func (fake *FakeJob) HasBackupReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) HasMetadataRestoreName() bool
- func (fake *FakeJob) HasMetadataRestoreNameCallCount() int
- func (fake *FakeJob) HasMetadataRestoreNameReturns(result1 bool)
- func (fake *FakeJob) HasMetadataRestoreNameReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) HasNamedBackupArtifact() bool
- func (fake *FakeJob) HasNamedBackupArtifactCallCount() int
- func (fake *FakeJob) HasNamedBackupArtifactReturns(result1 bool)
- func (fake *FakeJob) HasNamedBackupArtifactReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) HasNamedRestoreArtifact() bool
- func (fake *FakeJob) HasNamedRestoreArtifactCallCount() int
- func (fake *FakeJob) HasNamedRestoreArtifactReturns(result1 bool)
- func (fake *FakeJob) HasNamedRestoreArtifactReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) HasRestore() bool
- func (fake *FakeJob) HasRestoreCallCount() int
- func (fake *FakeJob) HasRestoreReturns(result1 bool)
- func (fake *FakeJob) HasRestoreReturnsOnCall(i int, result1 bool)
- func (fake *FakeJob) InstanceIdentifier() string
- func (fake *FakeJob) InstanceIdentifierCallCount() int
- func (fake *FakeJob) InstanceIdentifierReturns(result1 string)
- func (fake *FakeJob) InstanceIdentifierReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Invocations() map[string][][]interface{}
- func (fake *FakeJob) Name() string
- func (fake *FakeJob) NameCallCount() int
- func (fake *FakeJob) NameReturns(result1 string)
- func (fake *FakeJob) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) PostBackupUnlock(afterSuccessfulBackup bool) error
- func (fake *FakeJob) PostBackupUnlockArgsForCall(i int) bool
- func (fake *FakeJob) PostBackupUnlockCallCount() int
- func (fake *FakeJob) PostBackupUnlockReturns(result1 error)
- func (fake *FakeJob) PostBackupUnlockReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) PostRestoreUnlock() error
- func (fake *FakeJob) PostRestoreUnlockCallCount() int
- func (fake *FakeJob) PostRestoreUnlockReturns(result1 error)
- func (fake *FakeJob) PostRestoreUnlockReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) PreBackupLock() error
- func (fake *FakeJob) PreBackupLockCallCount() int
- func (fake *FakeJob) PreBackupLockReturns(result1 error)
- func (fake *FakeJob) PreBackupLockReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) PreRestoreLock() error
- func (fake *FakeJob) PreRestoreLockCallCount() int
- func (fake *FakeJob) PreRestoreLockReturns(result1 error)
- func (fake *FakeJob) PreRestoreLockReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) Release() string
- func (fake *FakeJob) ReleaseCallCount() int
- func (fake *FakeJob) ReleaseReturns(result1 string)
- func (fake *FakeJob) ReleaseReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) Restore() error
- func (fake *FakeJob) RestoreArtifactDirectory() string
- func (fake *FakeJob) RestoreArtifactDirectoryCallCount() int
- func (fake *FakeJob) RestoreArtifactDirectoryReturns(result1 string)
- func (fake *FakeJob) RestoreArtifactDirectoryReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) RestoreArtifactName() string
- func (fake *FakeJob) RestoreArtifactNameCallCount() int
- func (fake *FakeJob) RestoreArtifactNameReturns(result1 string)
- func (fake *FakeJob) RestoreArtifactNameReturnsOnCall(i int, result1 string)
- func (fake *FakeJob) RestoreCallCount() int
- func (fake *FakeJob) RestoreReturns(result1 error)
- func (fake *FakeJob) RestoreReturnsOnCall(i int, result1 error)
- func (fake *FakeJob) RestoreShouldBeLockedBefore() []orchestrator.JobSpecifier
- func (fake *FakeJob) RestoreShouldBeLockedBeforeCallCount() int
- func (fake *FakeJob) RestoreShouldBeLockedBeforeReturns(result1 []orchestrator.JobSpecifier)
- func (fake *FakeJob) RestoreShouldBeLockedBeforeReturnsOnCall(i int, result1 []orchestrator.JobSpecifier)
- type FakeLockOrderer
- func (fake *FakeLockOrderer) Invocations() map[string][][]interface{}
- func (fake *FakeLockOrderer) Order(jobs []orchestrator.Job) ([][]orchestrator.Job, error)
- func (fake *FakeLockOrderer) OrderArgsForCall(i int) []orchestrator.Job
- func (fake *FakeLockOrderer) OrderCallCount() int
- func (fake *FakeLockOrderer) OrderReturns(result1 [][]orchestrator.Job, result2 error)
- func (fake *FakeLockOrderer) OrderReturnsOnCall(i int, result1 [][]orchestrator.Job, result2 error)
- type FakeLogger
- func (fake *FakeLogger) Debug(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) DebugArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) DebugCallCount() int
- func (fake *FakeLogger) Error(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) ErrorArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) ErrorCallCount() int
- func (fake *FakeLogger) Info(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) InfoArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) InfoCallCount() int
- func (fake *FakeLogger) Invocations() map[string][][]interface{}
- func (fake *FakeLogger) Warn(tag string, msg string, args ...interface{})
- func (fake *FakeLogger) WarnArgsForCall(i int) (string, string, []interface{})
- func (fake *FakeLogger) WarnCallCount() int
- type FakeWriteCloser
- func (fake *FakeWriteCloser) Close() error
- func (fake *FakeWriteCloser) CloseCallCount() int
- func (fake *FakeWriteCloser) CloseReturns(result1 error)
- func (fake *FakeWriteCloser) Invocations() map[string][][]interface{}
- func (fake *FakeWriteCloser) Write(p []byte) (n int, err error)
- func (fake *FakeWriteCloser) WriteArgsForCall(i int) []byte
- func (fake *FakeWriteCloser) WriteCallCount() int
- func (fake *FakeWriteCloser) WriteReturns(result1 int, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeArtifactCopier ¶ added in v1.2.1
type FakeArtifactCopier struct { DownloadBackupFromDeploymentStub func(orchestrator.Backup, orchestrator.Deployment) error UploadBackupToDeploymentStub func(orchestrator.Backup, orchestrator.Deployment) error // contains filtered or unexported fields }
func (*FakeArtifactCopier) DownloadBackupFromDeployment ¶ added in v1.2.1
func (fake *FakeArtifactCopier) DownloadBackupFromDeployment(arg1 orchestrator.Backup, arg2 orchestrator.Deployment) error
func (*FakeArtifactCopier) DownloadBackupFromDeploymentArgsForCall ¶ added in v1.2.1
func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentArgsForCall(i int) (orchestrator.Backup, orchestrator.Deployment)
func (*FakeArtifactCopier) DownloadBackupFromDeploymentCallCount ¶ added in v1.2.1
func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentCallCount() int
func (*FakeArtifactCopier) DownloadBackupFromDeploymentReturns ¶ added in v1.2.1
func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentReturns(result1 error)
func (*FakeArtifactCopier) DownloadBackupFromDeploymentReturnsOnCall ¶ added in v1.2.1
func (fake *FakeArtifactCopier) DownloadBackupFromDeploymentReturnsOnCall(i int, result1 error)
func (*FakeArtifactCopier) Invocations ¶ added in v1.2.1
func (fake *FakeArtifactCopier) Invocations() map[string][][]interface{}
func (*FakeArtifactCopier) UploadBackupToDeployment ¶ added in v1.2.1
func (fake *FakeArtifactCopier) UploadBackupToDeployment(arg1 orchestrator.Backup, arg2 orchestrator.Deployment) error
func (*FakeArtifactCopier) UploadBackupToDeploymentArgsForCall ¶ added in v1.2.1
func (fake *FakeArtifactCopier) UploadBackupToDeploymentArgsForCall(i int) (orchestrator.Backup, orchestrator.Deployment)
func (*FakeArtifactCopier) UploadBackupToDeploymentCallCount ¶ added in v1.2.1
func (fake *FakeArtifactCopier) UploadBackupToDeploymentCallCount() int
func (*FakeArtifactCopier) UploadBackupToDeploymentReturns ¶ added in v1.2.1
func (fake *FakeArtifactCopier) UploadBackupToDeploymentReturns(result1 error)
func (*FakeArtifactCopier) UploadBackupToDeploymentReturnsOnCall ¶ added in v1.2.1
func (fake *FakeArtifactCopier) UploadBackupToDeploymentReturnsOnCall(i int, result1 error)
type FakeBackup ¶
type FakeBackup struct { GetArtifactSizeStub func(orchestrator.ArtifactIdentifier) (string, error) CreateArtifactStub func(orchestrator.ArtifactIdentifier) (io.WriteCloser, error) ReadArtifactStub func(orchestrator.ArtifactIdentifier) (io.ReadCloser, error) AddChecksumStub func(orchestrator.ArtifactIdentifier, orchestrator.BackupChecksum) error CreateMetadataFileWithStartTimeStub func(time.Time) error AddFinishTimeStub func(time.Time) error FetchChecksumStub func(orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error) CalculateChecksumStub func(orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error) DeploymentMatchesStub func(string, []orchestrator.Instance) (bool, error) SaveManifestStub func(manifest string) error ValidStub func() (bool, error) // contains filtered or unexported fields }
func (*FakeBackup) AddChecksum ¶
func (fake *FakeBackup) AddChecksum(arg1 orchestrator.ArtifactIdentifier, arg2 orchestrator.BackupChecksum) error
func (*FakeBackup) AddChecksumArgsForCall ¶
func (fake *FakeBackup) AddChecksumArgsForCall(i int) (orchestrator.ArtifactIdentifier, orchestrator.BackupChecksum)
func (*FakeBackup) AddChecksumCallCount ¶
func (fake *FakeBackup) AddChecksumCallCount() int
func (*FakeBackup) AddChecksumReturns ¶
func (fake *FakeBackup) AddChecksumReturns(result1 error)
func (*FakeBackup) AddChecksumReturnsOnCall ¶
func (fake *FakeBackup) AddChecksumReturnsOnCall(i int, result1 error)
func (*FakeBackup) AddFinishTime ¶
func (fake *FakeBackup) AddFinishTime(arg1 time.Time) error
func (*FakeBackup) AddFinishTimeArgsForCall ¶
func (fake *FakeBackup) AddFinishTimeArgsForCall(i int) time.Time
func (*FakeBackup) AddFinishTimeCallCount ¶
func (fake *FakeBackup) AddFinishTimeCallCount() int
func (*FakeBackup) AddFinishTimeReturns ¶
func (fake *FakeBackup) AddFinishTimeReturns(result1 error)
func (*FakeBackup) AddFinishTimeReturnsOnCall ¶
func (fake *FakeBackup) AddFinishTimeReturnsOnCall(i int, result1 error)
func (*FakeBackup) CalculateChecksum ¶
func (fake *FakeBackup) CalculateChecksum(arg1 orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error)
func (*FakeBackup) CalculateChecksumArgsForCall ¶
func (fake *FakeBackup) CalculateChecksumArgsForCall(i int) orchestrator.ArtifactIdentifier
func (*FakeBackup) CalculateChecksumCallCount ¶
func (fake *FakeBackup) CalculateChecksumCallCount() int
func (*FakeBackup) CalculateChecksumReturns ¶
func (fake *FakeBackup) CalculateChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackup) CalculateChecksumReturnsOnCall ¶
func (fake *FakeBackup) CalculateChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackup) CreateArtifact ¶
func (fake *FakeBackup) CreateArtifact(arg1 orchestrator.ArtifactIdentifier) (io.WriteCloser, error)
func (*FakeBackup) CreateArtifactArgsForCall ¶
func (fake *FakeBackup) CreateArtifactArgsForCall(i int) orchestrator.ArtifactIdentifier
func (*FakeBackup) CreateArtifactCallCount ¶
func (fake *FakeBackup) CreateArtifactCallCount() int
func (*FakeBackup) CreateArtifactReturns ¶
func (fake *FakeBackup) CreateArtifactReturns(result1 io.WriteCloser, result2 error)
func (*FakeBackup) CreateArtifactReturnsOnCall ¶
func (fake *FakeBackup) CreateArtifactReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
func (*FakeBackup) CreateMetadataFileWithStartTime ¶
func (fake *FakeBackup) CreateMetadataFileWithStartTime(arg1 time.Time) error
func (*FakeBackup) CreateMetadataFileWithStartTimeArgsForCall ¶
func (fake *FakeBackup) CreateMetadataFileWithStartTimeArgsForCall(i int) time.Time
func (*FakeBackup) CreateMetadataFileWithStartTimeCallCount ¶
func (fake *FakeBackup) CreateMetadataFileWithStartTimeCallCount() int
func (*FakeBackup) CreateMetadataFileWithStartTimeReturns ¶
func (fake *FakeBackup) CreateMetadataFileWithStartTimeReturns(result1 error)
func (*FakeBackup) CreateMetadataFileWithStartTimeReturnsOnCall ¶
func (fake *FakeBackup) CreateMetadataFileWithStartTimeReturnsOnCall(i int, result1 error)
func (*FakeBackup) DeploymentMatches ¶
func (fake *FakeBackup) DeploymentMatches(arg1 string, arg2 []orchestrator.Instance) (bool, error)
func (*FakeBackup) DeploymentMatchesArgsForCall ¶
func (fake *FakeBackup) DeploymentMatchesArgsForCall(i int) (string, []orchestrator.Instance)
func (*FakeBackup) DeploymentMatchesCallCount ¶
func (fake *FakeBackup) DeploymentMatchesCallCount() int
func (*FakeBackup) DeploymentMatchesReturns ¶
func (fake *FakeBackup) DeploymentMatchesReturns(result1 bool, result2 error)
func (*FakeBackup) DeploymentMatchesReturnsOnCall ¶
func (fake *FakeBackup) DeploymentMatchesReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeBackup) FetchChecksum ¶
func (fake *FakeBackup) FetchChecksum(arg1 orchestrator.ArtifactIdentifier) (orchestrator.BackupChecksum, error)
func (*FakeBackup) FetchChecksumArgsForCall ¶
func (fake *FakeBackup) FetchChecksumArgsForCall(i int) orchestrator.ArtifactIdentifier
func (*FakeBackup) FetchChecksumCallCount ¶
func (fake *FakeBackup) FetchChecksumCallCount() int
func (*FakeBackup) FetchChecksumReturns ¶
func (fake *FakeBackup) FetchChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackup) FetchChecksumReturnsOnCall ¶
func (fake *FakeBackup) FetchChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackup) GetArtifactSize ¶ added in v1.4.0
func (fake *FakeBackup) GetArtifactSize(arg1 orchestrator.ArtifactIdentifier) (string, error)
func (*FakeBackup) GetArtifactSizeArgsForCall ¶ added in v1.4.0
func (fake *FakeBackup) GetArtifactSizeArgsForCall(i int) orchestrator.ArtifactIdentifier
func (*FakeBackup) GetArtifactSizeCallCount ¶ added in v1.4.0
func (fake *FakeBackup) GetArtifactSizeCallCount() int
func (*FakeBackup) GetArtifactSizeReturns ¶ added in v1.4.0
func (fake *FakeBackup) GetArtifactSizeReturns(result1 string, result2 error)
func (*FakeBackup) GetArtifactSizeReturnsOnCall ¶ added in v1.4.0
func (fake *FakeBackup) GetArtifactSizeReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBackup) Invocations ¶
func (fake *FakeBackup) Invocations() map[string][][]interface{}
func (*FakeBackup) ReadArtifact ¶
func (fake *FakeBackup) ReadArtifact(arg1 orchestrator.ArtifactIdentifier) (io.ReadCloser, error)
func (*FakeBackup) ReadArtifactArgsForCall ¶
func (fake *FakeBackup) ReadArtifactArgsForCall(i int) orchestrator.ArtifactIdentifier
func (*FakeBackup) ReadArtifactCallCount ¶
func (fake *FakeBackup) ReadArtifactCallCount() int
func (*FakeBackup) ReadArtifactReturns ¶
func (fake *FakeBackup) ReadArtifactReturns(result1 io.ReadCloser, result2 error)
func (*FakeBackup) ReadArtifactReturnsOnCall ¶
func (fake *FakeBackup) ReadArtifactReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeBackup) SaveManifest ¶
func (fake *FakeBackup) SaveManifest(manifest string) error
func (*FakeBackup) SaveManifestArgsForCall ¶
func (fake *FakeBackup) SaveManifestArgsForCall(i int) string
func (*FakeBackup) SaveManifestCallCount ¶
func (fake *FakeBackup) SaveManifestCallCount() int
func (*FakeBackup) SaveManifestReturns ¶
func (fake *FakeBackup) SaveManifestReturns(result1 error)
func (*FakeBackup) SaveManifestReturnsOnCall ¶
func (fake *FakeBackup) SaveManifestReturnsOnCall(i int, result1 error)
func (*FakeBackup) Valid ¶
func (fake *FakeBackup) Valid() (bool, error)
func (*FakeBackup) ValidCallCount ¶
func (fake *FakeBackup) ValidCallCount() int
func (*FakeBackup) ValidReturns ¶
func (fake *FakeBackup) ValidReturns(result1 bool, result2 error)
func (*FakeBackup) ValidReturnsOnCall ¶
func (fake *FakeBackup) ValidReturnsOnCall(i int, result1 bool, result2 error)
type FakeBackupArtifact ¶
type FakeBackupArtifact struct { InstanceNameStub func() string InstanceIndexStub func() string InstanceIDStub func() string NameStub func() string HasCustomNameStub func() bool SizeStub func() (string, error) ChecksumStub func() (orchestrator.BackupChecksum, error) StreamFromRemoteStub func(io.Writer) error DeleteStub func() error StreamToRemoteStub func(io.Reader) error // contains filtered or unexported fields }
func (*FakeBackupArtifact) Checksum ¶
func (fake *FakeBackupArtifact) Checksum() (orchestrator.BackupChecksum, error)
func (*FakeBackupArtifact) ChecksumCallCount ¶
func (fake *FakeBackupArtifact) ChecksumCallCount() int
func (*FakeBackupArtifact) ChecksumReturns ¶
func (fake *FakeBackupArtifact) ChecksumReturns(result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackupArtifact) ChecksumReturnsOnCall ¶
func (fake *FakeBackupArtifact) ChecksumReturnsOnCall(i int, result1 orchestrator.BackupChecksum, result2 error)
func (*FakeBackupArtifact) Delete ¶
func (fake *FakeBackupArtifact) Delete() error
func (*FakeBackupArtifact) DeleteCallCount ¶
func (fake *FakeBackupArtifact) DeleteCallCount() int
func (*FakeBackupArtifact) DeleteReturns ¶
func (fake *FakeBackupArtifact) DeleteReturns(result1 error)
func (*FakeBackupArtifact) DeleteReturnsOnCall ¶
func (fake *FakeBackupArtifact) DeleteReturnsOnCall(i int, result1 error)
func (*FakeBackupArtifact) HasCustomName ¶
func (fake *FakeBackupArtifact) HasCustomName() bool
func (*FakeBackupArtifact) HasCustomNameCallCount ¶
func (fake *FakeBackupArtifact) HasCustomNameCallCount() int
func (*FakeBackupArtifact) HasCustomNameReturns ¶
func (fake *FakeBackupArtifact) HasCustomNameReturns(result1 bool)
func (*FakeBackupArtifact) HasCustomNameReturnsOnCall ¶
func (fake *FakeBackupArtifact) HasCustomNameReturnsOnCall(i int, result1 bool)
func (*FakeBackupArtifact) InstanceID ¶ added in v1.2.1
func (fake *FakeBackupArtifact) InstanceID() string
func (*FakeBackupArtifact) InstanceIDCallCount ¶ added in v1.2.1
func (fake *FakeBackupArtifact) InstanceIDCallCount() int
func (*FakeBackupArtifact) InstanceIDReturns ¶ added in v1.2.1
func (fake *FakeBackupArtifact) InstanceIDReturns(result1 string)
func (*FakeBackupArtifact) InstanceIDReturnsOnCall ¶ added in v1.2.1
func (fake *FakeBackupArtifact) InstanceIDReturnsOnCall(i int, result1 string)
func (*FakeBackupArtifact) InstanceIndex ¶
func (fake *FakeBackupArtifact) InstanceIndex() string
func (*FakeBackupArtifact) InstanceIndexCallCount ¶
func (fake *FakeBackupArtifact) InstanceIndexCallCount() int
func (*FakeBackupArtifact) InstanceIndexReturns ¶
func (fake *FakeBackupArtifact) InstanceIndexReturns(result1 string)
func (*FakeBackupArtifact) InstanceIndexReturnsOnCall ¶
func (fake *FakeBackupArtifact) InstanceIndexReturnsOnCall(i int, result1 string)
func (*FakeBackupArtifact) InstanceName ¶
func (fake *FakeBackupArtifact) InstanceName() string
func (*FakeBackupArtifact) InstanceNameCallCount ¶
func (fake *FakeBackupArtifact) InstanceNameCallCount() int
func (*FakeBackupArtifact) InstanceNameReturns ¶
func (fake *FakeBackupArtifact) InstanceNameReturns(result1 string)
func (*FakeBackupArtifact) InstanceNameReturnsOnCall ¶
func (fake *FakeBackupArtifact) InstanceNameReturnsOnCall(i int, result1 string)
func (*FakeBackupArtifact) Invocations ¶
func (fake *FakeBackupArtifact) Invocations() map[string][][]interface{}
func (*FakeBackupArtifact) Name ¶
func (fake *FakeBackupArtifact) Name() string
func (*FakeBackupArtifact) NameCallCount ¶
func (fake *FakeBackupArtifact) NameCallCount() int
func (*FakeBackupArtifact) NameReturns ¶
func (fake *FakeBackupArtifact) NameReturns(result1 string)
func (*FakeBackupArtifact) NameReturnsOnCall ¶
func (fake *FakeBackupArtifact) NameReturnsOnCall(i int, result1 string)
func (*FakeBackupArtifact) Size ¶
func (fake *FakeBackupArtifact) Size() (string, error)
func (*FakeBackupArtifact) SizeCallCount ¶
func (fake *FakeBackupArtifact) SizeCallCount() int
func (*FakeBackupArtifact) SizeReturns ¶
func (fake *FakeBackupArtifact) SizeReturns(result1 string, result2 error)
func (*FakeBackupArtifact) SizeReturnsOnCall ¶
func (fake *FakeBackupArtifact) SizeReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBackupArtifact) StreamFromRemote ¶
func (fake *FakeBackupArtifact) StreamFromRemote(arg1 io.Writer) error
func (*FakeBackupArtifact) StreamFromRemoteArgsForCall ¶
func (fake *FakeBackupArtifact) StreamFromRemoteArgsForCall(i int) io.Writer
func (*FakeBackupArtifact) StreamFromRemoteCallCount ¶
func (fake *FakeBackupArtifact) StreamFromRemoteCallCount() int
func (*FakeBackupArtifact) StreamFromRemoteReturns ¶
func (fake *FakeBackupArtifact) StreamFromRemoteReturns(result1 error)
func (*FakeBackupArtifact) StreamFromRemoteReturnsOnCall ¶
func (fake *FakeBackupArtifact) StreamFromRemoteReturnsOnCall(i int, result1 error)
func (*FakeBackupArtifact) StreamToRemote ¶
func (fake *FakeBackupArtifact) StreamToRemote(arg1 io.Reader) error
func (*FakeBackupArtifact) StreamToRemoteArgsForCall ¶
func (fake *FakeBackupArtifact) StreamToRemoteArgsForCall(i int) io.Reader
func (*FakeBackupArtifact) StreamToRemoteCallCount ¶
func (fake *FakeBackupArtifact) StreamToRemoteCallCount() int
func (*FakeBackupArtifact) StreamToRemoteReturns ¶
func (fake *FakeBackupArtifact) StreamToRemoteReturns(result1 error)
func (*FakeBackupArtifact) StreamToRemoteReturnsOnCall ¶
func (fake *FakeBackupArtifact) StreamToRemoteReturnsOnCall(i int, result1 error)
type FakeBackupManager ¶
type FakeBackupManager struct { CreateStub func(string, string, orchestrator.Logger) (orchestrator.Backup, error) OpenStub func(string, orchestrator.Logger) (orchestrator.Backup, error) // contains filtered or unexported fields }
func (*FakeBackupManager) Create ¶
func (fake *FakeBackupManager) Create(arg1 string, arg2 string, arg3 orchestrator.Logger) (orchestrator.Backup, error)
func (*FakeBackupManager) CreateArgsForCall ¶
func (fake *FakeBackupManager) CreateArgsForCall(i int) (string, string, orchestrator.Logger)
func (*FakeBackupManager) CreateCallCount ¶
func (fake *FakeBackupManager) CreateCallCount() int
func (*FakeBackupManager) CreateReturns ¶
func (fake *FakeBackupManager) CreateReturns(result1 orchestrator.Backup, result2 error)
func (*FakeBackupManager) CreateReturnsOnCall ¶
func (fake *FakeBackupManager) CreateReturnsOnCall(i int, result1 orchestrator.Backup, result2 error)
func (*FakeBackupManager) Invocations ¶
func (fake *FakeBackupManager) Invocations() map[string][][]interface{}
func (*FakeBackupManager) Open ¶
func (fake *FakeBackupManager) Open(arg1 string, arg2 orchestrator.Logger) (orchestrator.Backup, error)
func (*FakeBackupManager) OpenArgsForCall ¶
func (fake *FakeBackupManager) OpenArgsForCall(i int) (string, orchestrator.Logger)
func (*FakeBackupManager) OpenCallCount ¶
func (fake *FakeBackupManager) OpenCallCount() int
func (*FakeBackupManager) OpenReturns ¶
func (fake *FakeBackupManager) OpenReturns(result1 orchestrator.Backup, result2 error)
func (*FakeBackupManager) OpenReturnsOnCall ¶
func (fake *FakeBackupManager) OpenReturnsOnCall(i int, result1 orchestrator.Backup, result2 error)
type FakeDeployment ¶
type FakeDeployment struct { IsBackupableStub func() bool BackupableInstancesStub func() []orchestrator.Instance CheckArtifactDirStub func() error IsRestorableStub func() bool RestorableInstancesStub func() []orchestrator.Instance PreBackupLockStub func(orchestrator.LockOrderer, executor.Executor) error BackupStub func(executor.Executor) error PostBackupUnlockStub func(bool, orchestrator.LockOrderer, executor.Executor) error RestoreStub func() error CleanupStub func() error CleanupPreviousStub func() error InstancesStub func() []orchestrator.Instance PreRestoreLockStub func(orchestrator.LockOrderer, executor.Executor) error PostRestoreUnlockStub func(orchestrator.LockOrderer, executor.Executor) error ValidateLockingDependenciesStub func(orderer orchestrator.LockOrderer) error // contains filtered or unexported fields }
func (*FakeDeployment) BackupArgsForCall ¶ added in v1.3.0
func (fake *FakeDeployment) BackupArgsForCall(i int) executor.Executor
func (*FakeDeployment) BackupCallCount ¶
func (fake *FakeDeployment) BackupCallCount() int
func (*FakeDeployment) BackupReturns ¶
func (fake *FakeDeployment) BackupReturns(result1 error)
func (*FakeDeployment) BackupReturnsOnCall ¶
func (fake *FakeDeployment) BackupReturnsOnCall(i int, result1 error)
func (*FakeDeployment) BackupableInstances ¶ added in v1.2.1
func (fake *FakeDeployment) BackupableInstances() []orchestrator.Instance
func (*FakeDeployment) BackupableInstancesCallCount ¶ added in v1.2.1
func (fake *FakeDeployment) BackupableInstancesCallCount() int
func (*FakeDeployment) BackupableInstancesReturns ¶ added in v1.2.1
func (fake *FakeDeployment) BackupableInstancesReturns(result1 []orchestrator.Instance)
func (*FakeDeployment) BackupableInstancesReturnsOnCall ¶ added in v1.2.1
func (fake *FakeDeployment) BackupableInstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
func (*FakeDeployment) CheckArtifactDir ¶
func (fake *FakeDeployment) CheckArtifactDir() error
func (*FakeDeployment) CheckArtifactDirCallCount ¶
func (fake *FakeDeployment) CheckArtifactDirCallCount() int
func (*FakeDeployment) CheckArtifactDirReturns ¶
func (fake *FakeDeployment) CheckArtifactDirReturns(result1 error)
func (*FakeDeployment) CheckArtifactDirReturnsOnCall ¶
func (fake *FakeDeployment) CheckArtifactDirReturnsOnCall(i int, result1 error)
func (*FakeDeployment) Cleanup ¶
func (fake *FakeDeployment) Cleanup() error
func (*FakeDeployment) CleanupCallCount ¶
func (fake *FakeDeployment) CleanupCallCount() int
func (*FakeDeployment) CleanupPrevious ¶ added in v1.0.0
func (fake *FakeDeployment) CleanupPrevious() error
func (*FakeDeployment) CleanupPreviousCallCount ¶ added in v1.0.0
func (fake *FakeDeployment) CleanupPreviousCallCount() int
func (*FakeDeployment) CleanupPreviousReturns ¶ added in v1.0.0
func (fake *FakeDeployment) CleanupPreviousReturns(result1 error)
func (*FakeDeployment) CleanupPreviousReturnsOnCall ¶ added in v1.0.0
func (fake *FakeDeployment) CleanupPreviousReturnsOnCall(i int, result1 error)
func (*FakeDeployment) CleanupReturns ¶
func (fake *FakeDeployment) CleanupReturns(result1 error)
func (*FakeDeployment) CleanupReturnsOnCall ¶
func (fake *FakeDeployment) CleanupReturnsOnCall(i int, result1 error)
func (*FakeDeployment) Instances ¶
func (fake *FakeDeployment) Instances() []orchestrator.Instance
func (*FakeDeployment) InstancesCallCount ¶
func (fake *FakeDeployment) InstancesCallCount() int
func (*FakeDeployment) InstancesReturns ¶
func (fake *FakeDeployment) InstancesReturns(result1 []orchestrator.Instance)
func (*FakeDeployment) InstancesReturnsOnCall ¶
func (fake *FakeDeployment) InstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
func (*FakeDeployment) Invocations ¶
func (fake *FakeDeployment) Invocations() map[string][][]interface{}
func (*FakeDeployment) IsBackupable ¶ added in v1.0.0
func (fake *FakeDeployment) IsBackupable() bool
func (*FakeDeployment) IsBackupableCallCount ¶ added in v1.0.0
func (fake *FakeDeployment) IsBackupableCallCount() int
func (*FakeDeployment) IsBackupableReturns ¶ added in v1.0.0
func (fake *FakeDeployment) IsBackupableReturns(result1 bool)
func (*FakeDeployment) IsBackupableReturnsOnCall ¶ added in v1.0.0
func (fake *FakeDeployment) IsBackupableReturnsOnCall(i int, result1 bool)
func (*FakeDeployment) IsRestorable ¶
func (fake *FakeDeployment) IsRestorable() bool
func (*FakeDeployment) IsRestorableCallCount ¶
func (fake *FakeDeployment) IsRestorableCallCount() int
func (*FakeDeployment) IsRestorableReturns ¶
func (fake *FakeDeployment) IsRestorableReturns(result1 bool)
func (*FakeDeployment) IsRestorableReturnsOnCall ¶
func (fake *FakeDeployment) IsRestorableReturnsOnCall(i int, result1 bool)
func (*FakeDeployment) PostBackupUnlock ¶
func (fake *FakeDeployment) PostBackupUnlock(arg1 bool, arg2 orchestrator.LockOrderer, arg3 executor.Executor) error
func (*FakeDeployment) PostBackupUnlockArgsForCall ¶ added in v1.1.0
func (fake *FakeDeployment) PostBackupUnlockArgsForCall(i int) (bool, orchestrator.LockOrderer, executor.Executor)
func (*FakeDeployment) PostBackupUnlockCallCount ¶
func (fake *FakeDeployment) PostBackupUnlockCallCount() int
func (*FakeDeployment) PostBackupUnlockReturns ¶
func (fake *FakeDeployment) PostBackupUnlockReturns(result1 error)
func (*FakeDeployment) PostBackupUnlockReturnsOnCall ¶
func (fake *FakeDeployment) PostBackupUnlockReturnsOnCall(i int, result1 error)
func (*FakeDeployment) PostRestoreUnlock ¶ added in v1.0.0
func (fake *FakeDeployment) PostRestoreUnlock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
func (*FakeDeployment) PostRestoreUnlockArgsForCall ¶ added in v1.1.0
func (fake *FakeDeployment) PostRestoreUnlockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
func (*FakeDeployment) PostRestoreUnlockCallCount ¶ added in v1.0.0
func (fake *FakeDeployment) PostRestoreUnlockCallCount() int
func (*FakeDeployment) PostRestoreUnlockReturns ¶ added in v1.0.0
func (fake *FakeDeployment) PostRestoreUnlockReturns(result1 error)
func (*FakeDeployment) PostRestoreUnlockReturnsOnCall ¶ added in v1.0.0
func (fake *FakeDeployment) PostRestoreUnlockReturnsOnCall(i int, result1 error)
func (*FakeDeployment) PreBackupLock ¶
func (fake *FakeDeployment) PreBackupLock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
func (*FakeDeployment) PreBackupLockArgsForCall ¶ added in v1.1.0
func (fake *FakeDeployment) PreBackupLockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
func (*FakeDeployment) PreBackupLockCallCount ¶
func (fake *FakeDeployment) PreBackupLockCallCount() int
func (*FakeDeployment) PreBackupLockReturns ¶
func (fake *FakeDeployment) PreBackupLockReturns(result1 error)
func (*FakeDeployment) PreBackupLockReturnsOnCall ¶
func (fake *FakeDeployment) PreBackupLockReturnsOnCall(i int, result1 error)
func (*FakeDeployment) PreRestoreLock ¶ added in v1.1.0
func (fake *FakeDeployment) PreRestoreLock(arg1 orchestrator.LockOrderer, arg2 executor.Executor) error
func (*FakeDeployment) PreRestoreLockArgsForCall ¶ added in v1.1.0
func (fake *FakeDeployment) PreRestoreLockArgsForCall(i int) (orchestrator.LockOrderer, executor.Executor)
func (*FakeDeployment) PreRestoreLockCallCount ¶ added in v1.1.0
func (fake *FakeDeployment) PreRestoreLockCallCount() int
func (*FakeDeployment) PreRestoreLockReturns ¶ added in v1.1.0
func (fake *FakeDeployment) PreRestoreLockReturns(result1 error)
func (*FakeDeployment) PreRestoreLockReturnsOnCall ¶ added in v1.1.0
func (fake *FakeDeployment) PreRestoreLockReturnsOnCall(i int, result1 error)
func (*FakeDeployment) RestorableInstances ¶ added in v1.2.1
func (fake *FakeDeployment) RestorableInstances() []orchestrator.Instance
func (*FakeDeployment) RestorableInstancesCallCount ¶ added in v1.2.1
func (fake *FakeDeployment) RestorableInstancesCallCount() int
func (*FakeDeployment) RestorableInstancesReturns ¶ added in v1.2.1
func (fake *FakeDeployment) RestorableInstancesReturns(result1 []orchestrator.Instance)
func (*FakeDeployment) RestorableInstancesReturnsOnCall ¶ added in v1.2.1
func (fake *FakeDeployment) RestorableInstancesReturnsOnCall(i int, result1 []orchestrator.Instance)
func (*FakeDeployment) Restore ¶
func (fake *FakeDeployment) Restore() error
func (*FakeDeployment) RestoreCallCount ¶
func (fake *FakeDeployment) RestoreCallCount() int
func (*FakeDeployment) RestoreReturns ¶
func (fake *FakeDeployment) RestoreReturns(result1 error)
func (*FakeDeployment) RestoreReturnsOnCall ¶
func (fake *FakeDeployment) RestoreReturnsOnCall(i int, result1 error)
func (*FakeDeployment) ValidateLockingDependencies ¶ added in v1.1.0
func (fake *FakeDeployment) ValidateLockingDependencies(orderer orchestrator.LockOrderer) error
func (*FakeDeployment) ValidateLockingDependenciesArgsForCall ¶ added in v1.1.0
func (fake *FakeDeployment) ValidateLockingDependenciesArgsForCall(i int) orchestrator.LockOrderer
func (*FakeDeployment) ValidateLockingDependenciesCallCount ¶ added in v1.1.0
func (fake *FakeDeployment) ValidateLockingDependenciesCallCount() int
func (*FakeDeployment) ValidateLockingDependenciesReturns ¶ added in v1.1.0
func (fake *FakeDeployment) ValidateLockingDependenciesReturns(result1 error)
func (*FakeDeployment) ValidateLockingDependenciesReturnsOnCall ¶ added in v1.1.0
func (fake *FakeDeployment) ValidateLockingDependenciesReturnsOnCall(i int, result1 error)
type FakeDeploymentManager ¶
type FakeDeploymentManager struct { FindStub func(deploymentName string) (orchestrator.Deployment, error) SaveManifestStub func(deploymentName string, artifact orchestrator.Backup) error // contains filtered or unexported fields }
func (*FakeDeploymentManager) Find ¶
func (fake *FakeDeploymentManager) Find(deploymentName string) (orchestrator.Deployment, error)
func (*FakeDeploymentManager) FindArgsForCall ¶
func (fake *FakeDeploymentManager) FindArgsForCall(i int) string
func (*FakeDeploymentManager) FindCallCount ¶
func (fake *FakeDeploymentManager) FindCallCount() int
func (*FakeDeploymentManager) FindReturns ¶
func (fake *FakeDeploymentManager) FindReturns(result1 orchestrator.Deployment, result2 error)
func (*FakeDeploymentManager) FindReturnsOnCall ¶
func (fake *FakeDeploymentManager) FindReturnsOnCall(i int, result1 orchestrator.Deployment, result2 error)
func (*FakeDeploymentManager) Invocations ¶
func (fake *FakeDeploymentManager) Invocations() map[string][][]interface{}
func (*FakeDeploymentManager) SaveManifest ¶
func (fake *FakeDeploymentManager) SaveManifest(deploymentName string, artifact orchestrator.Backup) error
func (*FakeDeploymentManager) SaveManifestArgsForCall ¶
func (fake *FakeDeploymentManager) SaveManifestArgsForCall(i int) (string, orchestrator.Backup)
func (*FakeDeploymentManager) SaveManifestCallCount ¶
func (fake *FakeDeploymentManager) SaveManifestCallCount() int
func (*FakeDeploymentManager) SaveManifestReturns ¶
func (fake *FakeDeploymentManager) SaveManifestReturns(result1 error)
func (*FakeDeploymentManager) SaveManifestReturnsOnCall ¶
func (fake *FakeDeploymentManager) SaveManifestReturnsOnCall(i int, result1 error)
type FakeInstance ¶
type FakeInstance struct { NameStub func() string IndexStub func() string IDStub func() string IsBackupableStub func() bool ArtifactDirExistsStub func() (bool, error) ArtifactDirCreatedStub func() bool MarkArtifactDirCreatedStub func() IsRestorableStub func() bool BackupStub func() error RestoreStub func() error CleanupStub func() error CleanupPreviousStub func() error ArtifactsToBackupStub func() []orchestrator.BackupArtifact ArtifactsToRestoreStub func() []orchestrator.BackupArtifact HasMetadataRestoreNamesStub func() bool JobsStub func() []orchestrator.Job // contains filtered or unexported fields }
func (*FakeInstance) ArtifactDirCreated ¶
func (fake *FakeInstance) ArtifactDirCreated() bool
func (*FakeInstance) ArtifactDirCreatedCallCount ¶
func (fake *FakeInstance) ArtifactDirCreatedCallCount() int
func (*FakeInstance) ArtifactDirCreatedReturns ¶
func (fake *FakeInstance) ArtifactDirCreatedReturns(result1 bool)
func (*FakeInstance) ArtifactDirCreatedReturnsOnCall ¶
func (fake *FakeInstance) ArtifactDirCreatedReturnsOnCall(i int, result1 bool)
func (*FakeInstance) ArtifactDirExists ¶
func (fake *FakeInstance) ArtifactDirExists() (bool, error)
func (*FakeInstance) ArtifactDirExistsCallCount ¶
func (fake *FakeInstance) ArtifactDirExistsCallCount() int
func (*FakeInstance) ArtifactDirExistsReturns ¶
func (fake *FakeInstance) ArtifactDirExistsReturns(result1 bool, result2 error)
func (*FakeInstance) ArtifactDirExistsReturnsOnCall ¶
func (fake *FakeInstance) ArtifactDirExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeInstance) ArtifactsToBackup ¶
func (fake *FakeInstance) ArtifactsToBackup() []orchestrator.BackupArtifact
func (*FakeInstance) ArtifactsToBackupCallCount ¶
func (fake *FakeInstance) ArtifactsToBackupCallCount() int
func (*FakeInstance) ArtifactsToBackupReturns ¶
func (fake *FakeInstance) ArtifactsToBackupReturns(result1 []orchestrator.BackupArtifact)
func (*FakeInstance) ArtifactsToBackupReturnsOnCall ¶
func (fake *FakeInstance) ArtifactsToBackupReturnsOnCall(i int, result1 []orchestrator.BackupArtifact)
func (*FakeInstance) ArtifactsToRestore ¶
func (fake *FakeInstance) ArtifactsToRestore() []orchestrator.BackupArtifact
func (*FakeInstance) ArtifactsToRestoreCallCount ¶
func (fake *FakeInstance) ArtifactsToRestoreCallCount() int
func (*FakeInstance) ArtifactsToRestoreReturns ¶
func (fake *FakeInstance) ArtifactsToRestoreReturns(result1 []orchestrator.BackupArtifact)
func (*FakeInstance) ArtifactsToRestoreReturnsOnCall ¶
func (fake *FakeInstance) ArtifactsToRestoreReturnsOnCall(i int, result1 []orchestrator.BackupArtifact)
func (*FakeInstance) Backup ¶
func (fake *FakeInstance) Backup() error
func (*FakeInstance) BackupCallCount ¶
func (fake *FakeInstance) BackupCallCount() int
func (*FakeInstance) BackupReturns ¶
func (fake *FakeInstance) BackupReturns(result1 error)
func (*FakeInstance) BackupReturnsOnCall ¶
func (fake *FakeInstance) BackupReturnsOnCall(i int, result1 error)
func (*FakeInstance) Cleanup ¶
func (fake *FakeInstance) Cleanup() error
func (*FakeInstance) CleanupCallCount ¶
func (fake *FakeInstance) CleanupCallCount() int
func (*FakeInstance) CleanupPrevious ¶ added in v1.0.0
func (fake *FakeInstance) CleanupPrevious() error
func (*FakeInstance) CleanupPreviousCallCount ¶ added in v1.0.0
func (fake *FakeInstance) CleanupPreviousCallCount() int
func (*FakeInstance) CleanupPreviousReturns ¶ added in v1.0.0
func (fake *FakeInstance) CleanupPreviousReturns(result1 error)
func (*FakeInstance) CleanupPreviousReturnsOnCall ¶ added in v1.0.0
func (fake *FakeInstance) CleanupPreviousReturnsOnCall(i int, result1 error)
func (*FakeInstance) CleanupReturns ¶
func (fake *FakeInstance) CleanupReturns(result1 error)
func (*FakeInstance) CleanupReturnsOnCall ¶
func (fake *FakeInstance) CleanupReturnsOnCall(i int, result1 error)
func (*FakeInstance) HasMetadataRestoreNames ¶ added in v1.5.0
func (fake *FakeInstance) HasMetadataRestoreNames() bool
func (*FakeInstance) HasMetadataRestoreNamesCallCount ¶ added in v1.5.0
func (fake *FakeInstance) HasMetadataRestoreNamesCallCount() int
func (*FakeInstance) HasMetadataRestoreNamesReturns ¶ added in v1.5.0
func (fake *FakeInstance) HasMetadataRestoreNamesReturns(result1 bool)
func (*FakeInstance) HasMetadataRestoreNamesReturnsOnCall ¶ added in v1.5.0
func (fake *FakeInstance) HasMetadataRestoreNamesReturnsOnCall(i int, result1 bool)
func (*FakeInstance) ID ¶
func (fake *FakeInstance) ID() string
func (*FakeInstance) IDCallCount ¶
func (fake *FakeInstance) IDCallCount() int
func (*FakeInstance) IDReturns ¶
func (fake *FakeInstance) IDReturns(result1 string)
func (*FakeInstance) IDReturnsOnCall ¶
func (fake *FakeInstance) IDReturnsOnCall(i int, result1 string)
func (*FakeInstance) Index ¶
func (fake *FakeInstance) Index() string
func (*FakeInstance) IndexCallCount ¶
func (fake *FakeInstance) IndexCallCount() int
func (*FakeInstance) IndexReturns ¶
func (fake *FakeInstance) IndexReturns(result1 string)
func (*FakeInstance) IndexReturnsOnCall ¶
func (fake *FakeInstance) IndexReturnsOnCall(i int, result1 string)
func (*FakeInstance) Invocations ¶
func (fake *FakeInstance) Invocations() map[string][][]interface{}
func (*FakeInstance) IsBackupable ¶ added in v1.0.0
func (fake *FakeInstance) IsBackupable() bool
func (*FakeInstance) IsBackupableCallCount ¶ added in v1.0.0
func (fake *FakeInstance) IsBackupableCallCount() int
func (*FakeInstance) IsBackupableReturns ¶ added in v1.0.0
func (fake *FakeInstance) IsBackupableReturns(result1 bool)
func (*FakeInstance) IsBackupableReturnsOnCall ¶ added in v1.0.0
func (fake *FakeInstance) IsBackupableReturnsOnCall(i int, result1 bool)
func (*FakeInstance) IsRestorable ¶
func (fake *FakeInstance) IsRestorable() bool
func (*FakeInstance) IsRestorableCallCount ¶
func (fake *FakeInstance) IsRestorableCallCount() int
func (*FakeInstance) IsRestorableReturns ¶
func (fake *FakeInstance) IsRestorableReturns(result1 bool)
func (*FakeInstance) IsRestorableReturnsOnCall ¶
func (fake *FakeInstance) IsRestorableReturnsOnCall(i int, result1 bool)
func (*FakeInstance) Jobs ¶ added in v1.1.0
func (fake *FakeInstance) Jobs() []orchestrator.Job
func (*FakeInstance) JobsCallCount ¶ added in v1.1.0
func (fake *FakeInstance) JobsCallCount() int
func (*FakeInstance) JobsReturns ¶ added in v1.1.0
func (fake *FakeInstance) JobsReturns(result1 []orchestrator.Job)
func (*FakeInstance) JobsReturnsOnCall ¶ added in v1.1.0
func (fake *FakeInstance) JobsReturnsOnCall(i int, result1 []orchestrator.Job)
func (*FakeInstance) MarkArtifactDirCreated ¶
func (fake *FakeInstance) MarkArtifactDirCreated()
func (*FakeInstance) MarkArtifactDirCreatedCallCount ¶
func (fake *FakeInstance) MarkArtifactDirCreatedCallCount() int
func (*FakeInstance) Name ¶
func (fake *FakeInstance) Name() string
func (*FakeInstance) NameCallCount ¶
func (fake *FakeInstance) NameCallCount() int
func (*FakeInstance) NameReturns ¶
func (fake *FakeInstance) NameReturns(result1 string)
func (*FakeInstance) NameReturnsOnCall ¶
func (fake *FakeInstance) NameReturnsOnCall(i int, result1 string)
func (*FakeInstance) Restore ¶
func (fake *FakeInstance) Restore() error
func (*FakeInstance) RestoreCallCount ¶
func (fake *FakeInstance) RestoreCallCount() int
func (*FakeInstance) RestoreReturns ¶
func (fake *FakeInstance) RestoreReturns(result1 error)
func (*FakeInstance) RestoreReturnsOnCall ¶
func (fake *FakeInstance) RestoreReturnsOnCall(i int, result1 error)
type FakeJob ¶ added in v1.1.0
type FakeJob struct { HasBackupStub func() bool HasRestoreStub func() bool HasNamedBackupArtifactStub func() bool HasNamedRestoreArtifactStub func() bool BackupArtifactNameStub func() string RestoreArtifactNameStub func() string HasMetadataRestoreNameStub func() bool BackupStub func() error PreBackupLockStub func() error PostBackupUnlockStub func(afterSuccessfulBackup bool) error PreRestoreLockStub func() error RestoreStub func() error PostRestoreUnlockStub func() error NameStub func() string ReleaseStub func() string InstanceIdentifierStub func() string BackupArtifactDirectoryStub func() string RestoreArtifactDirectoryStub func() string BackupShouldBeLockedBeforeStub func() []orchestrator.JobSpecifier RestoreShouldBeLockedBeforeStub func() []orchestrator.JobSpecifier // contains filtered or unexported fields }
func (*FakeJob) BackupArtifactDirectory ¶ added in v1.1.0
func (*FakeJob) BackupArtifactDirectoryCallCount ¶ added in v1.1.0
func (*FakeJob) BackupArtifactDirectoryReturns ¶ added in v1.1.0
func (*FakeJob) BackupArtifactDirectoryReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) BackupArtifactName ¶ added in v1.1.0
func (*FakeJob) BackupArtifactNameCallCount ¶ added in v1.1.0
func (*FakeJob) BackupArtifactNameReturns ¶ added in v1.1.0
func (*FakeJob) BackupArtifactNameReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) BackupCallCount ¶ added in v1.1.0
func (*FakeJob) BackupReturns ¶ added in v1.1.0
func (*FakeJob) BackupReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) BackupShouldBeLockedBefore ¶ added in v1.1.0
func (fake *FakeJob) BackupShouldBeLockedBefore() []orchestrator.JobSpecifier
func (*FakeJob) BackupShouldBeLockedBeforeCallCount ¶ added in v1.1.0
func (*FakeJob) BackupShouldBeLockedBeforeReturns ¶ added in v1.1.0
func (fake *FakeJob) BackupShouldBeLockedBeforeReturns(result1 []orchestrator.JobSpecifier)
func (*FakeJob) BackupShouldBeLockedBeforeReturnsOnCall ¶ added in v1.1.0
func (fake *FakeJob) BackupShouldBeLockedBeforeReturnsOnCall(i int, result1 []orchestrator.JobSpecifier)
func (*FakeJob) HasBackupCallCount ¶ added in v1.1.0
func (*FakeJob) HasBackupReturns ¶ added in v1.1.0
func (*FakeJob) HasBackupReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) HasMetadataRestoreName ¶ added in v1.5.0
func (*FakeJob) HasMetadataRestoreNameCallCount ¶ added in v1.5.0
func (*FakeJob) HasMetadataRestoreNameReturns ¶ added in v1.5.0
func (*FakeJob) HasMetadataRestoreNameReturnsOnCall ¶ added in v1.5.0
func (*FakeJob) HasNamedBackupArtifact ¶ added in v1.1.0
func (*FakeJob) HasNamedBackupArtifactCallCount ¶ added in v1.1.0
func (*FakeJob) HasNamedBackupArtifactReturns ¶ added in v1.1.0
func (*FakeJob) HasNamedBackupArtifactReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) HasNamedRestoreArtifact ¶ added in v1.1.0
func (*FakeJob) HasNamedRestoreArtifactCallCount ¶ added in v1.1.0
func (*FakeJob) HasNamedRestoreArtifactReturns ¶ added in v1.1.0
func (*FakeJob) HasNamedRestoreArtifactReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) HasRestore ¶ added in v1.1.0
func (*FakeJob) HasRestoreCallCount ¶ added in v1.1.0
func (*FakeJob) HasRestoreReturns ¶ added in v1.1.0
func (*FakeJob) HasRestoreReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) InstanceIdentifier ¶ added in v1.1.0
func (*FakeJob) InstanceIdentifierCallCount ¶ added in v1.1.0
func (*FakeJob) InstanceIdentifierReturns ¶ added in v1.1.0
func (*FakeJob) InstanceIdentifierReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) Invocations ¶ added in v1.1.0
func (*FakeJob) NameCallCount ¶ added in v1.1.0
func (*FakeJob) NameReturns ¶ added in v1.1.0
func (*FakeJob) NameReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) PostBackupUnlock ¶ added in v1.1.0
func (*FakeJob) PostBackupUnlockArgsForCall ¶ added in v1.4.0
func (*FakeJob) PostBackupUnlockCallCount ¶ added in v1.1.0
func (*FakeJob) PostBackupUnlockReturns ¶ added in v1.1.0
func (*FakeJob) PostBackupUnlockReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) PostRestoreUnlock ¶ added in v1.1.0
func (*FakeJob) PostRestoreUnlockCallCount ¶ added in v1.1.0
func (*FakeJob) PostRestoreUnlockReturns ¶ added in v1.1.0
func (*FakeJob) PostRestoreUnlockReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) PreBackupLock ¶ added in v1.1.0
func (*FakeJob) PreBackupLockCallCount ¶ added in v1.1.0
func (*FakeJob) PreBackupLockReturns ¶ added in v1.1.0
func (*FakeJob) PreBackupLockReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) PreRestoreLock ¶ added in v1.1.0
func (*FakeJob) PreRestoreLockCallCount ¶ added in v1.1.0
func (*FakeJob) PreRestoreLockReturns ¶ added in v1.1.0
func (*FakeJob) PreRestoreLockReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) ReleaseCallCount ¶ added in v1.1.0
func (*FakeJob) ReleaseReturns ¶ added in v1.1.0
func (*FakeJob) ReleaseReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactDirectory ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactDirectoryCallCount ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactDirectoryReturns ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactDirectoryReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactName ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactNameCallCount ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactNameReturns ¶ added in v1.1.0
func (*FakeJob) RestoreArtifactNameReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) RestoreCallCount ¶ added in v1.1.0
func (*FakeJob) RestoreReturns ¶ added in v1.1.0
func (*FakeJob) RestoreReturnsOnCall ¶ added in v1.1.0
func (*FakeJob) RestoreShouldBeLockedBefore ¶ added in v1.1.0
func (fake *FakeJob) RestoreShouldBeLockedBefore() []orchestrator.JobSpecifier
func (*FakeJob) RestoreShouldBeLockedBeforeCallCount ¶ added in v1.1.0
func (*FakeJob) RestoreShouldBeLockedBeforeReturns ¶ added in v1.1.0
func (fake *FakeJob) RestoreShouldBeLockedBeforeReturns(result1 []orchestrator.JobSpecifier)
func (*FakeJob) RestoreShouldBeLockedBeforeReturnsOnCall ¶ added in v1.1.0
func (fake *FakeJob) RestoreShouldBeLockedBeforeReturnsOnCall(i int, result1 []orchestrator.JobSpecifier)
type FakeLockOrderer ¶ added in v1.1.0
type FakeLockOrderer struct { OrderStub func(jobs []orchestrator.Job) ([][]orchestrator.Job, error) // contains filtered or unexported fields }
func (*FakeLockOrderer) Invocations ¶ added in v1.1.0
func (fake *FakeLockOrderer) Invocations() map[string][][]interface{}
func (*FakeLockOrderer) Order ¶ added in v1.1.0
func (fake *FakeLockOrderer) Order(jobs []orchestrator.Job) ([][]orchestrator.Job, error)
func (*FakeLockOrderer) OrderArgsForCall ¶ added in v1.1.0
func (fake *FakeLockOrderer) OrderArgsForCall(i int) []orchestrator.Job
func (*FakeLockOrderer) OrderCallCount ¶ added in v1.1.0
func (fake *FakeLockOrderer) OrderCallCount() int
func (*FakeLockOrderer) OrderReturns ¶ added in v1.1.0
func (fake *FakeLockOrderer) OrderReturns(result1 [][]orchestrator.Job, result2 error)
func (*FakeLockOrderer) OrderReturnsOnCall ¶ added in v1.1.0
func (fake *FakeLockOrderer) OrderReturnsOnCall(i int, result1 [][]orchestrator.Job, result2 error)
type FakeLogger ¶
type FakeLogger struct { DebugStub func(tag, msg string, args ...interface{}) InfoStub func(tag, msg string, args ...interface{}) WarnStub func(tag, msg string, args ...interface{}) ErrorStub func(tag, msg string, args ...interface{}) // contains filtered or unexported fields }
func (*FakeLogger) Debug ¶
func (fake *FakeLogger) Debug(tag string, msg string, args ...interface{})
func (*FakeLogger) DebugArgsForCall ¶
func (fake *FakeLogger) DebugArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) DebugCallCount ¶
func (fake *FakeLogger) DebugCallCount() int
func (*FakeLogger) Error ¶
func (fake *FakeLogger) Error(tag string, msg string, args ...interface{})
func (*FakeLogger) ErrorArgsForCall ¶
func (fake *FakeLogger) ErrorArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) ErrorCallCount ¶
func (fake *FakeLogger) ErrorCallCount() int
func (*FakeLogger) Info ¶
func (fake *FakeLogger) Info(tag string, msg string, args ...interface{})
func (*FakeLogger) InfoArgsForCall ¶
func (fake *FakeLogger) InfoArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) InfoCallCount ¶
func (fake *FakeLogger) InfoCallCount() int
func (*FakeLogger) Invocations ¶
func (fake *FakeLogger) Invocations() map[string][][]interface{}
func (*FakeLogger) Warn ¶
func (fake *FakeLogger) Warn(tag string, msg string, args ...interface{})
func (*FakeLogger) WarnArgsForCall ¶
func (fake *FakeLogger) WarnArgsForCall(i int) (string, string, []interface{})
func (*FakeLogger) WarnCallCount ¶
func (fake *FakeLogger) WarnCallCount() int
type FakeWriteCloser ¶
type FakeWriteCloser struct { WriteStub func(p []byte) (n int, err error) CloseStub func() error // contains filtered or unexported fields }
func (*FakeWriteCloser) Close ¶
func (fake *FakeWriteCloser) Close() error
func (*FakeWriteCloser) CloseCallCount ¶
func (fake *FakeWriteCloser) CloseCallCount() int
func (*FakeWriteCloser) CloseReturns ¶
func (fake *FakeWriteCloser) CloseReturns(result1 error)
func (*FakeWriteCloser) Invocations ¶
func (fake *FakeWriteCloser) Invocations() map[string][][]interface{}
func (*FakeWriteCloser) WriteArgsForCall ¶
func (fake *FakeWriteCloser) WriteArgsForCall(i int) []byte
func (*FakeWriteCloser) WriteCallCount ¶
func (fake *FakeWriteCloser) WriteCallCount() int
func (*FakeWriteCloser) WriteReturns ¶
func (fake *FakeWriteCloser) WriteReturns(result1 int, result2 error)
Click to show internal directories.
Click to hide internal directories.