releasedirfakes

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 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 {
	BlobsStub func() ([]releasedir.Blob, error)

	InitStub func() error

	SyncBlobsStub func(int) error

	TrackBlobStub func(string, io.ReadCloser) (releasedir.Blob, error)

	UntrackBlobStub func(string) error

	UploadBlobsStub func() 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) BlobsCalls

func (fake *FakeBlobsDir) BlobsCalls(stub func() ([]releasedir.Blob, error))

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

func (fake *FakeBlobsDir) InitCalls(stub func() error)

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(arg1 int) error

func (*FakeBlobsDir) SyncBlobsArgsForCall

func (fake *FakeBlobsDir) SyncBlobsArgsForCall(i int) int

func (*FakeBlobsDir) SyncBlobsCallCount

func (fake *FakeBlobsDir) SyncBlobsCallCount() int

func (*FakeBlobsDir) SyncBlobsCalls

func (fake *FakeBlobsDir) SyncBlobsCalls(stub func(int) error)

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

func (fake *FakeBlobsDir) TrackBlobCalls(stub func(string, io.ReadCloser) (releasedir.Blob, error))

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

func (fake *FakeBlobsDir) UntrackBlobCalls(stub func(string) error)

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

func (fake *FakeBlobsDir) UploadBlobsCalls(stub func() error)

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 {
	BlobDownloadFinishedStub func(string, string, error)

	BlobDownloadStartedStub func(string, int64, string, string)

	BlobUploadFinishedStub func(string, string, error)

	BlobUploadStartedStub func(string, int64, string)
	// contains filtered or unexported fields
}

func (*FakeBlobsDirReporter) BlobDownloadFinished

func (fake *FakeBlobsDirReporter) BlobDownloadFinished(arg1 string, arg2 string, arg3 error)

func (*FakeBlobsDirReporter) BlobDownloadFinishedArgsForCall

func (fake *FakeBlobsDirReporter) BlobDownloadFinishedArgsForCall(i int) (string, string, error)

func (*FakeBlobsDirReporter) BlobDownloadFinishedCallCount

func (fake *FakeBlobsDirReporter) BlobDownloadFinishedCallCount() int

func (*FakeBlobsDirReporter) BlobDownloadFinishedCalls

func (fake *FakeBlobsDirReporter) BlobDownloadFinishedCalls(stub func(string, string, error))

func (*FakeBlobsDirReporter) BlobDownloadStarted

func (fake *FakeBlobsDirReporter) BlobDownloadStarted(arg1 string, arg2 int64, arg3 string, arg4 string)

func (*FakeBlobsDirReporter) BlobDownloadStartedArgsForCall

func (fake *FakeBlobsDirReporter) BlobDownloadStartedArgsForCall(i int) (string, int64, string, string)

func (*FakeBlobsDirReporter) BlobDownloadStartedCallCount

func (fake *FakeBlobsDirReporter) BlobDownloadStartedCallCount() int

func (*FakeBlobsDirReporter) BlobDownloadStartedCalls

func (fake *FakeBlobsDirReporter) BlobDownloadStartedCalls(stub func(string, int64, string, string))

func (*FakeBlobsDirReporter) BlobUploadFinished

func (fake *FakeBlobsDirReporter) BlobUploadFinished(arg1 string, arg2 string, arg3 error)

func (*FakeBlobsDirReporter) BlobUploadFinishedArgsForCall

func (fake *FakeBlobsDirReporter) BlobUploadFinishedArgsForCall(i int) (string, string, error)

func (*FakeBlobsDirReporter) BlobUploadFinishedCallCount

func (fake *FakeBlobsDirReporter) BlobUploadFinishedCallCount() int

func (*FakeBlobsDirReporter) BlobUploadFinishedCalls

func (fake *FakeBlobsDirReporter) BlobUploadFinishedCalls(stub func(string, string, error))

func (*FakeBlobsDirReporter) BlobUploadStarted

func (fake *FakeBlobsDirReporter) BlobUploadStarted(arg1 string, arg2 int64, arg3 string)

