obsfakes

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 FakePrerequisitesCheckerImpl

type FakePrerequisitesCheckerImpl struct {
	CommandAvailableStub func(...string) bool

	IsEnvSetStub func(string) bool

	OSCOutputStub func(...string) (string, error)

	UsageStub func(string) (*disk.UsageStat, error)
	// contains filtered or unexported fields
}

func (*FakePrerequisitesCheckerImpl) CommandAvailable

func (fake *FakePrerequisitesCheckerImpl) CommandAvailable(arg1 ...string) bool

func (*FakePrerequisitesCheckerImpl) CommandAvailableArgsForCall

func (fake *FakePrerequisitesCheckerImpl) CommandAvailableArgsForCall(i int) []string

func (*FakePrerequisitesCheckerImpl) CommandAvailableCallCount

func (fake *FakePrerequisitesCheckerImpl) CommandAvailableCallCount() int

func (*FakePrerequisitesCheckerImpl) CommandAvailableCalls

func (fake *FakePrerequisitesCheckerImpl) CommandAvailableCalls(stub func(...string) bool)

func (*FakePrerequisitesCheckerImpl) CommandAvailableReturns

func (fake *FakePrerequisitesCheckerImpl) CommandAvailableReturns(result1 bool)

func (*FakePrerequisitesCheckerImpl) CommandAvailableReturnsOnCall

func (fake *FakePrerequisitesCheckerImpl) CommandAvailableReturnsOnCall(i int, result1 bool)

func (*FakePrerequisitesCheckerImpl) Invocations

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

func (*FakePrerequisitesCheckerImpl) IsEnvSet

func (fake *FakePrerequisitesCheckerImpl) IsEnvSet(arg1 string) bool

func (*FakePrerequisitesCheckerImpl) IsEnvSetArgsForCall

func (fake *FakePrerequisitesCheckerImpl) IsEnvSetArgsForCall(i int) string

func (*FakePrerequisitesCheckerImpl) IsEnvSetCallCount

func (fake *FakePrerequisitesCheckerImpl) IsEnvSetCallCount() int

func (*FakePrerequisitesCheckerImpl) IsEnvSetCalls

func (fake *FakePrerequisitesCheckerImpl) IsEnvSetCalls(stub func(string) bool)

func (*FakePrerequisitesCheckerImpl) IsEnvSetReturns

func (fake *FakePrerequisitesCheckerImpl) IsEnvSetReturns(result1 bool)

func (*FakePrerequisitesCheckerImpl) IsEnvSetReturnsOnCall

func (fake *FakePrerequisitesCheckerImpl) IsEnvSetReturnsOnCall(i int, result1 bool)

func (*FakePrerequisitesCheckerImpl) OSCOutput

func (fake *FakePrerequisitesCheckerImpl) OSCOutput(arg1 ...string) (string, error)

func (*FakePrerequisitesCheckerImpl) OSCOutputArgsForCall

func (fake *FakePrerequisitesCheckerImpl) OSCOutputArgsForCall(i int) []string

func (*FakePrerequisitesCheckerImpl) OSCOutputCallCount

func (fake *FakePrerequisitesCheckerImpl) OSCOutputCallCount() int

func (*FakePrerequisitesCheckerImpl) OSCOutputCalls

func (fake *FakePrerequisitesCheckerImpl) OSCOutputCalls(stub func(...string) (string, error))

func (*FakePrerequisitesCheckerImpl) OSCOutputReturns

func (fake *FakePrerequisitesCheckerImpl) OSCOutputReturns(result1 string, result2 error)

func (*FakePrerequisitesCheckerImpl) OSCOutputReturnsOnCall

func (fake *FakePrerequisitesCheckerImpl) OSCOutputReturnsOnCall(i int, result1 string, result2 error)

func (*FakePrerequisitesCheckerImpl) Usage

func (fake *FakePrerequisitesCheckerImpl) Usage(arg1 string) (*disk.UsageStat, error)

func (*FakePrerequisitesCheckerImpl) UsageArgsForCall

func (fake *FakePrerequisitesCheckerImpl) UsageArgsForCall(i int) string

func (*FakePrerequisitesCheckerImpl) UsageCallCount

func (fake *FakePrerequisitesCheckerImpl) UsageCallCount() int

func (*FakePrerequisitesCheckerImpl) UsageCalls

func (fake *FakePrerequisitesCheckerImpl) UsageCalls(stub func(string) (*disk.UsageStat, error))

func (*FakePrerequisitesCheckerImpl) UsageReturns

func (fake *FakePrerequisitesCheckerImpl) UsageReturns(result1 *disk.UsageStat, result2 error)

func (*FakePrerequisitesCheckerImpl) UsageReturnsOnCall

func (fake *FakePrerequisitesCheckerImpl) UsageReturnsOnCall(i int, result1 *disk.UsageStat, result2 error)

type FakeReleaseClient

