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.
Index ¶
- type FakeBlobsDir
- func (fake *FakeBlobsDir) Blobs() ([]releasedir.Blob, error)
- func (fake *FakeBlobsDir) BlobsCallCount() int
- func (fake *FakeBlobsDir) BlobsReturns(result1 []releasedir.Blob, result2 error)
- func (fake *FakeBlobsDir) BlobsReturnsOnCall(i int, result1 []releasedir.Blob, result2 error)
- func (fake *FakeBlobsDir) Init() error
- func (fake *FakeBlobsDir) InitCallCount() int
- func (fake *FakeBlobsDir) InitReturns(result1 error)
- func (fake *FakeBlobsDir) InitReturnsOnCall(i int, result1 error)
- func (fake *FakeBlobsDir) Invocations() map[string][][]interface{}
- func (fake *FakeBlobsDir) SyncBlobs(numOfParallelWorkers int) error
- func (fake *FakeBlobsDir) SyncBlobsArgsForCall(i int) int
- func (fake *FakeBlobsDir) SyncBlobsCallCount() int
- func (fake *FakeBlobsDir) SyncBlobsReturns(result1 error)
- func (fake *FakeBlobsDir) SyncBlobsReturnsOnCall(i int, result1 error)
- func (fake *FakeBlobsDir) TrackBlob(arg1 string, arg2 io.ReadCloser) (releasedir.Blob, error)
- func (fake *FakeBlobsDir) TrackBlobArgsForCall(i int) (string, io.ReadCloser)
- func (fake *FakeBlobsDir) TrackBlobCallCount() int
- func (fake *FakeBlobsDir) TrackBlobReturns(result1 releasedir.Blob, result2 error)
- func (fake *FakeBlobsDir) TrackBlobReturnsOnCall(i int, result1 releasedir.Blob, result2 error)
- func (fake *FakeBlobsDir) UntrackBlob(arg1 string) error
- func (fake *FakeBlobsDir) UntrackBlobArgsForCall(i int) string
- func (fake *FakeBlobsDir) UntrackBlobCallCount() int
- func (fake *FakeBlobsDir) UntrackBlobReturns(result1 error)
- func (fake *FakeBlobsDir) UntrackBlobReturnsOnCall(i int, result1 error)
- func (fake *FakeBlobsDir) UploadBlobs() error
- func (fake *FakeBlobsDir) UploadBlobsCallCount() int
- func (fake *FakeBlobsDir) UploadBlobsReturns(result1 error)
- func (fake *FakeBlobsDir) UploadBlobsReturnsOnCall(i int, result1 error)
- type FakeBlobsDirReporter
- func (fake *FakeBlobsDirReporter) BlobDownloadFinished(path string, blobID string, err error)
- func (fake *FakeBlobsDirReporter) BlobDownloadFinishedArgsForCall(i int) (string, string, error)
- func (fake *FakeBlobsDirReporter) BlobDownloadFinishedCallCount() int
- func (fake *FakeBlobsDirReporter) BlobDownloadStarted(path string, size int64, blobID string, sha1 string)
- func (fake *FakeBlobsDirReporter) BlobDownloadStartedArgsForCall(i int) (string, int64, string, string)
- func (fake *FakeBlobsDirReporter) BlobDownloadStartedCallCount() int
- func (fake *FakeBlobsDirReporter) BlobUploadFinished(path string, blobID string, err error)
- func (fake *FakeBlobsDirReporter) BlobUploadFinishedArgsForCall(i int) (string, string, error)
- func (fake *FakeBlobsDirReporter) BlobUploadFinishedCallCount() int
- func (fake *FakeBlobsDirReporter) BlobUploadStarted(path string, size int64, sha1 string)
- func (fake *FakeBlobsDirReporter) BlobUploadStartedArgsForCall(i int) (string, int64, string)
- func (fake *FakeBlobsDirReporter) BlobUploadStartedCallCount() int
- func (fake *FakeBlobsDirReporter) Invocations() map[string][][]interface{}
- type FakeConfig
- func (fake *FakeConfig) Blobstore() (string, map[string]interface{}, error)
- func (fake *FakeConfig) BlobstoreCallCount() int
- func (fake *FakeConfig) BlobstoreReturns(result1 string, result2 map[string]interface{}, result3 error)
- func (fake *FakeConfig) BlobstoreReturnsOnCall(i int, result1 string, result2 map[string]interface{}, result3 error)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) Name() (string, error)
- func (fake *FakeConfig) NameCallCount() int
- func (fake *FakeConfig) NameReturns(result1 string, result2 error)
- func (fake *FakeConfig) NameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeConfig) SaveName(arg1 string) error
- func (fake *FakeConfig) SaveNameArgsForCall(i int) string
- func (fake *FakeConfig) SaveNameCallCount() int
- func (fake *FakeConfig) SaveNameReturns(result1 error)
- func (fake *FakeConfig) SaveNameReturnsOnCall(i int, result1 error)
- type FakeDigestBlobstore
- func (fake *FakeDigestBlobstore) CleanUp(fileName string) (err error)
- func (fake *FakeDigestBlobstore) CleanUpArgsForCall(i int) string
- func (fake *FakeDigestBlobstore) CleanUpCallCount() int
- func (fake *FakeDigestBlobstore) CleanUpReturns(result1 error)
- func (fake *FakeDigestBlobstore) CleanUpReturnsOnCall(i int, result1 error)
- func (fake *FakeDigestBlobstore) Create(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error)
- func (fake *FakeDigestBlobstore) CreateArgsForCall(i int) string
- func (fake *FakeDigestBlobstore) CreateCallCount() int
- func (fake *FakeDigestBlobstore) CreateReturns(result1 string, result2 boshcrypto.MultipleDigest, result3 error)
- func (fake *FakeDigestBlobstore) CreateReturnsOnCall(i int, result1 string, result2 boshcrypto.MultipleDigest, result3 error)
- func (fake *FakeDigestBlobstore) Delete(blobId string) (err error)
- func (fake *FakeDigestBlobstore) DeleteArgsForCall(i int) string
- func (fake *FakeDigestBlobstore) DeleteCallCount() int
- func (fake *FakeDigestBlobstore) DeleteReturns(result1 error)
- func (fake *FakeDigestBlobstore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeDigestBlobstore) Get(blobID string, digest boshcrypto.Digest) (fileName string, err error)
- func (fake *FakeDigestBlobstore) GetArgsForCall(i int) (string, boshcrypto.Digest)
- func (fake *FakeDigestBlobstore) GetCallCount() int
- func (fake *FakeDigestBlobstore) GetReturns(result1 string, result2 error)
- func (fake *FakeDigestBlobstore) GetReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeDigestBlobstore) Invocations() map[string][][]interface{}
- func (fake *FakeDigestBlobstore) Validate() (err error)
- func (fake *FakeDigestBlobstore) ValidateCallCount() int
- func (fake *FakeDigestBlobstore) ValidateReturns(result1 error)
- func (fake *FakeDigestBlobstore) ValidateReturnsOnCall(i int, result1 error)
- type FakeGenerator
- func (fake *FakeGenerator) GenerateJob(arg1 string) error
- func (fake *FakeGenerator) GenerateJobArgsForCall(i int) string
- func (fake *FakeGenerator) GenerateJobCallCount() int
- func (fake *FakeGenerator) GenerateJobReturns(result1 error)
- func (fake *FakeGenerator) GenerateJobReturnsOnCall(i int, result1 error)
- func (fake *FakeGenerator) GeneratePackage(arg1 string) error
- func (fake *FakeGenerator) GeneratePackageArgsForCall(i int) string
- func (fake *FakeGenerator) GeneratePackageCallCount() int
- func (fake *FakeGenerator) GeneratePackageReturns(result1 error)
- func (fake *FakeGenerator) GeneratePackageReturnsOnCall(i int, result1 error)
- func (fake *FakeGenerator) Invocations() map[string][][]interface{}
- type FakeGitRepo
- func (fake *FakeGitRepo) Init() error
- func (fake *FakeGitRepo) InitCallCount() int
- func (fake *FakeGitRepo) InitReturns(result1 error)
- func (fake *FakeGitRepo) InitReturnsOnCall(i int, result1 error)
- func (fake *FakeGitRepo) Invocations() map[string][][]interface{}
- func (fake *FakeGitRepo) LastCommitSHA() (string, error)
- func (fake *FakeGitRepo) LastCommitSHACallCount() int
- func (fake *FakeGitRepo) LastCommitSHAReturns(result1 string, result2 error)
- func (fake *FakeGitRepo) LastCommitSHAReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGitRepo) MustNotBeDirty(force bool) (dirty bool, err error)
- func (fake *FakeGitRepo) MustNotBeDirtyArgsForCall(i int) bool
- func (fake *FakeGitRepo) MustNotBeDirtyCallCount() int
- func (fake *FakeGitRepo) MustNotBeDirtyReturns(result1 bool, result2 error)
- func (fake *FakeGitRepo) MustNotBeDirtyReturnsOnCall(i int, result1 bool, result2 error)
- type FakeReleaseDir
- func (fake *FakeReleaseDir) BuildRelease(name string, version semver.Version, force bool) (boshrel.Release, error)
- func (fake *FakeReleaseDir) BuildReleaseArgsForCall(i int) (string, semver.Version, bool)
- func (fake *FakeReleaseDir) BuildReleaseCallCount() int
- func (fake *FakeReleaseDir) BuildReleaseReturns(result1 boshrel.Release, result2 error)
- func (fake *FakeReleaseDir) BuildReleaseReturnsOnCall(i int, result1 boshrel.Release, result2 error)
- func (fake *FakeReleaseDir) DefaultName() (string, error)
- func (fake *FakeReleaseDir) DefaultNameCallCount() int
- func (fake *FakeReleaseDir) DefaultNameReturns(result1 string, result2 error)
- func (fake *FakeReleaseDir) DefaultNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeReleaseDir) FinalizeRelease(release boshrel.Release, force bool) error
- func (fake *FakeReleaseDir) FinalizeReleaseArgsForCall(i int) (boshrel.Release, bool)
- func (fake *FakeReleaseDir) FinalizeReleaseCallCount() int
- func (fake *FakeReleaseDir) FinalizeReleaseReturns(result1 error)
- func (fake *FakeReleaseDir) FinalizeReleaseReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseDir) FindRelease(name string, version semver.Version) (boshrel.Release, error)
- func (fake *FakeReleaseDir) FindReleaseArgsForCall(i int) (string, semver.Version)
- func (fake *FakeReleaseDir) FindReleaseCallCount() int
- func (fake *FakeReleaseDir) FindReleaseReturns(result1 boshrel.Release, result2 error)
- func (fake *FakeReleaseDir) FindReleaseReturnsOnCall(i int, result1 boshrel.Release, result2 error)
- func (fake *FakeReleaseDir) GenerateJob(arg1 string) error
- func (fake *FakeReleaseDir) GenerateJobArgsForCall(i int) string
- func (fake *FakeReleaseDir) GenerateJobCallCount() int
- func (fake *FakeReleaseDir) GenerateJobReturns(result1 error)
- func (fake *FakeReleaseDir) GenerateJobReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseDir) GeneratePackage(arg1 string) error
- func (fake *FakeReleaseDir) GeneratePackageArgsForCall(i int) string
- func (fake *FakeReleaseDir) GeneratePackageCallCount() int
- func (fake *FakeReleaseDir) GeneratePackageReturns(result1 error)
- func (fake *FakeReleaseDir) GeneratePackageReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseDir) Init(arg1 bool) error
- func (fake *FakeReleaseDir) InitArgsForCall(i int) bool
- func (fake *FakeReleaseDir) InitCallCount() int
- func (fake *FakeReleaseDir) InitReturns(result1 error)
- func (fake *FakeReleaseDir) InitReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseDir) Invocations() map[string][][]interface{}
- func (fake *FakeReleaseDir) NextDevVersion(name string, timestamp bool) (semver.Version, error)
- func (fake *FakeReleaseDir) NextDevVersionArgsForCall(i int) (string, bool)
- func (fake *FakeReleaseDir) NextDevVersionCallCount() int
- func (fake *FakeReleaseDir) NextDevVersionReturns(result1 semver.Version, result2 error)
- func (fake *FakeReleaseDir) NextDevVersionReturnsOnCall(i int, result1 semver.Version, result2 error)
- func (fake *FakeReleaseDir) NextFinalVersion(name string) (semver.Version, error)
- func (fake *FakeReleaseDir) NextFinalVersionArgsForCall(i int) string
- func (fake *FakeReleaseDir) NextFinalVersionCallCount() int
- func (fake *FakeReleaseDir) NextFinalVersionReturns(result1 semver.Version, result2 error)
- func (fake *FakeReleaseDir) NextFinalVersionReturnsOnCall(i int, result1 semver.Version, result2 error)
- func (fake *FakeReleaseDir) Reset() error
- func (fake *FakeReleaseDir) ResetCallCount() int
- func (fake *FakeReleaseDir) ResetReturns(result1 error)
- func (fake *FakeReleaseDir) ResetReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseDir) VendorPackage(arg1 *boshpkg.Package) error
- func (fake *FakeReleaseDir) VendorPackageArgsForCall(i int) *boshpkg.Package
- func (fake *FakeReleaseDir) VendorPackageCallCount() int
- func (fake *FakeReleaseDir) VendorPackageReturns(result1 error)
- func (fake *FakeReleaseDir) VendorPackageReturnsOnCall(i int, result1 error)
- type FakeReleaseIndex
- func (fake *FakeReleaseIndex) Add(arg1 boshrelman.Manifest) error
- func (fake *FakeReleaseIndex) AddArgsForCall(i int) boshrelman.Manifest
- func (fake *FakeReleaseIndex) AddCallCount() int
- func (fake *FakeReleaseIndex) AddReturns(result1 error)
- func (fake *FakeReleaseIndex) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeReleaseIndex) Contains(arg1 boshrel.Release) (bool, error)
- func (fake *FakeReleaseIndex) ContainsArgsForCall(i int) boshrel.Release
- func (fake *FakeReleaseIndex) ContainsCallCount() int
- func (fake *FakeReleaseIndex) ContainsReturns(result1 bool, result2 error)
- func (fake *FakeReleaseIndex) ContainsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeReleaseIndex) Invocations() map[string][][]interface{}
- func (fake *FakeReleaseIndex) LastVersion(name string) (*semver.Version, error)
- func (fake *FakeReleaseIndex) LastVersionArgsForCall(i int) string
- func (fake *FakeReleaseIndex) LastVersionCallCount() int
- func (fake *FakeReleaseIndex) LastVersionReturns(result1 *semver.Version, result2 error)
- func (fake *FakeReleaseIndex) LastVersionReturnsOnCall(i int, result1 *semver.Version, result2 error)
- func (fake *FakeReleaseIndex) ManifestPath(name string, version string) string
- func (fake *FakeReleaseIndex) ManifestPathArgsForCall(i int) (string, string)
- func (fake *FakeReleaseIndex) ManifestPathCallCount() int
- func (fake *FakeReleaseIndex) ManifestPathReturns(result1 string)
- func (fake *FakeReleaseIndex) ManifestPathReturnsOnCall(i int, result1 string)
- type FakeReleaseIndexReporter
- func (fake *FakeReleaseIndexReporter) Invocations() map[string][][]interface{}
- func (fake *FakeReleaseIndexReporter) ReleaseIndexAdded(name string, desc string, err error)
- func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedArgsForCall(i int) (string, string, error)
- func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBlobsDir ¶
type FakeBlobsDir struct { InitStub func() error BlobsStub func() ([]releasedir.Blob, error) SyncBlobsStub func(numOfParallelWorkers int) error UploadBlobsStub func() error TrackBlobStub func(string, io.ReadCloser) (releasedir.Blob, error) UntrackBlobStub func(string) error // contains filtered or unexported fields }
func (*FakeBlobsDir) Blobs ¶
func (fake *FakeBlobsDir) Blobs() ([]releasedir.Blob, error)
func (*FakeBlobsDir) BlobsCallCount ¶
func (fake *FakeBlobsDir) BlobsCallCount() int
func (*FakeBlobsDir) BlobsReturns ¶
func (fake *FakeBlobsDir) BlobsReturns(result1 []releasedir.Blob, result2 error)
func (*FakeBlobsDir) BlobsReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) BlobsReturnsOnCall(i int, result1 []releasedir.Blob, result2 error)
func (*FakeBlobsDir) Init ¶
func (fake *FakeBlobsDir) Init() error
func (*FakeBlobsDir) InitCallCount ¶
func (fake *FakeBlobsDir) InitCallCount() int
func (*FakeBlobsDir) InitReturns ¶
func (fake *FakeBlobsDir) InitReturns(result1 error)
func (*FakeBlobsDir) InitReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) InitReturnsOnCall(i int, result1 error)
func (*FakeBlobsDir) Invocations ¶
func (fake *FakeBlobsDir) Invocations() map[string][][]interface{}
func (*FakeBlobsDir) SyncBlobs ¶
func (fake *FakeBlobsDir) SyncBlobs(numOfParallelWorkers int) error
func (*FakeBlobsDir) SyncBlobsArgsForCall ¶
func (fake *FakeBlobsDir) SyncBlobsArgsForCall(i int) int
func (*FakeBlobsDir) SyncBlobsCallCount ¶
func (fake *FakeBlobsDir) SyncBlobsCallCount() int
func (*FakeBlobsDir) SyncBlobsReturns ¶
func (fake *FakeBlobsDir) SyncBlobsReturns(result1 error)
func (*FakeBlobsDir) SyncBlobsReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) SyncBlobsReturnsOnCall(i int, result1 error)
func (*FakeBlobsDir) TrackBlob ¶
func (fake *FakeBlobsDir) TrackBlob(arg1 string, arg2 io.ReadCloser) (releasedir.Blob, error)
func (*FakeBlobsDir) TrackBlobArgsForCall ¶
func (fake *FakeBlobsDir) TrackBlobArgsForCall(i int) (string, io.ReadCloser)
func (*FakeBlobsDir) TrackBlobCallCount ¶
func (fake *FakeBlobsDir) TrackBlobCallCount() int
func (*FakeBlobsDir) TrackBlobReturns ¶
func (fake *FakeBlobsDir) TrackBlobReturns(result1 releasedir.Blob, result2 error)
func (*FakeBlobsDir) TrackBlobReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) TrackBlobReturnsOnCall(i int, result1 releasedir.Blob, result2 error)
func (*FakeBlobsDir) UntrackBlob ¶
func (fake *FakeBlobsDir) UntrackBlob(arg1 string) error
func (*FakeBlobsDir) UntrackBlobArgsForCall ¶
func (fake *FakeBlobsDir) UntrackBlobArgsForCall(i int) string
func (*FakeBlobsDir) UntrackBlobCallCount ¶
func (fake *FakeBlobsDir) UntrackBlobCallCount() int
func (*FakeBlobsDir) UntrackBlobReturns ¶
func (fake *FakeBlobsDir) UntrackBlobReturns(result1 error)
func (*FakeBlobsDir) UntrackBlobReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) UntrackBlobReturnsOnCall(i int, result1 error)
func (*FakeBlobsDir) UploadBlobs ¶
func (fake *FakeBlobsDir) UploadBlobs() error
func (*FakeBlobsDir) UploadBlobsCallCount ¶
func (fake *FakeBlobsDir) UploadBlobsCallCount() int
func (*FakeBlobsDir) UploadBlobsReturns ¶
func (fake *FakeBlobsDir) UploadBlobsReturns(result1 error)
func (*FakeBlobsDir) UploadBlobsReturnsOnCall ¶ added in v2.0.30
func (fake *FakeBlobsDir) UploadBlobsReturnsOnCall(i int, result1 error)
type FakeBlobsDirReporter ¶
type FakeBlobsDirReporter struct { BlobDownloadStartedStub func(path string, size int64, blobID, sha1 string) BlobDownloadFinishedStub func(path, blobID string, err error) BlobUploadStartedStub func(path string, size int64, sha1 string) BlobUploadFinishedStub func(path, blobID string, err error) // contains filtered or unexported fields }
func (*FakeBlobsDirReporter) BlobDownloadFinished ¶
func (fake *FakeBlobsDirReporter) BlobDownloadFinished(path string, blobID string, err error)
func (*FakeBlobsDirReporter) BlobDownloadFinishedArgsForCall ¶
func (fake *FakeBlobsDirReporter) BlobDownloadFinishedArgsForCall(i int) (string, string, error)
func (*FakeBlobsDirReporter) BlobDownloadFinishedCallCount ¶
func (fake *FakeBlobsDirReporter) BlobDownloadFinishedCallCount() int
func (*FakeBlobsDirReporter) BlobDownloadStarted ¶
func (fake *FakeBlobsDirReporter) BlobDownloadStarted(path string, size int64, blobID string, sha1 string)
func (*FakeBlobsDirReporter) BlobDownloadStartedArgsForCall ¶
func (*FakeBlobsDirReporter) BlobDownloadStartedCallCount ¶
func (fake *FakeBlobsDirReporter) BlobDownloadStartedCallCount() int
func (*FakeBlobsDirReporter) BlobUploadFinished ¶
func (fake *FakeBlobsDirReporter) BlobUploadFinished(path string, blobID string, err error)
func (*FakeBlobsDirReporter) BlobUploadFinishedArgsForCall ¶
func (fake *FakeBlobsDirReporter) BlobUploadFinishedArgsForCall(i int) (string, string, error)
func (*FakeBlobsDirReporter) BlobUploadFinishedCallCount ¶
func (fake *FakeBlobsDirReporter) BlobUploadFinishedCallCount() int
func (*FakeBlobsDirReporter) BlobUploadStarted ¶
func (fake *FakeBlobsDirReporter) BlobUploadStarted(path string, size int64, sha1 string)
func (*FakeBlobsDirReporter) BlobUploadStartedArgsForCall ¶
func (fake *FakeBlobsDirReporter) BlobUploadStartedArgsForCall(i int) (string, int64, string)
func (*FakeBlobsDirReporter) BlobUploadStartedCallCount ¶
func (fake *FakeBlobsDirReporter) BlobUploadStartedCallCount() int
func (*FakeBlobsDirReporter) Invocations ¶
func (fake *FakeBlobsDirReporter) Invocations() map[string][][]interface{}
type FakeConfig ¶
type FakeConfig struct { NameStub func() (string, error) SaveNameStub func(string) error BlobstoreStub func() (string, map[string]interface{}, error) // contains filtered or unexported fields }
func (*FakeConfig) Blobstore ¶
func (fake *FakeConfig) Blobstore() (string, map[string]interface{}, error)
func (*FakeConfig) BlobstoreCallCount ¶
func (fake *FakeConfig) BlobstoreCallCount() int
func (*FakeConfig) BlobstoreReturns ¶
func (fake *FakeConfig) BlobstoreReturns(result1 string, result2 map[string]interface{}, result3 error)
func (*FakeConfig) BlobstoreReturnsOnCall ¶ added in v2.0.30
func (fake *FakeConfig) BlobstoreReturnsOnCall(i int, result1 string, result2 map[string]interface{}, result3 error)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) Name ¶
func (fake *FakeConfig) Name() (string, error)
func (*FakeConfig) NameCallCount ¶
func (fake *FakeConfig) NameCallCount() int
func (*FakeConfig) NameReturns ¶
func (fake *FakeConfig) NameReturns(result1 string, result2 error)
func (*FakeConfig) NameReturnsOnCall ¶ added in v2.0.30
func (fake *FakeConfig) NameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeConfig) SaveName ¶
func (fake *FakeConfig) SaveName(arg1 string) error
func (*FakeConfig) SaveNameArgsForCall ¶
func (fake *FakeConfig) SaveNameArgsForCall(i int) string
func (*FakeConfig) SaveNameCallCount ¶
func (fake *FakeConfig) SaveNameCallCount() int
func (*FakeConfig) SaveNameReturns ¶
func (fake *FakeConfig) SaveNameReturns(result1 error)
func (*FakeConfig) SaveNameReturnsOnCall ¶ added in v2.0.30
func (fake *FakeConfig) SaveNameReturnsOnCall(i int, result1 error)
type FakeDigestBlobstore ¶ added in v2.0.42
type FakeDigestBlobstore struct { GetStub func(blobID string, digest boshcrypto.Digest) (fileName string, err error) CleanUpStub func(fileName string) (err error) CreateStub func(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error) ValidateStub func() (err error) DeleteStub func(blobId string) (err error) // contains filtered or unexported fields }
func (*FakeDigestBlobstore) CleanUp ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CleanUp(fileName string) (err error)
func (*FakeDigestBlobstore) CleanUpArgsForCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CleanUpArgsForCall(i int) string
func (*FakeDigestBlobstore) CleanUpCallCount ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CleanUpCallCount() int
func (*FakeDigestBlobstore) CleanUpReturns ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CleanUpReturns(result1 error)
func (*FakeDigestBlobstore) CleanUpReturnsOnCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CleanUpReturnsOnCall(i int, result1 error)
func (*FakeDigestBlobstore) Create ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) Create(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error)
func (*FakeDigestBlobstore) CreateArgsForCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CreateArgsForCall(i int) string
func (*FakeDigestBlobstore) CreateCallCount ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CreateCallCount() int
func (*FakeDigestBlobstore) CreateReturns ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CreateReturns(result1 string, result2 boshcrypto.MultipleDigest, result3 error)
func (*FakeDigestBlobstore) CreateReturnsOnCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) CreateReturnsOnCall(i int, result1 string, result2 boshcrypto.MultipleDigest, result3 error)
func (*FakeDigestBlobstore) Delete ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) Delete(blobId string) (err error)
func (*FakeDigestBlobstore) DeleteArgsForCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) DeleteArgsForCall(i int) string
func (*FakeDigestBlobstore) DeleteCallCount ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) DeleteCallCount() int
func (*FakeDigestBlobstore) DeleteReturns ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) DeleteReturns(result1 error)
func (*FakeDigestBlobstore) DeleteReturnsOnCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) DeleteReturnsOnCall(i int, result1 error)
func (*FakeDigestBlobstore) Get ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) Get(blobID string, digest boshcrypto.Digest) (fileName string, err error)
func (*FakeDigestBlobstore) GetArgsForCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) GetArgsForCall(i int) (string, boshcrypto.Digest)
func (*FakeDigestBlobstore) GetCallCount ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) GetCallCount() int
func (*FakeDigestBlobstore) GetReturns ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) GetReturns(result1 string, result2 error)
func (*FakeDigestBlobstore) GetReturnsOnCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) GetReturnsOnCall(i int, result1 string, result2 error)
func (*FakeDigestBlobstore) Invocations ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) Invocations() map[string][][]interface{}
func (*FakeDigestBlobstore) Validate ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) Validate() (err error)
func (*FakeDigestBlobstore) ValidateCallCount ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) ValidateCallCount() int
func (*FakeDigestBlobstore) ValidateReturns ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) ValidateReturns(result1 error)
func (*FakeDigestBlobstore) ValidateReturnsOnCall ¶ added in v2.0.42
func (fake *FakeDigestBlobstore) ValidateReturnsOnCall(i int, result1 error)
type FakeGenerator ¶
type FakeGenerator struct { GenerateJobStub func(string) error GeneratePackageStub func(string) error // contains filtered or unexported fields }
func (*FakeGenerator) GenerateJob ¶
func (fake *FakeGenerator) GenerateJob(arg1 string) error
func (*FakeGenerator) GenerateJobArgsForCall ¶
func (fake *FakeGenerator) GenerateJobArgsForCall(i int) string
func (*FakeGenerator) GenerateJobCallCount ¶
func (fake *FakeGenerator) GenerateJobCallCount() int
func (*FakeGenerator) GenerateJobReturns ¶
func (fake *FakeGenerator) GenerateJobReturns(result1 error)
func (*FakeGenerator) GenerateJobReturnsOnCall ¶ added in v2.0.30
func (fake *FakeGenerator) GenerateJobReturnsOnCall(i int, result1 error)
func (*FakeGenerator) GeneratePackage ¶
func (fake *FakeGenerator) GeneratePackage(arg1 string) error
func (*FakeGenerator) GeneratePackageArgsForCall ¶
func (fake *FakeGenerator) GeneratePackageArgsForCall(i int) string
func (*FakeGenerator) GeneratePackageCallCount ¶
func (fake *FakeGenerator) GeneratePackageCallCount() int
func (*FakeGenerator) GeneratePackageReturns ¶
func (fake *FakeGenerator) GeneratePackageReturns(result1 error)
func (*FakeGenerator) GeneratePackageReturnsOnCall ¶ added in v2.0.30
func (fake *FakeGenerator) GeneratePackageReturnsOnCall(i int, result1 error)
func (*FakeGenerator) Invocations ¶
func (fake *FakeGenerator) Invocations() map[string][][]interface{}
type FakeGitRepo ¶
type FakeGitRepo struct { InitStub func() error LastCommitSHAStub func() (string, error) MustNotBeDirtyStub func(force bool) (dirty bool, err error) // contains filtered or unexported fields }
func (*FakeGitRepo) Init ¶
func (fake *FakeGitRepo) Init() error
func (*FakeGitRepo) InitCallCount ¶
func (fake *FakeGitRepo) InitCallCount() int
func (*FakeGitRepo) InitReturns ¶
func (fake *FakeGitRepo) InitReturns(result1 error)
func (*FakeGitRepo) InitReturnsOnCall ¶ added in v2.0.30
func (fake *FakeGitRepo) InitReturnsOnCall(i int, result1 error)
func (*FakeGitRepo) Invocations ¶
func (fake *FakeGitRepo) Invocations() map[string][][]interface{}
func (*FakeGitRepo) LastCommitSHA ¶
func (fake *FakeGitRepo) LastCommitSHA() (string, error)
func (*FakeGitRepo) LastCommitSHACallCount ¶
func (fake *FakeGitRepo) LastCommitSHACallCount() int
func (*FakeGitRepo) LastCommitSHAReturns ¶
func (fake *FakeGitRepo) LastCommitSHAReturns(result1 string, result2 error)
func (*FakeGitRepo) LastCommitSHAReturnsOnCall ¶ added in v2.0.30
func (fake *FakeGitRepo) LastCommitSHAReturnsOnCall(i int, result1 string, result2 error)
func (*FakeGitRepo) MustNotBeDirty ¶
func (fake *FakeGitRepo) MustNotBeDirty(force bool) (dirty bool, err error)
func (*FakeGitRepo) MustNotBeDirtyArgsForCall ¶
func (fake *FakeGitRepo) MustNotBeDirtyArgsForCall(i int) bool
func (*FakeGitRepo) MustNotBeDirtyCallCount ¶
func (fake *FakeGitRepo) MustNotBeDirtyCallCount() int
func (*FakeGitRepo) MustNotBeDirtyReturns ¶
func (fake *FakeGitRepo) MustNotBeDirtyReturns(result1 bool, result2 error)
func (*FakeGitRepo) MustNotBeDirtyReturnsOnCall ¶ added in v2.0.30
func (fake *FakeGitRepo) MustNotBeDirtyReturnsOnCall(i int, result1 bool, result2 error)
type FakeReleaseDir ¶
type FakeReleaseDir struct { InitStub func(bool) error ResetStub func() error GenerateJobStub func(string) error GeneratePackageStub func(string) error DefaultNameStub func() (string, error) NextDevVersionStub func(name string, timestamp bool) (semver.Version, error) NextFinalVersionStub func(name string) (semver.Version, error) FindReleaseStub func(name string, version semver.Version) (boshrel.Release, error) BuildReleaseStub func(name string, version semver.Version, force bool) (boshrel.Release, error) VendorPackageStub func(*boshpkg.Package) error FinalizeReleaseStub func(release boshrel.Release, force bool) error // contains filtered or unexported fields }
func (*FakeReleaseDir) BuildRelease ¶
func (*FakeReleaseDir) BuildReleaseArgsForCall ¶
func (*FakeReleaseDir) BuildReleaseCallCount ¶
func (fake *FakeReleaseDir) BuildReleaseCallCount() int
func (*FakeReleaseDir) BuildReleaseReturns ¶
func (fake *FakeReleaseDir) BuildReleaseReturns(result1 boshrel.Release, result2 error)
func (*FakeReleaseDir) BuildReleaseReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) BuildReleaseReturnsOnCall(i int, result1 boshrel.Release, result2 error)
func (*FakeReleaseDir) DefaultName ¶
func (fake *FakeReleaseDir) DefaultName() (string, error)
func (*FakeReleaseDir) DefaultNameCallCount ¶
func (fake *FakeReleaseDir) DefaultNameCallCount() int
func (*FakeReleaseDir) DefaultNameReturns ¶
func (fake *FakeReleaseDir) DefaultNameReturns(result1 string, result2 error)
func (*FakeReleaseDir) DefaultNameReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) DefaultNameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeReleaseDir) FinalizeRelease ¶
func (fake *FakeReleaseDir) FinalizeRelease(release boshrel.Release, force bool) error
func (*FakeReleaseDir) FinalizeReleaseArgsForCall ¶
func (fake *FakeReleaseDir) FinalizeReleaseArgsForCall(i int) (boshrel.Release, bool)
func (*FakeReleaseDir) FinalizeReleaseCallCount ¶
func (fake *FakeReleaseDir) FinalizeReleaseCallCount() int
func (*FakeReleaseDir) FinalizeReleaseReturns ¶
func (fake *FakeReleaseDir) FinalizeReleaseReturns(result1 error)
func (*FakeReleaseDir) FinalizeReleaseReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) FinalizeReleaseReturnsOnCall(i int, result1 error)
func (*FakeReleaseDir) FindRelease ¶
func (*FakeReleaseDir) FindReleaseArgsForCall ¶
func (fake *FakeReleaseDir) FindReleaseArgsForCall(i int) (string, semver.Version)
func (*FakeReleaseDir) FindReleaseCallCount ¶
func (fake *FakeReleaseDir) FindReleaseCallCount() int
func (*FakeReleaseDir) FindReleaseReturns ¶
func (fake *FakeReleaseDir) FindReleaseReturns(result1 boshrel.Release, result2 error)
func (*FakeReleaseDir) FindReleaseReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) FindReleaseReturnsOnCall(i int, result1 boshrel.Release, result2 error)
func (*FakeReleaseDir) GenerateJob ¶
func (fake *FakeReleaseDir) GenerateJob(arg1 string) error
func (*FakeReleaseDir) GenerateJobArgsForCall ¶
func (fake *FakeReleaseDir) GenerateJobArgsForCall(i int) string
func (*FakeReleaseDir) GenerateJobCallCount ¶
func (fake *FakeReleaseDir) GenerateJobCallCount() int
func (*FakeReleaseDir) GenerateJobReturns ¶
func (fake *FakeReleaseDir) GenerateJobReturns(result1 error)
func (*FakeReleaseDir) GenerateJobReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) GenerateJobReturnsOnCall(i int, result1 error)
func (*FakeReleaseDir) GeneratePackage ¶
func (fake *FakeReleaseDir) GeneratePackage(arg1 string) error
func (*FakeReleaseDir) GeneratePackageArgsForCall ¶
func (fake *FakeReleaseDir) GeneratePackageArgsForCall(i int) string
func (*FakeReleaseDir) GeneratePackageCallCount ¶
func (fake *FakeReleaseDir) GeneratePackageCallCount() int
func (*FakeReleaseDir) GeneratePackageReturns ¶
func (fake *FakeReleaseDir) GeneratePackageReturns(result1 error)
func (*FakeReleaseDir) GeneratePackageReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) GeneratePackageReturnsOnCall(i int, result1 error)
func (*FakeReleaseDir) Init ¶
func (fake *FakeReleaseDir) Init(arg1 bool) error
func (*FakeReleaseDir) InitArgsForCall ¶
func (fake *FakeReleaseDir) InitArgsForCall(i int) bool
func (*FakeReleaseDir) InitCallCount ¶
func (fake *FakeReleaseDir) InitCallCount() int
func (*FakeReleaseDir) InitReturns ¶
func (fake *FakeReleaseDir) InitReturns(result1 error)
func (*FakeReleaseDir) InitReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) InitReturnsOnCall(i int, result1 error)
func (*FakeReleaseDir) Invocations ¶
func (fake *FakeReleaseDir) Invocations() map[string][][]interface{}
func (*FakeReleaseDir) NextDevVersion ¶
func (*FakeReleaseDir) NextDevVersionArgsForCall ¶
func (fake *FakeReleaseDir) NextDevVersionArgsForCall(i int) (string, bool)
func (*FakeReleaseDir) NextDevVersionCallCount ¶
func (fake *FakeReleaseDir) NextDevVersionCallCount() int
func (*FakeReleaseDir) NextDevVersionReturns ¶
func (fake *FakeReleaseDir) NextDevVersionReturns(result1 semver.Version, result2 error)
func (*FakeReleaseDir) NextDevVersionReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) NextDevVersionReturnsOnCall(i int, result1 semver.Version, result2 error)
func (*FakeReleaseDir) NextFinalVersion ¶
func (fake *FakeReleaseDir) NextFinalVersion(name string) (semver.Version, error)
func (*FakeReleaseDir) NextFinalVersionArgsForCall ¶
func (fake *FakeReleaseDir) NextFinalVersionArgsForCall(i int) string
func (*FakeReleaseDir) NextFinalVersionCallCount ¶
func (fake *FakeReleaseDir) NextFinalVersionCallCount() int
func (*FakeReleaseDir) NextFinalVersionReturns ¶
func (fake *FakeReleaseDir) NextFinalVersionReturns(result1 semver.Version, result2 error)
func (*FakeReleaseDir) NextFinalVersionReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) NextFinalVersionReturnsOnCall(i int, result1 semver.Version, result2 error)
func (*FakeReleaseDir) Reset ¶
func (fake *FakeReleaseDir) Reset() error
func (*FakeReleaseDir) ResetCallCount ¶
func (fake *FakeReleaseDir) ResetCallCount() int
func (*FakeReleaseDir) ResetReturns ¶
func (fake *FakeReleaseDir) ResetReturns(result1 error)
func (*FakeReleaseDir) ResetReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) ResetReturnsOnCall(i int, result1 error)
func (*FakeReleaseDir) VendorPackage ¶ added in v2.0.36
func (fake *FakeReleaseDir) VendorPackage(arg1 *boshpkg.Package) error
func (*FakeReleaseDir) VendorPackageArgsForCall ¶ added in v2.0.36
func (fake *FakeReleaseDir) VendorPackageArgsForCall(i int) *boshpkg.Package
func (*FakeReleaseDir) VendorPackageCallCount ¶ added in v2.0.36
func (fake *FakeReleaseDir) VendorPackageCallCount() int
func (*FakeReleaseDir) VendorPackageReturns ¶ added in v2.0.36
func (fake *FakeReleaseDir) VendorPackageReturns(result1 error)
func (*FakeReleaseDir) VendorPackageReturnsOnCall ¶ added in v2.0.42
func (fake *FakeReleaseDir) VendorPackageReturnsOnCall(i int, result1 error)
type FakeReleaseIndex ¶
type FakeReleaseIndex struct { LastVersionStub func(name string) (*semver.Version, error) ContainsStub func(boshrel.Release) (bool, error) AddStub func(boshrelman.Manifest) error ManifestPathStub func(name, version string) string // contains filtered or unexported fields }
func (*FakeReleaseIndex) Add ¶
func (fake *FakeReleaseIndex) Add(arg1 boshrelman.Manifest) error
func (*FakeReleaseIndex) AddArgsForCall ¶
func (fake *FakeReleaseIndex) AddArgsForCall(i int) boshrelman.Manifest
func (*FakeReleaseIndex) AddCallCount ¶
func (fake *FakeReleaseIndex) AddCallCount() int
func (*FakeReleaseIndex) AddReturns ¶
func (fake *FakeReleaseIndex) AddReturns(result1 error)
func (*FakeReleaseIndex) AddReturnsOnCall ¶ added in v2.0.30
func (fake *FakeReleaseIndex) AddReturnsOnCall(i int, result1 error)
func (*FakeReleaseIndex) Contains ¶
func (fake *FakeReleaseIndex) Contains(arg1 boshrel.Release) (bool, error)
func (*FakeReleaseIndex) ContainsArgsForCall ¶
func (fake *FakeReleaseIndex) ContainsArgsForCall(i int) boshrel.Release
func (*FakeReleaseIndex) ContainsCallCount ¶
func (fake *FakeReleaseIndex) ContainsCallCount() int
func (*FakeReleaseIndex) ContainsReturns ¶
func (fake *FakeReleaseIndex) ContainsReturns(result1 bool, result2 error)
func (*FakeReleaseIndex) ContainsReturnsOnCall ¶ added in v2.0.30
func (fake *FakeReleaseIndex) ContainsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeReleaseIndex) Invocations ¶
func (fake *FakeReleaseIndex) Invocations() map[string][][]interface{}
func (*FakeReleaseIndex) LastVersion ¶
func (fake *FakeReleaseIndex) LastVersion(name string) (*semver.Version, error)
func (*FakeReleaseIndex) LastVersionArgsForCall ¶
func (fake *FakeReleaseIndex) LastVersionArgsForCall(i int) string
func (*FakeReleaseIndex) LastVersionCallCount ¶
func (fake *FakeReleaseIndex) LastVersionCallCount() int
func (*FakeReleaseIndex) LastVersionReturns ¶
func (fake *FakeReleaseIndex) LastVersionReturns(result1 *semver.Version, result2 error)
func (*FakeReleaseIndex) LastVersionReturnsOnCall ¶ added in v2.0.30
func (fake *FakeReleaseIndex) LastVersionReturnsOnCall(i int, result1 *semver.Version, result2 error)
func (*FakeReleaseIndex) ManifestPath ¶
func (fake *FakeReleaseIndex) ManifestPath(name string, version string) string
func (*FakeReleaseIndex) ManifestPathArgsForCall ¶
func (fake *FakeReleaseIndex) ManifestPathArgsForCall(i int) (string, string)
func (*FakeReleaseIndex) ManifestPathCallCount ¶
func (fake *FakeReleaseIndex) ManifestPathCallCount() int
func (*FakeReleaseIndex) ManifestPathReturns ¶
func (fake *FakeReleaseIndex) ManifestPathReturns(result1 string)
func (*FakeReleaseIndex) ManifestPathReturnsOnCall ¶ added in v2.0.30
func (fake *FakeReleaseIndex) ManifestPathReturnsOnCall(i int, result1 string)
type FakeReleaseIndexReporter ¶
type FakeReleaseIndexReporter struct { ReleaseIndexAddedStub func(name, desc string, err error) // contains filtered or unexported fields }
func (*FakeReleaseIndexReporter) Invocations ¶
func (fake *FakeReleaseIndexReporter) Invocations() map[string][][]interface{}
func (*FakeReleaseIndexReporter) ReleaseIndexAdded ¶
func (fake *FakeReleaseIndexReporter) ReleaseIndexAdded(name string, desc string, err error)
func (*FakeReleaseIndexReporter) ReleaseIndexAddedArgsForCall ¶
func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedArgsForCall(i int) (string, string, error)
func (*FakeReleaseIndexReporter) ReleaseIndexAddedCallCount ¶
func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedCallCount() int
Click to show internal directories.
Click to hide internal directories.