func (*FakeBlobsDirReporter) BlobUploadStartedArgsForCall

func (fake *FakeBlobsDirReporter) BlobUploadStartedArgsForCall(i int) (string, int64, string)

func (*FakeBlobsDirReporter) BlobUploadStartedCallCount

func (fake *FakeBlobsDirReporter) BlobUploadStartedCallCount() int

func (*FakeBlobsDirReporter) BlobUploadStartedCalls

func (fake *FakeBlobsDirReporter) BlobUploadStartedCalls(stub func(string, int64, string))

func (*FakeBlobsDirReporter) Invocations

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

type FakeConfig

type FakeConfig struct {
	BlobstoreStub func() (string, map[string]interface{}, error)

	NameStub func() (string, error)

	SaveNameStub func(string) 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) BlobstoreCalls

func (fake *FakeConfig) BlobstoreCalls(stub func() (string, map[string]interface{}, error))

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 added in v0.0.117

func (fake *FakeConfig) Name() (string, error)

func (*FakeConfig) NameCallCount added in v0.0.117

func (fake *FakeConfig) NameCallCount() int

func (*FakeConfig) NameCalls

func (fake *FakeConfig) NameCalls(stub func() (string, error))

func (*FakeConfig) NameReturns added in v0.0.117

func (fake *FakeConfig) NameReturns(result1 string, result2 error)

func (*FakeConfig) NameReturnsOnCall

func (fake *FakeConfig) NameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeConfig) SaveName added in v0.0.117

func (fake *FakeConfig) SaveName(arg1 string) error

func (*FakeConfig) SaveNameArgsForCall added in v0.0.117

func (fake *FakeConfig) SaveNameArgsForCall(i int) string

func (*FakeConfig) SaveNameCallCount added in v0.0.117

func (fake *FakeConfig) SaveNameCallCount() int

func (*FakeConfig) SaveNameCalls

func (fake *FakeConfig) SaveNameCalls(stub func(string) error)

func (*FakeConfig) SaveNameReturns added in v0.0.117

func (fake *FakeConfig) SaveNameReturns(result1 error)

func (*FakeConfig) SaveNameReturnsOnCall

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

type FakeDigestBlobstore

type FakeDigestBlobstore struct {
	CleanUpStub func(string) error

	CreateStub func(string) (string, crypto.MultipleDigest, error)

	DeleteStub func(string) error

	GetStub func(string, crypto.Digest) (string, error)

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*FakeDigestBlobstore) CleanUp

func (fake *FakeDigestBlobstore) CleanUp(arg1 string) error

func (*FakeDigestBlobstore) CleanUpArgsForCall

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

func (*FakeDigestBlobstore) CleanUpCallCount

func (fake *FakeDigestBlobstore) CleanUpCallCount() int

func (*FakeDigestBlobstore) CleanUpCalls

func (fake *FakeDigestBlobstore) CleanUpCalls(stub func(string) error)

func (*FakeDigestBlobstore) CleanUpReturns

func (fake *FakeDigestBlobstore) CleanUpReturns(result1 error)

func (*FakeDigestBlobstore) CleanUpReturnsOnCall

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

func (*FakeDigestBlobstore) Create

func (*FakeDigestBlobstore) CreateArgsForCall

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

func (*FakeDigestBlobstore) CreateCallCount

func (fake *FakeDigestBlobstore) CreateCallCount() int

func (*FakeDigestBlobstore) CreateCalls

func (fake *FakeDigestBlobstore) CreateCalls(stub func(string) (string, crypto.MultipleDigest, error))

func (*FakeDigestBlobstore) CreateReturns

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

func (*FakeDigestBlobstore) CreateReturnsOnCall

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

func (*FakeDigestBlobstore) Delete

func (fake *FakeDigestBlobstore) Delete(arg1 string) error

func (*FakeDigestBlobstore) DeleteArgsForCall

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

func (*FakeDigestBlobstore) DeleteCallCount

func (fake *FakeDigestBlobstore) DeleteCallCount() int

