releasefakes

package
v0.0.131 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

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)

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() []*job.Job

	PackagesStub func() []*pkg.Package

	CompiledPackagesStub func() []*pkg.CompiledPackage

	LicenseStub func() *license.License

	IsCompiledStub func() bool

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

	ManifestStub func() manifest.Manifest

	BuildStub func(dev, final release.ArchiveIndicies) error

	FinalizeStub func(final release.ArchiveIndicies) error

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

func (*FakeRelease) Build

func (*FakeRelease) BuildArgsForCall

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

func (*FakeRelease) BuildCallCount

func (fake *FakeRelease) BuildCallCount() int

func (*FakeRelease) BuildReturns

func (fake *FakeRelease) BuildReturns(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) 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) CompiledPackages

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

func (*FakeRelease) CompiledPackagesCallCount

func (fake *FakeRelease) CompiledPackagesCallCount() int

func (*FakeRelease) CompiledPackagesReturns

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

func (*FakeRelease) Finalize

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

func (*FakeRelease) FinalizeArgsForCall

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

func (*FakeRelease) FinalizeCallCount

func (fake *FakeRelease) FinalizeCallCount() int

func (*FakeRelease) FinalizeReturns

func (fake *FakeRelease) FinalizeReturns(result1 error)

func (*FakeRelease) FindJobByName

func (fake *FakeRelease) FindJobByName(arg1 string) (job.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 job.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) Jobs

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

func (*FakeRelease) JobsCallCount

func (fake *FakeRelease) JobsCallCount() int

func (*FakeRelease) JobsReturns

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

func (*FakeRelease) License

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

func (*FakeRelease) LicenseCallCount

func (fake *FakeRelease) LicenseCallCount() int

func (*FakeRelease) LicenseReturns

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

func (*FakeRelease) Manifest

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

func (*FakeRelease) ManifestCallCount

func (fake *FakeRelease) ManifestCallCount() int

func (*FakeRelease) ManifestReturns

func (fake *FakeRelease) ManifestReturns(result1 manifest.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) Packages

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

func (*FakeRelease) PackagesCallCount

func (fake *FakeRelease) PackagesCallCount() int

func (*FakeRelease) PackagesReturns

func (fake *FakeRelease) PackagesReturns(result1 []*pkg.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)

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)

Jump to

Keyboard shortcuts

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