type FakeReleaseClient struct {
	CheckPrerequisitesStub func() error

	CheckReleaseBranchStateStub func() error

	CheckoutOBSProjectStub func() error

	GenerateOBSProjectStub func() error

	GenerateReleaseVersionStub func() error

	InitOBSRootStub func() error

	InitStateStub func()

	ReleasePackagesStub func() error

	SubmitStub func(bool) error

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

func (*FakeReleaseClient) CheckPrerequisites

func (fake *FakeReleaseClient) CheckPrerequisites() error

func (*FakeReleaseClient) CheckPrerequisitesCallCount

func (fake *FakeReleaseClient) CheckPrerequisitesCallCount() int

func (*FakeReleaseClient) CheckPrerequisitesCalls

func (fake *FakeReleaseClient) CheckPrerequisitesCalls(stub func() error)

func (*FakeReleaseClient) CheckPrerequisitesReturns

func (fake *FakeReleaseClient) CheckPrerequisitesReturns(result1 error)

func (*FakeReleaseClient) CheckPrerequisitesReturnsOnCall

func (fake *FakeReleaseClient) CheckPrerequisitesReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) CheckReleaseBranchState

func (fake *FakeReleaseClient) CheckReleaseBranchState() error

func (*FakeReleaseClient) CheckReleaseBranchStateCallCount

func (fake *FakeReleaseClient) CheckReleaseBranchStateCallCount() int

func (*FakeReleaseClient) CheckReleaseBranchStateCalls

func (fake *FakeReleaseClient) CheckReleaseBranchStateCalls(stub func() error)

func (*FakeReleaseClient) CheckReleaseBranchStateReturns

func (fake *FakeReleaseClient) CheckReleaseBranchStateReturns(result1 error)

func (*FakeReleaseClient) CheckReleaseBranchStateReturnsOnCall

func (fake *FakeReleaseClient) CheckReleaseBranchStateReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) CheckoutOBSProject

func (fake *FakeReleaseClient) CheckoutOBSProject() error

func (*FakeReleaseClient) CheckoutOBSProjectCallCount

func (fake *FakeReleaseClient) CheckoutOBSProjectCallCount() int

func (*FakeReleaseClient) CheckoutOBSProjectCalls

func (fake *FakeReleaseClient) CheckoutOBSProjectCalls(stub func() error)

func (*FakeReleaseClient) CheckoutOBSProjectReturns

func (fake *FakeReleaseClient) CheckoutOBSProjectReturns(result1 error)

func (*FakeReleaseClient) CheckoutOBSProjectReturnsOnCall

func (fake *FakeReleaseClient) CheckoutOBSProjectReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) GenerateOBSProject

func (fake *FakeReleaseClient) GenerateOBSProject() error

func (*FakeReleaseClient) GenerateOBSProjectCallCount

func (fake *FakeReleaseClient) GenerateOBSProjectCallCount() int

func (*FakeReleaseClient) GenerateOBSProjectCalls

func (fake *FakeReleaseClient) GenerateOBSProjectCalls(stub func() error)

func (*FakeReleaseClient) GenerateOBSProjectReturns

func (fake *FakeReleaseClient) GenerateOBSProjectReturns(result1 error)

func (*FakeReleaseClient) GenerateOBSProjectReturnsOnCall

func (fake *FakeReleaseClient) GenerateOBSProjectReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) GenerateReleaseVersion

func (fake *FakeReleaseClient) GenerateReleaseVersion() error

func (*FakeReleaseClient) GenerateReleaseVersionCallCount

func (fake *FakeReleaseClient) GenerateReleaseVersionCallCount() int

func (*FakeReleaseClient) GenerateReleaseVersionCalls

func (fake *FakeReleaseClient) GenerateReleaseVersionCalls(stub func() error)

func (*FakeReleaseClient) GenerateReleaseVersionReturns

func (fake *FakeReleaseClient) GenerateReleaseVersionReturns(result1 error)

func (*FakeReleaseClient) GenerateReleaseVersionReturnsOnCall

func (fake *FakeReleaseClient) GenerateReleaseVersionReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) InitOBSRoot

func (fake *FakeReleaseClient) InitOBSRoot() error

func (*FakeReleaseClient) InitOBSRootCallCount

func (fake *FakeReleaseClient) InitOBSRootCallCount() int

func (*FakeReleaseClient) InitOBSRootCalls

func (fake *FakeReleaseClient) InitOBSRootCalls(stub func() error)

func (*FakeReleaseClient) InitOBSRootReturns

func (fake *FakeReleaseClient) InitOBSRootReturns(result1 error)

func (*FakeReleaseClient) InitOBSRootReturnsOnCall

func (fake *FakeReleaseClient) InitOBSRootReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) InitState

func (fake *FakeReleaseClient) InitState()

func (*FakeReleaseClient) InitStateCallCount

func (fake *FakeReleaseClient) InitStateCallCount() int

func (*FakeReleaseClient) InitStateCalls

func (fake *FakeReleaseClient) InitStateCalls(stub func())

func (*FakeReleaseClient) Invocations

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

func (*FakeReleaseClient) ReleasePackages

func (fake *FakeReleaseClient) ReleasePackages() error

