fakes

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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.

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBackup

type FakeBackup struct {
	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 (*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 (*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 (*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) 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

	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 (*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) 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, orchestrator.Logger, func() time.Time) (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 orchestrator.Logger, arg3 func() time.Time) (orchestrator.Backup, error)

func (*FakeBackupManager) CreateArgsForCall

func (fake *FakeBackupManager) CreateArgsForCall(i int) (string, orchestrator.Logger, func() time.Time)

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 (*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

	HasUniqueCustomArtifactNamesStub func() bool

	CheckArtifactDirStub func() error

	IsRestorableStub func() bool

	PreBackupLockStub func(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

	BackupStub func() error

	PostBackupUnlockStub func(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

	RestoreStub func() error

	CopyRemoteBackupToLocalStub func(orchestrator.Backup) error

	CopyLocalBackupToRemoteStub func(orchestrator.Backup) error

	CleanupStub func() error

	CleanupPreviousStub func() error

	InstancesStub func() []orchestrator.Instance

	CustomArtifactNamesMatchStub func() error

	PreRestoreLockStub func(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

	PostRestoreUnlockStub func(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

	ValidateLockingDependenciesStub func(orderer orchestrator.LockOrderer) error
	// contains filtered or unexported fields
}

func (*FakeDeployment) Backup

func (fake *FakeDeployment) Backup() error

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) 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) CopyLocalBackupToRemote

func (fake *FakeDeployment) CopyLocalBackupToRemote(arg1 orchestrator.Backup) error

func (*FakeDeployment) CopyLocalBackupToRemoteArgsForCall

func (fake *FakeDeployment) CopyLocalBackupToRemoteArgsForCall(i int) orchestrator.Backup

func (*FakeDeployment) CopyLocalBackupToRemoteCallCount

func (fake *FakeDeployment) CopyLocalBackupToRemoteCallCount() int

func (*FakeDeployment) CopyLocalBackupToRemoteReturns

func (fake *FakeDeployment) CopyLocalBackupToRemoteReturns(result1 error)

func (*FakeDeployment) CopyLocalBackupToRemoteReturnsOnCall

func (fake *FakeDeployment) CopyLocalBackupToRemoteReturnsOnCall(i int, result1 error)

func (*FakeDeployment) CopyRemoteBackupToLocal

func (fake *FakeDeployment) CopyRemoteBackupToLocal(arg1 orchestrator.Backup) error

func (*FakeDeployment) CopyRemoteBackupToLocalArgsForCall

func (fake *FakeDeployment) CopyRemoteBackupToLocalArgsForCall(i int) orchestrator.Backup

func (*FakeDeployment) CopyRemoteBackupToLocalCallCount

func (fake *FakeDeployment) CopyRemoteBackupToLocalCallCount() int

func (*FakeDeployment) CopyRemoteBackupToLocalReturns

func (fake *FakeDeployment) CopyRemoteBackupToLocalReturns(result1 error)

func (*FakeDeployment) CopyRemoteBackupToLocalReturnsOnCall

func (fake *FakeDeployment) CopyRemoteBackupToLocalReturnsOnCall(i int, result1 error)

func (*FakeDeployment) CustomArtifactNamesMatch

func (fake *FakeDeployment) CustomArtifactNamesMatch() error

func (*FakeDeployment) CustomArtifactNamesMatchCallCount

func (fake *FakeDeployment) CustomArtifactNamesMatchCallCount() int

func (*FakeDeployment) CustomArtifactNamesMatchReturns

func (fake *FakeDeployment) CustomArtifactNamesMatchReturns(result1 error)

func (*FakeDeployment) CustomArtifactNamesMatchReturnsOnCall

func (fake *FakeDeployment) CustomArtifactNamesMatchReturnsOnCall(i int, result1 error)

func (*FakeDeployment) HasUniqueCustomArtifactNames

func (fake *FakeDeployment) HasUniqueCustomArtifactNames() bool

func (*FakeDeployment) HasUniqueCustomArtifactNamesCallCount

func (fake *FakeDeployment) HasUniqueCustomArtifactNamesCallCount() int

func (*FakeDeployment) HasUniqueCustomArtifactNamesReturns

func (fake *FakeDeployment) HasUniqueCustomArtifactNamesReturns(result1 bool)

func (*FakeDeployment) HasUniqueCustomArtifactNamesReturnsOnCall

func (fake *FakeDeployment) HasUniqueCustomArtifactNamesReturnsOnCall(i int, result1 bool)

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(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

func (*FakeDeployment) PostBackupUnlockArgsForCall added in v1.1.0

func (fake *FakeDeployment) PostBackupUnlockArgsForCall(i int) (orchestrator.LockOrderer, orchestrator.JobExecutionStrategy)

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(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

func (*FakeDeployment) PostRestoreUnlockArgsForCall added in v1.1.0

func (fake *FakeDeployment) PostRestoreUnlockArgsForCall(i int) (orchestrator.LockOrderer, orchestrator.JobExecutionStrategy)

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(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

func (*FakeDeployment) PreBackupLockArgsForCall added in v1.1.0

func (fake *FakeDeployment) PreBackupLockArgsForCall(i int) (orchestrator.LockOrderer, orchestrator.JobExecutionStrategy)

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(orderer orchestrator.LockOrderer, jobExecutionStategy orchestrator.JobExecutionStrategy) error

func (*FakeDeployment) PreRestoreLockArgsForCall added in v1.1.0

func (fake *FakeDeployment) PreRestoreLockArgsForCall(i int) (orchestrator.LockOrderer, orchestrator.JobExecutionStrategy)

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) 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

	CustomBackupArtifactNamesStub func() []string

	CustomRestoreArtifactNamesStub func() []string

	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) CustomBackupArtifactNames

func (fake *FakeInstance) CustomBackupArtifactNames() []string

func (*FakeInstance) CustomBackupArtifactNamesCallCount

func (fake *FakeInstance) CustomBackupArtifactNamesCallCount() int

func (*FakeInstance) CustomBackupArtifactNamesReturns

func (fake *FakeInstance) CustomBackupArtifactNamesReturns(result1 []string)

func (*FakeInstance) CustomBackupArtifactNamesReturnsOnCall

func (fake *FakeInstance) CustomBackupArtifactNamesReturnsOnCall(i int, result1 []string)

func (*FakeInstance) CustomRestoreArtifactNames

func (fake *FakeInstance) CustomRestoreArtifactNames() []string

func (*FakeInstance) CustomRestoreArtifactNamesCallCount

func (fake *FakeInstance) CustomRestoreArtifactNamesCallCount() int

func (*FakeInstance) CustomRestoreArtifactNamesReturns

func (fake *FakeInstance) CustomRestoreArtifactNamesReturns(result1 []string)

func (*FakeInstance) CustomRestoreArtifactNamesReturnsOnCall

func (fake *FakeInstance) CustomRestoreArtifactNamesReturnsOnCall(i int, result1 []string)

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

	BackupStub func() error

	PreBackupLockStub func() error

	PostBackupUnlockStub func() 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) Backup added in v1.1.0

func (fake *FakeJob) Backup() error

func (*FakeJob) BackupArtifactDirectory added in v1.1.0

func (fake *FakeJob) BackupArtifactDirectory() string

func (*FakeJob) BackupArtifactDirectoryCallCount added in v1.1.0

func (fake *FakeJob) BackupArtifactDirectoryCallCount() int

func (*FakeJob) BackupArtifactDirectoryReturns added in v1.1.0

func (fake *FakeJob) BackupArtifactDirectoryReturns(result1 string)

func (*FakeJob) BackupArtifactDirectoryReturnsOnCall added in v1.1.0

func (fake *FakeJob) BackupArtifactDirectoryReturnsOnCall(i int, result1 string)

func (*FakeJob) BackupArtifactName added in v1.1.0

func (fake *FakeJob) BackupArtifactName() string

func (*FakeJob) BackupArtifactNameCallCount added in v1.1.0

func (fake *FakeJob) BackupArtifactNameCallCount() int

func (*FakeJob) BackupArtifactNameReturns added in v1.1.0

func (fake *FakeJob) BackupArtifactNameReturns(result1 string)

func (*FakeJob) BackupArtifactNameReturnsOnCall added in v1.1.0

func (fake *FakeJob) BackupArtifactNameReturnsOnCall(i int, result1 string)

func (*FakeJob) BackupCallCount added in v1.1.0

func (fake *FakeJob) BackupCallCount() int

func (*FakeJob) BackupReturns added in v1.1.0

func (fake *FakeJob) BackupReturns(result1 error)

func (*FakeJob) BackupReturnsOnCall added in v1.1.0

func (fake *FakeJob) BackupReturnsOnCall(i int, result1 error)

func (*FakeJob) BackupShouldBeLockedBefore added in v1.1.0

func (fake *FakeJob) BackupShouldBeLockedBefore() []orchestrator.JobSpecifier

func (*FakeJob) BackupShouldBeLockedBeforeCallCount added in v1.1.0

func (fake *FakeJob) BackupShouldBeLockedBeforeCallCount() int

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) HasBackup added in v1.1.0

func (fake *FakeJob) HasBackup() bool

func (*FakeJob) HasBackupCallCount added in v1.1.0

func (fake *FakeJob) HasBackupCallCount() int

func (*FakeJob) HasBackupReturns added in v1.1.0

func (fake *FakeJob) HasBackupReturns(result1 bool)

func (*FakeJob) HasBackupReturnsOnCall added in v1.1.0

func (fake *FakeJob) HasBackupReturnsOnCall(i int, result1 bool)

func (*FakeJob) HasNamedBackupArtifact added in v1.1.0

func (fake *FakeJob) HasNamedBackupArtifact() bool

func (*FakeJob) HasNamedBackupArtifactCallCount added in v1.1.0

func (fake *FakeJob) HasNamedBackupArtifactCallCount() int

func (*FakeJob) HasNamedBackupArtifactReturns added in v1.1.0

func (fake *FakeJob) HasNamedBackupArtifactReturns(result1 bool)

func (*FakeJob) HasNamedBackupArtifactReturnsOnCall added in v1.1.0

func (fake *FakeJob) HasNamedBackupArtifactReturnsOnCall(i int, result1 bool)

func (*FakeJob) HasNamedRestoreArtifact added in v1.1.0

func (fake *FakeJob) HasNamedRestoreArtifact() bool

func (*FakeJob) HasNamedRestoreArtifactCallCount added in v1.1.0

func (fake *FakeJob) HasNamedRestoreArtifactCallCount() int

func (*FakeJob) HasNamedRestoreArtifactReturns added in v1.1.0

func (fake *FakeJob) HasNamedRestoreArtifactReturns(result1 bool)

func (*FakeJob) HasNamedRestoreArtifactReturnsOnCall added in v1.1.0

func (fake *FakeJob) HasNamedRestoreArtifactReturnsOnCall(i int, result1 bool)

func (*FakeJob) HasRestore added in v1.1.0

func (fake *FakeJob) HasRestore() bool

func (*FakeJob) HasRestoreCallCount added in v1.1.0

func (fake *FakeJob) HasRestoreCallCount() int

func (*FakeJob) HasRestoreReturns added in v1.1.0

func (fake *FakeJob) HasRestoreReturns(result1 bool)

func (*FakeJob) HasRestoreReturnsOnCall added in v1.1.0

func (fake *FakeJob) HasRestoreReturnsOnCall(i int, result1 bool)

func (*FakeJob) InstanceIdentifier added in v1.1.0

func (fake *FakeJob) InstanceIdentifier() string

func (*FakeJob) InstanceIdentifierCallCount added in v1.1.0

func (fake *FakeJob) InstanceIdentifierCallCount() int

func (*FakeJob) InstanceIdentifierReturns added in v1.1.0

func (fake *FakeJob) InstanceIdentifierReturns(result1 string)

func (*FakeJob) InstanceIdentifierReturnsOnCall added in v1.1.0

func (fake *FakeJob) InstanceIdentifierReturnsOnCall(i int, result1 string)

func (*FakeJob) Invocations added in v1.1.0

func (fake *FakeJob) Invocations() map[string][][]interface{}

func (*FakeJob) Name added in v1.1.0

func (fake *FakeJob) Name() string

func (*FakeJob) NameCallCount added in v1.1.0

func (fake *FakeJob) NameCallCount() int

func (*FakeJob) NameReturns added in v1.1.0

func (fake *FakeJob) NameReturns(result1 string)

func (*FakeJob) NameReturnsOnCall added in v1.1.0

func (fake *FakeJob) NameReturnsOnCall(i int, result1 string)

func (*FakeJob) PostBackupUnlock added in v1.1.0

func (fake *FakeJob) PostBackupUnlock() error

func (*FakeJob) PostBackupUnlockCallCount added in v1.1.0

func (fake *FakeJob) PostBackupUnlockCallCount() int

func (*FakeJob) PostBackupUnlockReturns added in v1.1.0

func (fake *FakeJob) PostBackupUnlockReturns(result1 error)

func (*FakeJob) PostBackupUnlockReturnsOnCall added in v1.1.0

func (fake *FakeJob) PostBackupUnlockReturnsOnCall(i int, result1 error)

func (*FakeJob) PostRestoreUnlock added in v1.1.0

func (fake *FakeJob) PostRestoreUnlock() error

func (*FakeJob) PostRestoreUnlockCallCount added in v1.1.0

func (fake *FakeJob) PostRestoreUnlockCallCount() int

func (*FakeJob) PostRestoreUnlockReturns added in v1.1.0

func (fake *FakeJob) PostRestoreUnlockReturns(result1 error)

func (*FakeJob) PostRestoreUnlockReturnsOnCall added in v1.1.0

func (fake *FakeJob) PostRestoreUnlockReturnsOnCall(i int, result1 error)

func (*FakeJob) PreBackupLock added in v1.1.0

func (fake *FakeJob) PreBackupLock() error

func (*FakeJob) PreBackupLockCallCount added in v1.1.0

func (fake *FakeJob) PreBackupLockCallCount() int

func (*FakeJob) PreBackupLockReturns added in v1.1.0

func (fake *FakeJob) PreBackupLockReturns(result1 error)

func (*FakeJob) PreBackupLockReturnsOnCall added in v1.1.0

func (fake *FakeJob) PreBackupLockReturnsOnCall(i int, result1 error)

func (*FakeJob) PreRestoreLock added in v1.1.0

func (fake *FakeJob) PreRestoreLock() error

func (*FakeJob) PreRestoreLockCallCount added in v1.1.0

func (fake *FakeJob) PreRestoreLockCallCount() int

func (*FakeJob) PreRestoreLockReturns added in v1.1.0

func (fake *FakeJob) PreRestoreLockReturns(result1 error)

func (*FakeJob) PreRestoreLockReturnsOnCall added in v1.1.0

func (fake *FakeJob) PreRestoreLockReturnsOnCall(i int, result1 error)

func (*FakeJob) Release added in v1.1.0

func (fake *FakeJob) Release() string

func (*FakeJob) ReleaseCallCount added in v1.1.0

func (fake *FakeJob) ReleaseCallCount() int

func (*FakeJob) ReleaseReturns added in v1.1.0

func (fake *FakeJob) ReleaseReturns(result1 string)

func (*FakeJob) ReleaseReturnsOnCall added in v1.1.0

func (fake *FakeJob) ReleaseReturnsOnCall(i int, result1 string)

func (*FakeJob) Restore added in v1.1.0

func (fake *FakeJob) Restore() error

func (*FakeJob) RestoreArtifactDirectory added in v1.1.0

func (fake *FakeJob) RestoreArtifactDirectory() string

func (*FakeJob) RestoreArtifactDirectoryCallCount added in v1.1.0

func (fake *FakeJob) RestoreArtifactDirectoryCallCount() int

func (*FakeJob) RestoreArtifactDirectoryReturns added in v1.1.0

func (fake *FakeJob) RestoreArtifactDirectoryReturns(result1 string)

func (*FakeJob) RestoreArtifactDirectoryReturnsOnCall added in v1.1.0

func (fake *FakeJob) RestoreArtifactDirectoryReturnsOnCall(i int, result1 string)

func (*FakeJob) RestoreArtifactName added in v1.1.0

func (fake *FakeJob) RestoreArtifactName() string

func (*FakeJob) RestoreArtifactNameCallCount added in v1.1.0

func (fake *FakeJob) RestoreArtifactNameCallCount() int

func (*FakeJob) RestoreArtifactNameReturns added in v1.1.0

func (fake *FakeJob) RestoreArtifactNameReturns(result1 string)

func (*FakeJob) RestoreArtifactNameReturnsOnCall added in v1.1.0

func (fake *FakeJob) RestoreArtifactNameReturnsOnCall(i int, result1 string)

func (*FakeJob) RestoreCallCount added in v1.1.0

func (fake *FakeJob) RestoreCallCount() int

func (*FakeJob) RestoreReturns added in v1.1.0

func (fake *FakeJob) RestoreReturns(result1 error)

func (*FakeJob) RestoreReturnsOnCall added in v1.1.0

func (fake *FakeJob) RestoreReturnsOnCall(i int, result1 error)

func (*FakeJob) RestoreShouldBeLockedBefore added in v1.1.0

func (fake *FakeJob) RestoreShouldBeLockedBefore() []orchestrator.JobSpecifier

func (*FakeJob) RestoreShouldBeLockedBeforeCallCount added in v1.1.0

func (fake *FakeJob) RestoreShouldBeLockedBeforeCallCount() int

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) Write

func (fake *FakeWriteCloser) Write(p []byte) (n int, err error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL