gcbfakes

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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.

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 FakeHistoryImpl

type FakeHistoryImpl struct {
	GetJobsByTagStub func(string, string) ([]*cloudbuild.Build, error)

	ParseTimeStub func(string, string) (time.Time, error)
	// contains filtered or unexported fields
}

func (*FakeHistoryImpl) GetJobsByTag

func (fake *FakeHistoryImpl) GetJobsByTag(arg1 string, arg2 string) ([]*cloudbuild.Build, error)

func (*FakeHistoryImpl) GetJobsByTagArgsForCall

func (fake *FakeHistoryImpl) GetJobsByTagArgsForCall(i int) (string, string)

func (*FakeHistoryImpl) GetJobsByTagCallCount

func (fake *FakeHistoryImpl) GetJobsByTagCallCount() int

func (*FakeHistoryImpl) GetJobsByTagCalls

func (fake *FakeHistoryImpl) GetJobsByTagCalls(stub func(string, string) ([]*cloudbuild.Build, error))

func (*FakeHistoryImpl) GetJobsByTagReturns

func (fake *FakeHistoryImpl) GetJobsByTagReturns(result1 []*cloudbuild.Build, result2 error)

func (*FakeHistoryImpl) GetJobsByTagReturnsOnCall

func (fake *FakeHistoryImpl) GetJobsByTagReturnsOnCall(i int, result1 []*cloudbuild.Build, result2 error)

func (*FakeHistoryImpl) Invocations

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

func (*FakeHistoryImpl) ParseTime

func (fake *FakeHistoryImpl) ParseTime(arg1 string, arg2 string) (time.Time, error)

func (*FakeHistoryImpl) ParseTimeArgsForCall

func (fake *FakeHistoryImpl) ParseTimeArgsForCall(i int) (string, string)

func (*FakeHistoryImpl) ParseTimeCallCount

func (fake *FakeHistoryImpl) ParseTimeCallCount() int

func (*FakeHistoryImpl) ParseTimeCalls

func (fake *FakeHistoryImpl) ParseTimeCalls(stub func(string, string) (time.Time, error))

func (*FakeHistoryImpl) ParseTimeReturns

func (fake *FakeHistoryImpl) ParseTimeReturns(result1 time.Time, result2 error)

func (*FakeHistoryImpl) ParseTimeReturnsOnCall

func (fake *FakeHistoryImpl) ParseTimeReturnsOnCall(i int, result1 time.Time, result2 error)

type FakeListJobs

type FakeListJobs struct {
	ListJobsStub func(string, int64) error
	// contains filtered or unexported fields
}

func (*FakeListJobs) Invocations

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

func (*FakeListJobs) ListJobs

func (fake *FakeListJobs) ListJobs(arg1 string, arg2 int64) error

func (*FakeListJobs) ListJobsArgsForCall

func (fake *FakeListJobs) ListJobsArgsForCall(i int) (string, int64)

func (*FakeListJobs) ListJobsCallCount

func (fake *FakeListJobs) ListJobsCallCount() int

func (*FakeListJobs) ListJobsCalls

func (fake *FakeListJobs) ListJobsCalls(stub func(string, int64) error)

func (*FakeListJobs) ListJobsReturns

func (fake *FakeListJobs) ListJobsReturns(result1 error)

func (*FakeListJobs) ListJobsReturnsOnCall

func (fake *FakeListJobs) ListJobsReturnsOnCall(i int, result1 error)

type FakeRelease

type FakeRelease struct {
	GenerateReleaseVersionStub func(string, string, string, bool) (*release.Versions, error)

	NeedsCreationStub func(string, string, semver.Version) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeRelease) GenerateReleaseVersion

func (fake *FakeRelease) GenerateReleaseVersion(arg1 string, arg2 string, arg3 string, arg4 bool) (*release.Versions, error)

func (*FakeRelease) GenerateReleaseVersionArgsForCall

func (fake *FakeRelease) GenerateReleaseVersionArgsForCall(i int) (string, string, string, bool)

func (*FakeRelease) GenerateReleaseVersionCallCount

func (fake *FakeRelease) GenerateReleaseVersionCallCount() int

func (*FakeRelease) GenerateReleaseVersionCalls

func (fake *FakeRelease) GenerateReleaseVersionCalls(stub func(string, string, string, bool) (*release.Versions, error))

func (*FakeRelease) GenerateReleaseVersionReturns

func (fake *FakeRelease) GenerateReleaseVersionReturns(result1 *release.Versions, result2 error)