func (*FakeReleaseClient) ReleasePackagesCallCount

func (fake *FakeReleaseClient) ReleasePackagesCallCount() int

func (*FakeReleaseClient) ReleasePackagesCalls

func (fake *FakeReleaseClient) ReleasePackagesCalls(stub func() error)

func (*FakeReleaseClient) ReleasePackagesReturns

func (fake *FakeReleaseClient) ReleasePackagesReturns(result1 error)

func (*FakeReleaseClient) ReleasePackagesReturnsOnCall

func (fake *FakeReleaseClient) ReleasePackagesReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) Submit

func (fake *FakeReleaseClient) Submit(arg1 bool) error

func (*FakeReleaseClient) SubmitArgsForCall

func (fake *FakeReleaseClient) SubmitArgsForCall(i int) bool

func (*FakeReleaseClient) SubmitCallCount

func (fake *FakeReleaseClient) SubmitCallCount() int

func (*FakeReleaseClient) SubmitCalls

func (fake *FakeReleaseClient) SubmitCalls(stub func(bool) error)

func (*FakeReleaseClient) SubmitReturns

func (fake *FakeReleaseClient) SubmitReturns(result1 error)

func (*FakeReleaseClient) SubmitReturnsOnCall

func (fake *FakeReleaseClient) SubmitReturnsOnCall(i int, result1 error)

func (*FakeReleaseClient) ValidateOptions

func (fake *FakeReleaseClient) ValidateOptions() error

func (*FakeReleaseClient) ValidateOptionsCallCount

func (fake *FakeReleaseClient) ValidateOptionsCallCount() int

func (*FakeReleaseClient) ValidateOptionsCalls

func (fake *FakeReleaseClient) ValidateOptionsCalls(stub func() error)

func (*FakeReleaseClient) ValidateOptionsReturns

func (fake *FakeReleaseClient) ValidateOptionsReturns(result1 error)

func (*FakeReleaseClient) ValidateOptionsReturnsOnCall

func (fake *FakeReleaseClient) ValidateOptionsReturnsOnCall(i int, result1 error)

type FakeReleaseImpl

type FakeReleaseImpl struct {
	BranchNeedsCreationStub func(string, string, semver.Version) (bool, error)

	CheckPrerequisitesStub func(string) error

	CheckoutProjectStub func(string, string) error

	CreateOBSConfigFileStub func(string, string) error

	GenerateReleaseVersionStub func(string, string, string, bool) (*release.Versions, error)

	MkdirAllStub func(string) error

	ReleasePackageStub func(string, string, string) error

	SubmitStub func(*gcb.Options) error
	// contains filtered or unexported fields
}

func (*FakeReleaseImpl) BranchNeedsCreation

func (fake *FakeReleaseImpl) BranchNeedsCreation(arg1 string, arg2 string, arg3 semver.Version) (bool, error)

func (*FakeReleaseImpl) BranchNeedsCreationArgsForCall

func (fake *FakeReleaseImpl) BranchNeedsCreationArgsForCall(i int) (string, string, semver.Version)

func (*FakeReleaseImpl) BranchNeedsCreationCallCount

func (fake *FakeReleaseImpl) BranchNeedsCreationCallCount() int

func (*FakeReleaseImpl) BranchNeedsCreationCalls

func (fake *FakeReleaseImpl) BranchNeedsCreationCalls(stub func(string, string, semver.Version) (bool, error))

func (*FakeReleaseImpl) BranchNeedsCreationReturns

func (fake *FakeReleaseImpl) BranchNeedsCreationReturns(result1 bool, result2 error)

func (*FakeReleaseImpl) BranchNeedsCreationReturnsOnCall

func (fake *FakeReleaseImpl) BranchNeedsCreationReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeReleaseImpl) CheckPrerequisites

func (fake *FakeReleaseImpl) CheckPrerequisites(arg1 string) error

func (*FakeReleaseImpl) CheckPrerequisitesArgsForCall

func (fake *FakeReleaseImpl) CheckPrerequisitesArgsForCall(i int) string

func (*FakeReleaseImpl) CheckPrerequisitesCallCount

func (fake *FakeReleaseImpl) CheckPrerequisitesCallCount() int

func (*FakeReleaseImpl) CheckPrerequisitesCalls

func (fake *FakeReleaseImpl) CheckPrerequisitesCalls(stub func(string) error)

func (*FakeReleaseImpl) CheckPrerequisitesReturns

func (fake *FakeReleaseImpl) CheckPrerequisitesReturns(result1 error)

func (*FakeReleaseImpl) CheckPrerequisitesReturnsOnCall

func (fake *FakeReleaseImpl) CheckPrerequisitesReturnsOnCall(i int, result1 error)

func (*FakeReleaseImpl) CheckoutProject

func (fake *FakeReleaseImpl) CheckoutProject(arg1 string, arg2 string) error

func (*FakeReleaseImpl) CheckoutProjectArgsForCall

func (fake *FakeReleaseImpl) CheckoutProjectArgsForCall(i int) (string, string)