func (*FakeDigestBlobstore) DeleteCalls

func (fake *FakeDigestBlobstore) DeleteCalls(stub func(string) error)

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(arg1 string, arg2 crypto.Digest) (string, error)

func (*FakeDigestBlobstore) GetArgsForCall

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

func (*FakeDigestBlobstore) GetCallCount

func (fake *FakeDigestBlobstore) GetCallCount() int

func (*FakeDigestBlobstore) GetCalls

func (fake *FakeDigestBlobstore) GetCalls(stub func(string, crypto.Digest) (string, error))

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

func (*FakeDigestBlobstore) ValidateCallCount

func (fake *FakeDigestBlobstore) ValidateCallCount() int

func (*FakeDigestBlobstore) ValidateCalls

func (fake *FakeDigestBlobstore) ValidateCalls(stub func() error)

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

func (fake *FakeGenerator) GenerateJobCalls(stub func(string) error)

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

func (fake *FakeGenerator) GeneratePackageCalls(stub func(string) error)

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(bool) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeGitRepo) Init

func (fake *FakeGitRepo) Init() error

func (*FakeGitRepo) InitCallCount

func (fake *FakeGitRepo) InitCallCount() int

func (*FakeGitRepo) InitCalls

func (fake *FakeGitRepo) InitCalls(stub func() error)

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

func (fake *FakeGitRepo) LastCommitSHACalls(stub func() (string, error))

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(arg1 bool) (bool, error)

func (*FakeGitRepo) MustNotBeDirtyArgsForCall

func (fake *FakeGitRepo) MustNotBeDirtyArgsForCall(i int) bool

func (*FakeGitRepo) MustNotBeDirtyCallCount

func (fake *FakeGitRepo) MustNotBeDirtyCallCount() int

func (*FakeGitRepo) MustNotBeDirtyCalls

func (fake *FakeGitRepo) MustNotBeDirtyCalls(stub func(bool) (bool, error))

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 {
	BuildReleaseStub func(string, version.Version, bool) (release.Release, error)

	DefaultNameStub func() (string, error)

	FinalizeReleaseStub func(release.Release, bool) error

	FindReleaseStub func(string, version.Version) (release.Release, error)

	GenerateJobStub func(string) error

	GeneratePackageStub func(string) error

	InitStub func(bool) error

	NextDevVersionStub func(string, bool) (version.Version, error)

	NextFinalVersionStub func(string) (version.Version, error)

	ResetStub func() error

	VendorPackageStub func(*pkg.Package) error
	// contains filtered or unexported fields
}

func (*FakeReleaseDir) BuildRelease

func (fake *FakeReleaseDir) BuildRelease(arg1 string, arg2 version.Version, arg3 bool) (release.Release, error)

func (*FakeReleaseDir) BuildReleaseArgsForCall

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

func (*FakeReleaseDir) BuildReleaseCallCount

func (fake *FakeReleaseDir) BuildReleaseCallCount() int

func (*FakeReleaseDir) BuildReleaseCalls

func (fake *FakeReleaseDir) BuildReleaseCalls(stub func(string, version.Version, bool) (release.Release, error))

func (*FakeReleaseDir) BuildReleaseReturns

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

func (*FakeReleaseDir) BuildReleaseReturnsOnCall

func (fake *FakeReleaseDir) BuildReleaseReturnsOnCall(i int, result1 release.Release, result2 error)

func (*FakeReleaseDir) DefaultName

func (fake *FakeReleaseDir) DefaultName() (string, error)

func (*FakeReleaseDir) DefaultNameCallCount

func (fake *FakeReleaseDir) DefaultNameCallCount() int

func (*FakeReleaseDir) DefaultNameCalls

func (fake *FakeReleaseDir) DefaultNameCalls(stub func() (string, error))

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(arg1 release.Release, arg2 bool) error

func (*FakeReleaseDir) FinalizeReleaseArgsForCall

func (fake *FakeReleaseDir) FinalizeReleaseArgsForCall(i int) (release.Release, bool)

