releasefakes

package
v5.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 6 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReader

type FakeReader struct {
	ReadStub func(string) (release.Release, error)
	// contains filtered or unexported fields
}

func (*FakeReader) Invocations

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

func (*FakeReader) Read

func (fake *FakeReader) Read(arg1 string) (release.Release, error)

func (*FakeReader) ReadArgsForCall

func (fake *FakeReader) ReadArgsForCall(i int) string

func (*FakeReader) ReadCallCount

func (fake *FakeReader) ReadCallCount() int

func (*FakeReader) ReadReturns

func (fake *FakeReader) ReadReturns(result1 release.Release, result2 error)

func (*FakeReader) ReadReturnsOnCall

func (fake *FakeReader) ReadReturnsOnCall(i int, result1 release.Release, result2 error)

type FakeRelease

type FakeRelease struct {
	NameStub func() string

	SetNameStub func(string)

	VersionStub func() string

	SetVersionStub func(string)

	CommitHashWithMarkStub func(string) string

	SetCommitHashStub func(string)

	SetUncommittedChangesStub func(bool)

	JobsStub func() []*boshjob.Job

	PackagesStub func() []*boshpkg.Package

	CompiledPackagesStub func() []*boshpkg.CompiledPackage

	LicenseStub func() *boshlic.License

	IsCompiledStub func() bool

	FindJobByNameStub func(string) (boshjob.Job, bool)

	ManifestStub func() boshman.Manifest

	BuildStub func(dev, final release.ArchiveIndicies, parallel int) error

	FinalizeStub func(final release.ArchiveIndicies, parallel int) error

	CopyWithStub func(jobs []*boshjob.Job, packages []*boshpkg.Package, lic *boshlic.License, compiledPackages []*boshpkg.CompiledPackage) release.Release

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

func (*FakeRelease) Build

func (fake *FakeRelease) Build(dev release.ArchiveIndicies, final release.ArchiveIndicies, parallel int) error

func (*FakeRelease) BuildArgsForCall

func (fake *FakeRelease) BuildArgsForCall(i int) (release.ArchiveIndicies, release.ArchiveIndicies, int)

func (*FakeRelease) BuildCallCount

func (fake *FakeRelease) BuildCallCount() int

func (*FakeRelease) BuildReturns

func (fake *FakeRelease) BuildReturns(result1 error)

func (*FakeRelease) BuildReturnsOnCall

func (fake *FakeRelease) BuildReturnsOnCall(i int, result1 error)

func (*FakeRelease) CleanUp

func (fake *FakeRelease) CleanUp() error

func (*FakeRelease) CleanUpCallCount

func (fake *FakeRelease) CleanUpCallCount() int

func (*FakeRelease) CleanUpReturns

func (fake *FakeRelease) CleanUpReturns(result1 error)

func (*FakeRelease) CleanUpReturnsOnCall

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

func (*FakeRelease) CommitHashWithMark

func (fake *FakeRelease) CommitHashWithMark(arg1 string) string

func (*FakeRelease) CommitHashWithMarkArgsForCall

func (fake *FakeRelease) CommitHashWithMarkArgsForCall(i int) string

func (*FakeRelease) CommitHashWithMarkCallCount

func (fake *FakeRelease) CommitHashWithMarkCallCount() int

func (*FakeRelease) CommitHashWithMarkReturns

func (fake *FakeRelease) CommitHashWithMarkReturns(result1 string)

func (*FakeRelease) CommitHashWithMarkReturnsOnCall

func (fake *FakeRelease) CommitHashWithMarkReturnsOnCall(i int, result1 string)

func (*FakeRelease) CompiledPackages

func (fake *FakeRelease) CompiledPackages() []*boshpkg.CompiledPackage

func (*FakeRelease) CompiledPackagesCallCount

func (fake *FakeRelease) CompiledPackagesCallCount() int

func (*FakeRelease) CompiledPackagesReturns

func (fake *FakeRelease) CompiledPackagesReturns(result1 []*boshpkg.CompiledPackage)

func (*FakeRelease) CompiledPackagesReturnsOnCall

func (fake *FakeRelease) CompiledPackagesReturnsOnCall(i int, result1 []*boshpkg.CompiledPackage)

func (*FakeRelease) CopyWith

func (fake *FakeRelease) CopyWith(jobs []*boshjob.Job, packages []*boshpkg.Package, lic *boshlic.License, compiledPackages []*boshpkg.CompiledPackage) release.Release

func (*FakeRelease) CopyWithArgsForCall

func (fake *FakeRelease) CopyWithArgsForCall(i int) ([]*boshjob.Job, []*boshpkg.Package, *boshlic.License, []*boshpkg.CompiledPackage)

func (*FakeRelease) CopyWithCallCount

func (fake *FakeRelease) CopyWithCallCount() int

func (*FakeRelease) CopyWithReturns

func (fake *FakeRelease) CopyWithReturns(result1 release.Release)

func (*FakeRelease) CopyWithReturnsOnCall

func (fake *FakeRelease) CopyWithReturnsOnCall(i int, result1 release.Release)

func (*FakeRelease) Finalize

func (fake *FakeRelease) Finalize(final release.ArchiveIndicies, parallel int) error

func (*FakeRelease) FinalizeArgsForCall

func (fake *FakeRelease) FinalizeArgsForCall(i int) (release.ArchiveIndicies, int)

func (*FakeRelease) FinalizeCallCount

func (fake *FakeRelease) FinalizeCallCount() int

func (*FakeRelease) FinalizeReturns

func (fake *FakeRelease) FinalizeReturns(result1 error)

func (*FakeRelease) FinalizeReturnsOnCall

func (fake *FakeRelease) FinalizeReturnsOnCall(i int, result1 error)

func (*FakeRelease) FindJobByName

func (fake *FakeRelease) FindJobByName(arg1 string) (boshjob.Job, bool)

func (*FakeRelease) FindJobByNameArgsForCall

func (fake *FakeRelease) FindJobByNameArgsForCall(i int) string

func (*FakeRelease) FindJobByNameCallCount

func (fake *FakeRelease) FindJobByNameCallCount() int

func (*FakeRelease) FindJobByNameReturns

func (fake *FakeRelease) FindJobByNameReturns(result1 boshjob.Job, result2 bool)

func (*FakeRelease) FindJobByNameReturnsOnCall

func (fake *FakeRelease) FindJobByNameReturnsOnCall(i int, result1 boshjob.Job, result2 bool)

func (*FakeRelease) Invocations

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

func (*FakeRelease) IsCompiled

func (fake *FakeRelease) IsCompiled() bool

func (*FakeRelease) IsCompiledCallCount

func (fake *FakeRelease) IsCompiledCallCount() int

func (*FakeRelease) IsCompiledReturns

func (fake *FakeRelease) IsCompiledReturns(result1 bool)

func (*FakeRelease) IsCompiledReturnsOnCall

func (fake *FakeRelease) IsCompiledReturnsOnCall(i int, result1 bool)

func (*FakeRelease) Jobs

func (fake *FakeRelease) Jobs() []*boshjob.Job

func (*FakeRelease) JobsCallCount

func (fake *FakeRelease) JobsCallCount() int

func (*FakeRelease) JobsReturns

func (fake *FakeRelease) JobsReturns(result1 []*boshjob.Job)

func (*FakeRelease) JobsReturnsOnCall

func (fake *FakeRelease) JobsReturnsOnCall(i int, result1 []*boshjob.Job)

func (*FakeRelease) License

func (fake *FakeRelease) License() *boshlic.License

func (*FakeRelease) LicenseCallCount

func (fake *FakeRelease) LicenseCallCount() int

func (*FakeRelease) LicenseReturns

func (fake *FakeRelease) LicenseReturns(result1 *boshlic.License)

func (*FakeRelease) LicenseReturnsOnCall

func (fake *FakeRelease) LicenseReturnsOnCall(i int, result1 *boshlic.License)

func (*FakeRelease) Manifest

func (fake *FakeRelease) Manifest() boshman.Manifest

func (*FakeRelease) ManifestCallCount

func (fake *FakeRelease) ManifestCallCount() int

func (*FakeRelease) ManifestReturns

func (fake *FakeRelease) ManifestReturns(result1 boshman.Manifest)

func (*FakeRelease) ManifestReturnsOnCall

func (fake *FakeRelease) ManifestReturnsOnCall(i int, result1 boshman.Manifest)

func (*FakeRelease) Name

func (fake *FakeRelease) Name() string

func (*FakeRelease) NameCallCount

func (fake *FakeRelease) NameCallCount() int

func (*FakeRelease) NameReturns

func (fake *FakeRelease) NameReturns(result1 string)

func (*FakeRelease) NameReturnsOnCall

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

func (*FakeRelease) Packages

func (fake *FakeRelease) Packages() []*boshpkg.Package

func (*FakeRelease) PackagesCallCount

func (fake *FakeRelease) PackagesCallCount() int

func (*FakeRelease) PackagesReturns

func (fake *FakeRelease) PackagesReturns(result1 []*boshpkg.Package)

func (*FakeRelease) PackagesReturnsOnCall

func (fake *FakeRelease) PackagesReturnsOnCall(i int, result1 []*boshpkg.Package)

func (*FakeRelease) SetCommitHash

func (fake *FakeRelease) SetCommitHash(arg1 string)

func (*FakeRelease) SetCommitHashArgsForCall

func (fake *FakeRelease) SetCommitHashArgsForCall(i int) string

func (*FakeRelease) SetCommitHashCallCount

func (fake *FakeRelease) SetCommitHashCallCount() int

func (*FakeRelease) SetName

func (fake *FakeRelease) SetName(arg1 string)

func (*FakeRelease) SetNameArgsForCall

func (fake *FakeRelease) SetNameArgsForCall(i int) string

func (*FakeRelease) SetNameCallCount

func (fake *FakeRelease) SetNameCallCount() int

func (*FakeRelease) SetUncommittedChanges

func (fake *FakeRelease) SetUncommittedChanges(arg1 bool)

func (*FakeRelease) SetUncommittedChangesArgsForCall

func (fake *FakeRelease) SetUncommittedChangesArgsForCall(i int) bool

func (*FakeRelease) SetUncommittedChangesCallCount

func (fake *FakeRelease) SetUncommittedChangesCallCount() int

func (*FakeRelease) SetVersion

func (fake *FakeRelease) SetVersion(arg1 string)

func (*FakeRelease) SetVersionArgsForCall

func (fake *FakeRelease) SetVersionArgsForCall(i int) string

func (*FakeRelease) SetVersionCallCount

func (fake *FakeRelease) SetVersionCallCount() int

func (*FakeRelease) Version

func (fake *FakeRelease) Version() string

func (*FakeRelease) VersionCallCount

func (fake *FakeRelease) VersionCallCount() int

func (*FakeRelease) VersionReturns

func (fake *FakeRelease) VersionReturns(result1 string)

func (*FakeRelease) VersionReturnsOnCall

func (fake *FakeRelease) VersionReturnsOnCall(i int, result1 string)

type FakeWriter

type FakeWriter struct {
	WriteStub func(release.Release, []string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeWriter) Invocations

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

func (*FakeWriter) Write

func (fake *FakeWriter) Write(arg1 release.Release, arg2 []string) (string, error)

func (*FakeWriter) WriteArgsForCall

func (fake *FakeWriter) WriteArgsForCall(i int) (release.Release, []string)

func (*FakeWriter) WriteCallCount

func (fake *FakeWriter) WriteCallCount() int

func (*FakeWriter) WriteReturns

func (fake *FakeWriter) WriteReturns(result1 string, result2 error)

func (*FakeWriter) WriteReturnsOnCall

func (fake *FakeWriter) WriteReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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