func (*FakeReleaseImpl) CheckoutProjectCallCount

func (fake *FakeReleaseImpl) CheckoutProjectCallCount() int

func (*FakeReleaseImpl) CheckoutProjectCalls

func (fake *FakeReleaseImpl) CheckoutProjectCalls(stub func(string, string) error)

func (*FakeReleaseImpl) CheckoutProjectReturns

func (fake *FakeReleaseImpl) CheckoutProjectReturns(result1 error)

func (*FakeReleaseImpl) CheckoutProjectReturnsOnCall

func (fake *FakeReleaseImpl) CheckoutProjectReturnsOnCall(i int, result1 error)

func (*FakeReleaseImpl) CreateOBSConfigFile

func (fake *FakeReleaseImpl) CreateOBSConfigFile(arg1 string, arg2 string) error

func (*FakeReleaseImpl) CreateOBSConfigFileArgsForCall

func (fake *FakeReleaseImpl) CreateOBSConfigFileArgsForCall(i int) (string, string)

func (*FakeReleaseImpl) CreateOBSConfigFileCallCount

func (fake *FakeReleaseImpl) CreateOBSConfigFileCallCount() int

func (*FakeReleaseImpl) CreateOBSConfigFileCalls

func (fake *FakeReleaseImpl) CreateOBSConfigFileCalls(stub func(string, string) error)

func (*FakeReleaseImpl) CreateOBSConfigFileReturns

func (fake *FakeReleaseImpl) CreateOBSConfigFileReturns(result1 error)

func (*FakeReleaseImpl) CreateOBSConfigFileReturnsOnCall

func (fake *FakeReleaseImpl) CreateOBSConfigFileReturnsOnCall(i int, result1 error)

func (*FakeReleaseImpl) GenerateReleaseVersion

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

func (*FakeReleaseImpl) GenerateReleaseVersionArgsForCall

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

func (*FakeReleaseImpl) GenerateReleaseVersionCallCount

func (fake *FakeReleaseImpl) GenerateReleaseVersionCallCount() int

func (*FakeReleaseImpl) GenerateReleaseVersionCalls

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

func (*FakeReleaseImpl) GenerateReleaseVersionReturns

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

func (*FakeReleaseImpl) GenerateReleaseVersionReturnsOnCall

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

func (*FakeReleaseImpl) Invocations

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

func (*FakeReleaseImpl) MkdirAll

func (fake *FakeReleaseImpl) MkdirAll(arg1 string) error

func (*FakeReleaseImpl) MkdirAllArgsForCall

func (fake *FakeReleaseImpl) MkdirAllArgsForCall(i int) string

func (*FakeReleaseImpl) MkdirAllCallCount

func (fake *FakeReleaseImpl) MkdirAllCallCount() int

func (*FakeReleaseImpl) MkdirAllCalls

func (fake *FakeReleaseImpl) MkdirAllCalls(stub func(string) error)

func (*FakeReleaseImpl) MkdirAllReturns

func (fake *FakeReleaseImpl) MkdirAllReturns(result1 error)

func (*FakeReleaseImpl) MkdirAllReturnsOnCall

func (fake *FakeReleaseImpl) MkdirAllReturnsOnCall(i int, result1 error)

func (*FakeReleaseImpl) ReleasePackage

func (fake *FakeReleaseImpl) ReleasePackage(arg1 string, arg2 string, arg3 string) error

func (*FakeReleaseImpl) ReleasePackageArgsForCall

func (fake *FakeReleaseImpl) ReleasePackageArgsForCall(i int) (string, string, string)

func (*FakeReleaseImpl) ReleasePackageCallCount

func (fake *FakeReleaseImpl) ReleasePackageCallCount() int

func (*FakeReleaseImpl) ReleasePackageCalls

func (fake *FakeReleaseImpl) ReleasePackageCalls(stub func(string, string, string) error)

func (*FakeReleaseImpl) ReleasePackageReturns

func (fake *FakeReleaseImpl) ReleasePackageReturns(result1 error)

func (*FakeReleaseImpl) ReleasePackageReturnsOnCall

func (fake *FakeReleaseImpl) ReleasePackageReturnsOnCall(i int, result1 error)

func (*FakeReleaseImpl) Submit

func (fake *FakeReleaseImpl) Submit(arg1 *gcb.Options) error

func (*FakeReleaseImpl) SubmitArgsForCall

func (fake *FakeReleaseImpl) SubmitArgsForCall(i int) *gcb.Options

func (*FakeReleaseImpl) SubmitCallCount

func (fake *FakeReleaseImpl) SubmitCallCount() int

func (*FakeReleaseImpl) SubmitCalls

func (fake *FakeReleaseImpl) SubmitCalls(stub func(*gcb.Options) error)

func (*FakeReleaseImpl) SubmitReturns

func (fake *FakeReleaseImpl) SubmitReturns(result1 error)

func (*FakeReleaseImpl) SubmitReturnsOnCall

func (fake *FakeReleaseImpl) SubmitReturnsOnCall(i int, result1 error)