func (*FakeReleaseDir) FinalizeReleaseCallCount

func (fake *FakeReleaseDir) FinalizeReleaseCallCount() int

func (*FakeReleaseDir) FinalizeReleaseCalls

func (fake *FakeReleaseDir) FinalizeReleaseCalls(stub func(release.Release, bool) error)

func (*FakeReleaseDir) FinalizeReleaseReturns

func (fake *FakeReleaseDir) FinalizeReleaseReturns(result1 error)

func (*FakeReleaseDir) FinalizeReleaseReturnsOnCall

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

func (*FakeReleaseDir) FindRelease added in v0.0.139

func (fake *FakeReleaseDir) FindRelease(arg1 string, arg2 version.Version) (release.Release, error)

func (*FakeReleaseDir) FindReleaseArgsForCall added in v0.0.139

func (fake *FakeReleaseDir) FindReleaseArgsForCall(i int) (string, version.Version)

func (*FakeReleaseDir) FindReleaseCallCount added in v0.0.139

func (fake *FakeReleaseDir) FindReleaseCallCount() int

func (*FakeReleaseDir) FindReleaseCalls

func (fake *FakeReleaseDir) FindReleaseCalls(stub func(string, version.Version) (release.Release, error))

func (*FakeReleaseDir) FindReleaseReturns added in v0.0.139

func (fake *FakeReleaseDir) FindReleaseReturns(result1 release.Release, result2 error)

func (*FakeReleaseDir) FindReleaseReturnsOnCall

func (fake *FakeReleaseDir) FindReleaseReturnsOnCall(i int, result1 release.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) GenerateJobCalls

func (fake *FakeReleaseDir) GenerateJobCalls(stub func(string) error)

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

func (fake *FakeReleaseDir) GeneratePackageCalls(stub func(string) error)

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

func (fake *FakeReleaseDir) InitCalls(stub func(bool) error)

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(arg1 string, arg2 bool) (version.Version, error)

func (*FakeReleaseDir) NextDevVersionArgsForCall

func (fake *FakeReleaseDir) NextDevVersionArgsForCall(i int) (string, bool)

func (*FakeReleaseDir) NextDevVersionCallCount

func (fake *FakeReleaseDir) NextDevVersionCallCount() int

func (*FakeReleaseDir) NextDevVersionCalls

func (fake *FakeReleaseDir) NextDevVersionCalls(stub func(string, bool) (version.Version, error))

func (*FakeReleaseDir) NextDevVersionReturns

func (fake *FakeReleaseDir) NextDevVersionReturns(result1 version.Version, result2 error)

func (*FakeReleaseDir) NextDevVersionReturnsOnCall

func (fake *FakeReleaseDir) NextDevVersionReturnsOnCall(i int, result1 version.Version, result2 error)

func (*FakeReleaseDir) NextFinalVersion

func (fake *FakeReleaseDir) NextFinalVersion(arg1 string) (version.Version, error)

func (*FakeReleaseDir) NextFinalVersionArgsForCall

func (fake *FakeReleaseDir) NextFinalVersionArgsForCall(i int) string

func (*FakeReleaseDir) NextFinalVersionCallCount

func (fake *FakeReleaseDir) NextFinalVersionCallCount() int

func (*FakeReleaseDir) NextFinalVersionCalls

func (fake *FakeReleaseDir) NextFinalVersionCalls(stub func(string) (version.Version, error))

func (*FakeReleaseDir) NextFinalVersionReturns

func (fake *FakeReleaseDir) NextFinalVersionReturns(result1 version.Version, result2 error)

func (*FakeReleaseDir) NextFinalVersionReturnsOnCall

func (fake *FakeReleaseDir) NextFinalVersionReturnsOnCall(i int, result1 version.Version, result2 error)

func (*FakeReleaseDir) Reset

func (fake *FakeReleaseDir) Reset() error

func (*FakeReleaseDir) ResetCallCount

func (fake *FakeReleaseDir) ResetCallCount() int

