releasedirfakes

package
v5.5.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 8 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.

Index

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

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

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

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

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

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

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 (fake *FakeBlobsDirReporter) BlobDownloadStartedArgsForCall(i int) (string, int64, string, string)

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

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

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

func (fake *FakeConfig) SaveNameReturnsOnCall(i int, result1 error)

type FakeDigestBlobstore

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

func (fake *FakeDigestBlobstore) CleanUp(fileName string) (err error)

func (*FakeDigestBlobstore) CleanUpArgsForCall

func (fake *FakeDigestBlobstore) CleanUpArgsForCall(i int) string

func (*FakeDigestBlobstore) CleanUpCallCount

func (fake *FakeDigestBlobstore) CleanUpCallCount() int

func (*FakeDigestBlobstore) CleanUpReturns

func (fake *FakeDigestBlobstore) CleanUpReturns(result1 error)

func (*FakeDigestBlobstore) CleanUpReturnsOnCall

func (fake *FakeDigestBlobstore) CleanUpReturnsOnCall(i int, result1 error)

func (*FakeDigestBlobstore) Create

func (fake *FakeDigestBlobstore) Create(fileName string) (blobID string, digest boshcrypto.MultipleDigest, err error)

func (*FakeDigestBlobstore) CreateArgsForCall

func (fake *FakeDigestBlobstore) CreateArgsForCall(i int) string

func (*FakeDigestBlobstore) CreateCallCount

func (fake *FakeDigestBlobstore) CreateCallCount() int

func (*FakeDigestBlobstore) CreateReturns

func (fake *FakeDigestBlobstore) CreateReturns(result1 string, result2 boshcrypto.MultipleDigest, result3 error)

func (*FakeDigestBlobstore) CreateReturnsOnCall

func (fake *FakeDigestBlobstore) CreateReturnsOnCall(i int, result1 string, result2 boshcrypto.MultipleDigest, result3 error)

func (*FakeDigestBlobstore) Delete

func (fake *FakeDigestBlobstore) Delete(blobId string) (err error)

func (*FakeDigestBlobstore) DeleteArgsForCall

func (fake *FakeDigestBlobstore) DeleteArgsForCall(i int) string

func (*FakeDigestBlobstore) DeleteCallCount

func (fake *FakeDigestBlobstore) DeleteCallCount() int

func (*FakeDigestBlobstore) DeleteReturns

func (fake *FakeDigestBlobstore) DeleteReturns(result1 error)

func (*FakeDigestBlobstore) DeleteReturnsOnCall

func (fake *FakeDigestBlobstore) DeleteReturnsOnCall(i int, result1 error)

func (*FakeDigestBlobstore) Get

func (fake *FakeDigestBlobstore) Get(blobID string, digest boshcrypto.Digest) (fileName string, err error)

func (*FakeDigestBlobstore) GetArgsForCall

func (fake *FakeDigestBlobstore) GetArgsForCall(i int) (string, boshcrypto.Digest)

func (*FakeDigestBlobstore) GetCallCount

func (fake *FakeDigestBlobstore) GetCallCount() int

func (*FakeDigestBlobstore) GetReturns

func (fake *FakeDigestBlobstore) GetReturns(result1 string, result2 error)

func (*FakeDigestBlobstore) GetReturnsOnCall

func (fake *FakeDigestBlobstore) GetReturnsOnCall(i int, result1 string, result2 error)

func (*FakeDigestBlobstore) Invocations

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

func (*FakeDigestBlobstore) Validate

func (fake *FakeDigestBlobstore) Validate() (err error)

func (*FakeDigestBlobstore) ValidateCallCount

func (fake *FakeDigestBlobstore) ValidateCallCount() int

func (*FakeDigestBlobstore) ValidateReturns

func (fake *FakeDigestBlobstore) ValidateReturns(result1 error)

func (*FakeDigestBlobstore) ValidateReturnsOnCall

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

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

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

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

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

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 (fake *FakeReleaseDir) BuildRelease(name string, version semver.Version, force bool) (boshrel.Release, error)

func (*FakeReleaseDir) BuildReleaseArgsForCall

func (fake *FakeReleaseDir) BuildReleaseArgsForCall(i int) (string, semver.Version, bool)

func (*FakeReleaseDir) BuildReleaseCallCount

func (fake *FakeReleaseDir) BuildReleaseCallCount() int

func (*FakeReleaseDir) BuildReleaseReturns

func (fake *FakeReleaseDir) BuildReleaseReturns(result1 boshrel.Release, result2 error)

func (*FakeReleaseDir) BuildReleaseReturnsOnCall

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

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

func (fake *FakeReleaseDir) FinalizeReleaseReturnsOnCall(i int, result1 error)

func (*FakeReleaseDir) FindRelease

func (fake *FakeReleaseDir) FindRelease(name string, version semver.Version) (boshrel.Release, error)

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

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

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

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

func (fake *FakeReleaseDir) InitReturnsOnCall(i int, result1 error)

func (*FakeReleaseDir) Invocations

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

func (*FakeReleaseDir) NextDevVersion

func (fake *FakeReleaseDir) NextDevVersion(name string, timestamp bool) (semver.Version, error)

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

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

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

func (fake *FakeReleaseDir) ResetReturnsOnCall(i int, result1 error)

func (*FakeReleaseDir) VendorPackage

func (fake *FakeReleaseDir) VendorPackage(arg1 *boshpkg.Package) error

func (*FakeReleaseDir) VendorPackageArgsForCall

func (fake *FakeReleaseDir) VendorPackageArgsForCall(i int) *boshpkg.Package

func (*FakeReleaseDir) VendorPackageCallCount

func (fake *FakeReleaseDir) VendorPackageCallCount() int

func (*FakeReleaseDir) VendorPackageReturns

func (fake *FakeReleaseDir) VendorPackageReturns(result1 error)

func (*FakeReleaseDir) VendorPackageReturnsOnCall

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

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

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

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

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

Jump to

Keyboard shortcuts

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