type FakeStageClient

type FakeStageClient struct {
	CheckPrerequisitesStub func() error

	CheckReleaseBranchStateStub func() error

	CheckoutOBSProjectStub func() error

	GenerateOBSProjectStub func() error

	GeneratePackageArtifactsStub func() error

	GeneratePackageVersionStub func()

	GenerateReleaseVersionStub func() error

	InitOBSRootStub func() error

	InitStateStub func()

	PushStub func() error

	SubmitStub func(bool) error

	ValidateOptionsStub func() error

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

func (*FakeStageClient) CheckPrerequisites

func (fake *FakeStageClient) CheckPrerequisites() error

func (*FakeStageClient) CheckPrerequisitesCallCount

func (fake *FakeStageClient) CheckPrerequisitesCallCount() int

func (*FakeStageClient) CheckPrerequisitesCalls

func (fake *FakeStageClient) CheckPrerequisitesCalls(stub func() error)

func (*FakeStageClient) CheckPrerequisitesReturns

func (fake *FakeStageClient) CheckPrerequisitesReturns(result1 error)

func (*FakeStageClient) CheckPrerequisitesReturnsOnCall

func (fake *FakeStageClient) CheckPrerequisitesReturnsOnCall(i int, result1 error)

func (*FakeStageClient) CheckReleaseBranchState

func (fake *FakeStageClient) CheckReleaseBranchState() error

func (*FakeStageClient) CheckReleaseBranchStateCallCount

func (fake *FakeStageClient) CheckReleaseBranchStateCallCount() int

func (*FakeStageClient) CheckReleaseBranchStateCalls

func (fake *FakeStageClient) CheckReleaseBranchStateCalls(stub func() error)

func (*FakeStageClient) CheckReleaseBranchStateReturns

func (fake *FakeStageClient) CheckReleaseBranchStateReturns(result1 error)

func (*FakeStageClient) CheckReleaseBranchStateReturnsOnCall

func (fake *FakeStageClient) CheckReleaseBranchStateReturnsOnCall(i int, result1 error)

func (*FakeStageClient) CheckoutOBSProject

func (fake *FakeStageClient) CheckoutOBSProject() error

func (*FakeStageClient) CheckoutOBSProjectCallCount

func (fake *FakeStageClient) CheckoutOBSProjectCallCount() int

func (*FakeStageClient) CheckoutOBSProjectCalls

func (fake *FakeStageClient) CheckoutOBSProjectCalls(stub func() error)

func (*FakeStageClient) CheckoutOBSProjectReturns

func (fake *FakeStageClient) CheckoutOBSProjectReturns(result1 error)

func (*FakeStageClient) CheckoutOBSProjectReturnsOnCall

func (fake *FakeStageClient) CheckoutOBSProjectReturnsOnCall(i int, result1 error)

func (*FakeStageClient) GenerateOBSProject

func (fake *FakeStageClient) GenerateOBSProject() error

func (*FakeStageClient) GenerateOBSProjectCallCount

func (fake *FakeStageClient) GenerateOBSProjectCallCount() int

func (*FakeStageClient) GenerateOBSProjectCalls

func (fake *FakeStageClient) GenerateOBSProjectCalls(stub func() error)

func (*FakeStageClient) GenerateOBSProjectReturns

func (fake *FakeStageClient) GenerateOBSProjectReturns(result1 error)

func (*FakeStageClient) GenerateOBSProjectReturnsOnCall

func (fake *FakeStageClient) GenerateOBSProjectReturnsOnCall(i int, result1 error)

func (*FakeStageClient) GeneratePackageArtifacts

func (fake *FakeStageClient) GeneratePackageArtifacts() error

func (*FakeStageClient) GeneratePackageArtifactsCallCount

func (fake *FakeStageClient) GeneratePackageArtifactsCallCount() int

func (*FakeStageClient) GeneratePackageArtifactsCalls

func (fake *FakeStageClient) GeneratePackageArtifactsCalls(stub func() error)

func (*FakeStageClient) GeneratePackageArtifactsReturns

func (fake *FakeStageClient) GeneratePackageArtifactsReturns(result1 error)

func (*FakeStageClient) GeneratePackageArtifactsReturnsOnCall

func (fake *FakeStageClient) GeneratePackageArtifactsReturnsOnCall(i int, result1 error)

func (*FakeStageClient) GeneratePackageVersion

func (fake *FakeStageClient) GeneratePackageVersion()

func (*FakeStageClient) GeneratePackageVersionCallCount

func (fake *FakeStageClient) GeneratePackageVersionCallCount() int

func (*FakeStageClient) GeneratePackageVersionCalls

func (fake *FakeStageClient) GeneratePackageVersionCalls(stub func())

func (*FakeStageClient) GenerateReleaseVersion

func (fake *FakeStageClient) GenerateReleaseVersion() error

func (*FakeStageClient) GenerateReleaseVersionCallCount

func (fake *FakeStageClient) GenerateReleaseVersionCallCount() int

func (*FakeStageClient) GenerateReleaseVersionCalls

func (fake *FakeStageClient) GenerateReleaseVersionCalls(stub func() error)

func (*FakeStageClient) GenerateReleaseVersionReturns

func (fake *FakeStageClient) GenerateReleaseVersionReturns(result1 error)

func (*FakeStageClient) GenerateReleaseVersionReturnsOnCall

func (fake *FakeStageClient) GenerateReleaseVersionReturnsOnCall(i int, result1 error)

func (*FakeStageClient) InitOBSRoot

func (fake *FakeStageClient) InitOBSRoot() error

func (*FakeStageClient) InitOBSRootCallCount

func (fake *FakeStageClient) InitOBSRootCallCount() int

func (*FakeStageClient) InitOBSRootCalls

func (fake *FakeStageClient) InitOBSRootCalls(stub func() error)

func (*FakeStageClient) InitOBSRootReturns

func (fake *FakeStageClient) InitOBSRootReturns(result1 error)

func (*FakeStageClient) InitOBSRootReturnsOnCall

func (fake *FakeStageClient) InitOBSRootReturnsOnCall(i int, result1 error)

func (*FakeStageClient) InitState

func (fake *FakeStageClient) InitState()

func (*FakeStageClient) InitStateCallCount

func (fake *FakeStageClient) InitStateCallCount() int

func (*FakeStageClient) InitStateCalls

func (fake *FakeStageClient) InitStateCalls(stub func())

func (*FakeStageClient) Invocations

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

func (*FakeStageClient) Push

func (fake *FakeStageClient) Push() error

func (*FakeStageClient) PushCallCount

func (fake *FakeStageClient) PushCallCount() int

func (*FakeStageClient) PushCalls

func (fake *FakeStageClient) PushCalls(stub func() error)

func (*FakeStageClient) PushReturns

func (fake *FakeStageClient) PushReturns(result1 error)

func (*FakeStageClient) PushReturnsOnCall

func (fake *FakeStageClient) PushReturnsOnCall(i int, result1 error)

func (*FakeStageClient) Submit

func (fake *FakeStageClient) Submit(arg1 bool) error

func (*FakeStageClient) SubmitArgsForCall

func (fake *FakeStageClient) SubmitArgsForCall(i int) bool

func (*FakeStageClient) SubmitCallCount

func (fake *FakeStageClient) SubmitCallCount() int

func (*FakeStageClient) SubmitCalls

func (fake *FakeStageClient) SubmitCalls(stub func(bool) error)

func (*FakeStageClient) SubmitReturns

func (fake *FakeStageClient) SubmitReturns(result1 error)

func (*FakeStageClient) SubmitReturnsOnCall

func (fake *FakeStageClient) SubmitReturnsOnCall(i int, result1 error)

func (*FakeStageClient) ValidateOptions

func (fake *FakeStageClient) ValidateOptions() error

func (*FakeStageClient) ValidateOptionsCallCount

func (fake *FakeStageClient) ValidateOptionsCallCount() int

func (*FakeStageClient) ValidateOptionsCalls

func (fake *FakeStageClient) ValidateOptionsCalls(stub func() error)

func (*FakeStageClient) ValidateOptionsReturns

func (fake *FakeStageClient) ValidateOptionsReturns(result1 error)

func (*FakeStageClient) ValidateOptionsReturnsOnCall

func (fake *FakeStageClient) ValidateOptionsReturnsOnCall(i int, result1 error)

func (*FakeStageClient) Wait added in v0.16.2

func (fake *FakeStageClient) Wait() error

func (*FakeStageClient) WaitCallCount added in v0.16.2

func (fake *FakeStageClient) WaitCallCount() int

func (*FakeStageClient) WaitCalls added in v0.16.2

func (fake *FakeStageClient) WaitCalls(stub func() error)

func (*FakeStageClient) WaitReturns added in v0.16.2

func (fake *FakeStageClient) WaitReturns(result1 error)

func (*FakeStageClient) WaitReturnsOnCall added in v0.16.2

func (fake *FakeStageClient) WaitReturnsOnCall(i int, result1 error)

type FakeStageImpl

type FakeStageImpl struct {
	AddRemoveChangesStub func(string, string, string) error

	BranchNeedsCreationStub func(string, string, semver.Version) (bool, error)

	CheckPrerequisitesStub func(string) error

	CheckoutProjectStub func(string, string) error

	CommitChangesStub func(string, string, string, string) error

	CreateOBSConfigFileStub func(string, string) error

	GenerateReleaseVersionStub func(string, string, string, bool) (*release.Versions, error)

	GenerateSpecsAndArtifactsStub func(*specs.Options) error

	MkdirAllStub func(string) error

	RemovePackageFilesStub func(string) error

	SubmitStub func(*gcb.Options) error

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

func (*FakeStageImpl) AddRemoveChanges

func (fake *FakeStageImpl) AddRemoveChanges(arg1 string, arg2 string, arg3 string) error

func (*FakeStageImpl) AddRemoveChangesArgsForCall

func (fake *FakeStageImpl) AddRemoveChangesArgsForCall(i int) (string, string, string)

func (*FakeStageImpl) AddRemoveChangesCallCount

func (fake *FakeStageImpl) AddRemoveChangesCallCount() int

func (*FakeStageImpl) AddRemoveChangesCalls

func (fake *FakeStageImpl) AddRemoveChangesCalls(stub func(string, string, string) error)

func (*FakeStageImpl) AddRemoveChangesReturns

func (fake *FakeStageImpl) AddRemoveChangesReturns(result1 error)

func (*FakeStageImpl) AddRemoveChangesReturnsOnCall

func (fake *FakeStageImpl) AddRemoveChangesReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) BranchNeedsCreation

func (fake *FakeStageImpl) BranchNeedsCreation(arg1 string, arg2 string, arg3 semver.Version) (bool, error)

func (*FakeStageImpl) BranchNeedsCreationArgsForCall

func (fake *FakeStageImpl) BranchNeedsCreationArgsForCall(i int) (string, string, semver.Version)

func (*FakeStageImpl) BranchNeedsCreationCallCount

func (fake *FakeStageImpl) BranchNeedsCreationCallCount() int

func (*FakeStageImpl) BranchNeedsCreationCalls

func (fake *FakeStageImpl) BranchNeedsCreationCalls(stub func(string, string, semver.Version) (bool, error))

func (*FakeStageImpl) BranchNeedsCreationReturns

func (fake *FakeStageImpl) BranchNeedsCreationReturns(result1 bool, result2 error)

func (*FakeStageImpl) BranchNeedsCreationReturnsOnCall

func (fake *FakeStageImpl) BranchNeedsCreationReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeStageImpl) CheckPrerequisites