func (*FakeRelease) GenerateReleaseVersionReturnsOnCall

func (fake *FakeRelease) GenerateReleaseVersionReturnsOnCall(i int, result1 *release.Versions, result2 error)

func (*FakeRelease) Invocations

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

func (*FakeRelease) NeedsCreation

func (fake *FakeRelease) NeedsCreation(arg1 string, arg2 string, arg3 semver.Version) (bool, error)

func (*FakeRelease) NeedsCreationArgsForCall

func (fake *FakeRelease) NeedsCreationArgsForCall(i int) (string, string, semver.Version)

func (*FakeRelease) NeedsCreationCallCount

func (fake *FakeRelease) NeedsCreationCallCount() int

func (*FakeRelease) NeedsCreationCalls

func (fake *FakeRelease) NeedsCreationCalls(stub func(string, string, semver.Version) (bool, error))

func (*FakeRelease) NeedsCreationReturns

func (fake *FakeRelease) NeedsCreationReturns(result1 bool, result2 error)

func (*FakeRelease) NeedsCreationReturnsOnCall

func (fake *FakeRelease) NeedsCreationReturnsOnCall(i int, result1 bool, result2 error)

type FakeRepository

type FakeRepository struct {
	CheckStateStub func(string, string, string, bool) error

	GetTagStub func() (string, error)

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

func (*FakeRepository) CheckState

func (fake *FakeRepository) CheckState(arg1 string, arg2 string, arg3 string, arg4 bool) error

func (*FakeRepository) CheckStateArgsForCall

func (fake *FakeRepository) CheckStateArgsForCall(i int) (string, string, string, bool)

func (*FakeRepository) CheckStateCallCount

func (fake *FakeRepository) CheckStateCallCount() int

func (*FakeRepository) CheckStateCalls

func (fake *FakeRepository) CheckStateCalls(stub func(string, string, string, bool) error)

func (*FakeRepository) CheckStateReturns

func (fake *FakeRepository) CheckStateReturns(result1 error)

func (*FakeRepository) CheckStateReturnsOnCall

func (fake *FakeRepository) CheckStateReturnsOnCall(i int, result1 error)

func (*FakeRepository) GetTag

func (fake *FakeRepository) GetTag() (string, error)

func (*FakeRepository) GetTagCallCount

func (fake *FakeRepository) GetTagCallCount() int

func (*FakeRepository) GetTagCalls

func (fake *FakeRepository) GetTagCalls(stub func() (string, error))

func (*FakeRepository) GetTagReturns

func (fake *FakeRepository) GetTagReturns(result1 string, result2 error)

func (*FakeRepository) GetTagReturnsOnCall

func (fake *FakeRepository) GetTagReturnsOnCall(i int, result1 string, result2 error)

func (*FakeRepository) Invocations

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

func (*FakeRepository) Open

func (fake *FakeRepository) Open() error

func (*FakeRepository) OpenCallCount

func (fake *FakeRepository) OpenCallCount() int

func (*FakeRepository) OpenCalls

func (fake *FakeRepository) OpenCalls(stub func() error)

func (*FakeRepository) OpenReturns

func (fake *FakeRepository) OpenReturns(result1 error)

func (*FakeRepository) OpenReturnsOnCall

func (fake *FakeRepository) OpenReturnsOnCall(i int, result1 error)

type FakeVersion

type FakeVersion struct {
	GetKubeVersionForBranchStub func(release.VersionType, string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeVersion) GetKubeVersionForBranch

func (fake *FakeVersion) GetKubeVersionForBranch(arg1 release.VersionType, arg2 string) (string, error)

func (*FakeVersion) GetKubeVersionForBranchArgsForCall

func (fake *FakeVersion) GetKubeVersionForBranchArgsForCall(i int) (release.VersionType, string)

func (*FakeVersion) GetKubeVersionForBranchCallCount

func (fake *FakeVersion) GetKubeVersionForBranchCallCount() int

func (*FakeVersion) GetKubeVersionForBranchCalls

func (fake *FakeVersion) GetKubeVersionForBranchCalls(stub func(release.VersionType, string) (string, error))

func (*FakeVersion) GetKubeVersionForBranchReturns

func (fake *FakeVersion) GetKubeVersionForBranchReturns(result1 string, result2 error)

func (*FakeVersion) GetKubeVersionForBranchReturnsOnCall

func (fake *FakeVersion) GetKubeVersionForBranchReturnsOnCall(i int, result1 string, result2 error)

func (*FakeVersion) Invocations

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

Jump to

Keyboard shortcuts

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