func (*FakeReleaseDir) ResetCalls

func (fake *FakeReleaseDir) ResetCalls(stub func() error)

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 *pkg.Package) error

func (*FakeReleaseDir) VendorPackageArgsForCall

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

func (*FakeReleaseDir) VendorPackageCallCount

func (fake *FakeReleaseDir) VendorPackageCallCount() int

func (*FakeReleaseDir) VendorPackageCalls

func (fake *FakeReleaseDir) VendorPackageCalls(stub func(*pkg.Package) error)

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 {
	AddStub func(manifest.Manifest) error

	ContainsStub func(release.Release) (bool, error)

	LastVersionStub func(string) (*version.Version, error)

	ManifestPathStub func(string, string) string
	// contains filtered or unexported fields
}

func (*FakeReleaseIndex) Add

func (fake *FakeReleaseIndex) Add(arg1 manifest.Manifest) error

func (*FakeReleaseIndex) AddArgsForCall

func (fake *FakeReleaseIndex) AddArgsForCall(i int) manifest.Manifest

func (*FakeReleaseIndex) AddCallCount

func (fake *FakeReleaseIndex) AddCallCount() int

func (*FakeReleaseIndex) AddCalls

func (fake *FakeReleaseIndex) AddCalls(stub func(manifest.Manifest) error)

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 release.Release) (bool, error)

func (*FakeReleaseIndex) ContainsArgsForCall

func (fake *FakeReleaseIndex) ContainsArgsForCall(i int) release.Release

func (*FakeReleaseIndex) ContainsCallCount

func (fake *FakeReleaseIndex) ContainsCallCount() int

func (*FakeReleaseIndex) ContainsCalls

func (fake *FakeReleaseIndex) ContainsCalls(stub func(release.Release) (bool, error))

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(arg1 string) (*version.Version, error)

func (*FakeReleaseIndex) LastVersionArgsForCall

func (fake *FakeReleaseIndex) LastVersionArgsForCall(i int) string

func (*FakeReleaseIndex) LastVersionCallCount

func (fake *FakeReleaseIndex) LastVersionCallCount() int

func (*FakeReleaseIndex) LastVersionCalls

func (fake *FakeReleaseIndex) LastVersionCalls(stub func(string) (*version.Version, error))

func (*FakeReleaseIndex) LastVersionReturns

func (fake *FakeReleaseIndex) LastVersionReturns(result1 *version.Version, result2 error)

func (*FakeReleaseIndex) LastVersionReturnsOnCall

func (fake *FakeReleaseIndex) LastVersionReturnsOnCall(i int, result1 *version.Version, result2 error)

func (*FakeReleaseIndex) ManifestPath

func (fake *FakeReleaseIndex) ManifestPath(arg1 string, arg2 string) string

func (*FakeReleaseIndex) ManifestPathArgsForCall

func (fake *FakeReleaseIndex) ManifestPathArgsForCall(i int) (string, string)

func (*FakeReleaseIndex) ManifestPathCallCount

func (fake *FakeReleaseIndex) ManifestPathCallCount() int

func (*FakeReleaseIndex) ManifestPathCalls

func (fake *FakeReleaseIndex) ManifestPathCalls(stub func(string, string) string)

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(string, string, error)
	// contains filtered or unexported fields
}

func (*FakeReleaseIndexReporter) Invocations

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

func (*FakeReleaseIndexReporter) ReleaseIndexAdded

func (fake *FakeReleaseIndexReporter) ReleaseIndexAdded(arg1 string, arg2 string, arg3 error)

func (*FakeReleaseIndexReporter) ReleaseIndexAddedArgsForCall

func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedArgsForCall(i int) (string, string, error)

func (*FakeReleaseIndexReporter) ReleaseIndexAddedCallCount

func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedCallCount() int

func (*FakeReleaseIndexReporter) ReleaseIndexAddedCalls

func (fake *FakeReleaseIndexReporter) ReleaseIndexAddedCalls(stub func(string, string, error))

Jump to

Keyboard shortcuts

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