func (fake *FakeStageImpl) CheckPrerequisites(arg1 string) error

func (*FakeStageImpl) CheckPrerequisitesArgsForCall

func (fake *FakeStageImpl) CheckPrerequisitesArgsForCall(i int) string

func (*FakeStageImpl) CheckPrerequisitesCallCount

func (fake *FakeStageImpl) CheckPrerequisitesCallCount() int

func (*FakeStageImpl) CheckPrerequisitesCalls

func (fake *FakeStageImpl) CheckPrerequisitesCalls(stub func(string) error)

func (*FakeStageImpl) CheckPrerequisitesReturns

func (fake *FakeStageImpl) CheckPrerequisitesReturns(result1 error)

func (*FakeStageImpl) CheckPrerequisitesReturnsOnCall

func (fake *FakeStageImpl) CheckPrerequisitesReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) CheckoutProject

func (fake *FakeStageImpl) CheckoutProject(arg1 string, arg2 string) error

func (*FakeStageImpl) CheckoutProjectArgsForCall

func (fake *FakeStageImpl) CheckoutProjectArgsForCall(i int) (string, string)

func (*FakeStageImpl) CheckoutProjectCallCount

func (fake *FakeStageImpl) CheckoutProjectCallCount() int

func (*FakeStageImpl) CheckoutProjectCalls

