Versions in this module Expand all Collapse all v3 v3.0.1 Mar 13, 2018 Changes in this version + type FakeBlobsDir struct + BlobsStub func() ([]releasedir.Blob, error) + InitStub func() error + SyncBlobsStub func(numOfParallelWorkers int) error + TrackBlobStub func(string, io.ReadCloser) (releasedir.Blob, error) + UntrackBlobStub func(string) error + UploadBlobsStub func() error + 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 struct + BlobDownloadFinishedStub func(path, blobID string, err error) + BlobDownloadStartedStub func(path string, size int64, blobID, sha1 string) + BlobUploadFinishedStub func(path, blobID string, err error) + BlobUploadStartedStub func(path string, size int64, sha1 string) + 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 struct + BlobstoreStub func() (string, map[string]interface{}, error) + NameStub func() (string, error) + SaveNameStub func(string) error + 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 struct + CleanUpStub func(fileName string) (err error) + CreateStub func(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error) + DeleteStub func(blobId string) (err error) + GetStub func(blobID string, digest boshcrypto.Digest) (fileName string, err error) + ValidateStub func() (err error) + 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 struct + GenerateJobStub func(string) error + GeneratePackageStub func(string) error + 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 struct + InitStub func() error + LastCommitSHAStub func() (string, error) + MustNotBeDirtyStub func(force bool) (dirty bool, err error) + 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 struct + BuildReleaseStub func(name string, version semver.Version, force bool) (boshrel.Release, error) + DefaultNameStub func() (string, error) + FinalizeReleaseStub func(release boshrel.Release, force bool) error + FindReleaseStub func(name string, version semver.Version) (boshrel.Release, error) + GenerateJobStub func(string) error + GeneratePackageStub func(string) error + InitStub func(bool) error + NextDevVersionStub func(name string, timestamp bool) (semver.Version, error) + NextFinalVersionStub func(name string) (semver.Version, error) + ResetStub func() error + VendorPackageStub func(*boshpkg.Package) error + 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 struct + AddStub func(boshrelman.Manifest) error + ContainsStub func(boshrel.Release) (bool, error) + LastVersionStub func(name string) (*semver.Version, error) + ManifestPathStub func(name, version string) string + 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 struct + ReleaseIndexAddedStub func(name, desc string, err error) + 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 Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v4 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6