func (fake *FakeStageImpl) CheckoutProjectCalls(stub func(string, string) error)

func (*FakeStageImpl) CheckoutProjectReturns

func (fake *FakeStageImpl) CheckoutProjectReturns(result1 error)

func (*FakeStageImpl) CheckoutProjectReturnsOnCall

func (fake *FakeStageImpl) CheckoutProjectReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) CommitChanges

func (fake *FakeStageImpl) CommitChanges(arg1 string, arg2 string, arg3 string, arg4 string) error

func (*FakeStageImpl) CommitChangesArgsForCall

func (fake *FakeStageImpl) CommitChangesArgsForCall(i int) (string, string, string, string)

func (*FakeStageImpl) CommitChangesCallCount

func (fake *FakeStageImpl) CommitChangesCallCount() int

func (*FakeStageImpl) CommitChangesCalls

func (fake *FakeStageImpl) CommitChangesCalls(stub func(string, string, string, string) error)

func (*FakeStageImpl) CommitChangesReturns

func (fake *FakeStageImpl) CommitChangesReturns(result1 error)

func (*FakeStageImpl) CommitChangesReturnsOnCall

func (fake *FakeStageImpl) CommitChangesReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) CreateOBSConfigFile

func (fake *FakeStageImpl) CreateOBSConfigFile(arg1 string, arg2 string) error

func (*FakeStageImpl) CreateOBSConfigFileArgsForCall

func (fake *FakeStageImpl) CreateOBSConfigFileArgsForCall(i int) (string, string)

func (*FakeStageImpl) CreateOBSConfigFileCallCount

func (fake *FakeStageImpl) CreateOBSConfigFileCallCount() int

func (*FakeStageImpl) CreateOBSConfigFileCalls

func (fake *FakeStageImpl) CreateOBSConfigFileCalls(stub func(string, string) error)

func (*FakeStageImpl) CreateOBSConfigFileReturns

func (fake *FakeStageImpl) CreateOBSConfigFileReturns(result1 error)

func (*FakeStageImpl) CreateOBSConfigFileReturnsOnCall

func (fake *FakeStageImpl) CreateOBSConfigFileReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) GenerateReleaseVersion

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

func (*FakeStageImpl) GenerateReleaseVersionArgsForCall

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

func (*FakeStageImpl) GenerateReleaseVersionCallCount

func (fake *FakeStageImpl) GenerateReleaseVersionCallCount() int

func (*FakeStageImpl) GenerateReleaseVersionCalls

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

func (*FakeStageImpl) GenerateReleaseVersionReturns

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

func (*FakeStageImpl) GenerateReleaseVersionReturnsOnCall

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

func (*FakeStageImpl) GenerateSpecsAndArtifacts

func (fake *FakeStageImpl) GenerateSpecsAndArtifacts(arg1 *specs.Options) error

func (*FakeStageImpl) GenerateSpecsAndArtifactsArgsForCall

func (fake *FakeStageImpl) GenerateSpecsAndArtifactsArgsForCall(i int) *specs.Options

func (*FakeStageImpl) GenerateSpecsAndArtifactsCallCount

func (fake *FakeStageImpl) GenerateSpecsAndArtifactsCallCount() int

func (*FakeStageImpl) GenerateSpecsAndArtifactsCalls

func (fake *FakeStageImpl) GenerateSpecsAndArtifactsCalls(stub func(*specs.Options) error)

func (*FakeStageImpl) GenerateSpecsAndArtifactsReturns

func (fake *FakeStageImpl) GenerateSpecsAndArtifactsReturns(result1 error)

func (*FakeStageImpl) GenerateSpecsAndArtifactsReturnsOnCall

func (fake *FakeStageImpl) GenerateSpecsAndArtifactsReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) Invocations

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

func (*FakeStageImpl) MkdirAll

func (fake *FakeStageImpl) MkdirAll(arg1 string) error

func (*FakeStageImpl) MkdirAllArgsForCall

func (fake *FakeStageImpl) MkdirAllArgsForCall(i int) string

func (*FakeStageImpl) MkdirAllCallCount

func (fake *FakeStageImpl) MkdirAllCallCount() int

func (*FakeStageImpl) MkdirAllCalls

func (fake *FakeStageImpl) MkdirAllCalls(stub func(string) error)

func (*FakeStageImpl) MkdirAllReturns

func (fake *FakeStageImpl) MkdirAllReturns(result1 error)

func (*FakeStageImpl) MkdirAllReturnsOnCall

func (fake *FakeStageImpl) MkdirAllReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) RemovePackageFiles

func (fake *FakeStageImpl) RemovePackageFiles(arg1 string) error

func (*FakeStageImpl) RemovePackageFilesArgsForCall

func (fake *FakeStageImpl) RemovePackageFilesArgsForCall(i int) string

func (*FakeStageImpl) RemovePackageFilesCallCount

func (fake *FakeStageImpl) RemovePackageFilesCallCount() int

func (*FakeStageImpl) RemovePackageFilesCalls

func (fake *FakeStageImpl) RemovePackageFilesCalls(stub func(string) error)

func (*FakeStageImpl) RemovePackageFilesReturns

func (fake *FakeStageImpl) RemovePackageFilesReturns(result1 error)

func (*FakeStageImpl) RemovePackageFilesReturnsOnCall

func (fake *FakeStageImpl) RemovePackageFilesReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) Submit

func (fake *FakeStageImpl) Submit(arg1 *gcb.Options) error

func (*FakeStageImpl) SubmitArgsForCall

func (fake *FakeStageImpl) SubmitArgsForCall(i int) *gcb.Options

func (*FakeStageImpl) SubmitCallCount

func (fake *FakeStageImpl) SubmitCallCount() int

func (*FakeStageImpl) SubmitCalls

func (fake *FakeStageImpl) SubmitCalls(stub func(*gcb.Options) error)

func (*FakeStageImpl) SubmitReturns

func (fake *FakeStageImpl) SubmitReturns(result1 error)

func (*FakeStageImpl) SubmitReturnsOnCall

func (fake *FakeStageImpl) SubmitReturnsOnCall(i int, result1 error)

func (*FakeStageImpl) Wait added in v0.16.2

func (fake *FakeStageImpl) Wait(arg1 string, arg2 string) error

func (*FakeStageImpl) WaitArgsForCall added in v0.16.2

func (fake *FakeStageImpl) WaitArgsForCall(i int) (string, string)

func (*FakeStageImpl) WaitCallCount added in v0.16.2

func (fake *FakeStageImpl) WaitCallCount() int

func (*FakeStageImpl) WaitCalls added in v0.16.2

func (fake *FakeStageImpl) WaitCalls(stub func(string, string) error)

func (*FakeStageImpl) WaitReturns added in v0.16.2

func (fake *FakeStageImpl) WaitReturns(result1 error)

func (*FakeStageImpl) WaitReturnsOnCall added in v0.16.2

func (fake *FakeStageImpl) WaitReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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