Back to godoc.org
github.com/jenkins-x/jx / pkg / buildnum / mocks

package buildnum_test

v1.3.1119
Latest Go to latest
Published: Apr 15, 2019 | License: Apache-2.0 | Module: github.com/jenkins-x/jx

Index

type MockBuildNumberIssuer

type MockBuildNumberIssuer struct {
	// contains filtered or unexported fields
}

func NewMockBuildNumberIssuer

func NewMockBuildNumberIssuer(options ...pegomock.Option) *MockBuildNumberIssuer

func (*MockBuildNumberIssuer) FailHandler

func (mock *MockBuildNumberIssuer) FailHandler() pegomock.FailHandler

func (*MockBuildNumberIssuer) NextBuildNumber

func (mock *MockBuildNumberIssuer) NextBuildNumber(_param0 kube.PipelineID) (string, error)

func (*MockBuildNumberIssuer) Ready

func (mock *MockBuildNumberIssuer) Ready() bool

func (*MockBuildNumberIssuer) SetFailHandler

func (mock *MockBuildNumberIssuer) SetFailHandler(fh pegomock.FailHandler)

func (*MockBuildNumberIssuer) VerifyWasCalled

func (mock *MockBuildNumberIssuer) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockBuildNumberIssuer

func (*MockBuildNumberIssuer) VerifyWasCalledEventually

func (mock *MockBuildNumberIssuer) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockBuildNumberIssuer

func (*MockBuildNumberIssuer) VerifyWasCalledInOrder

func (mock *MockBuildNumberIssuer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockBuildNumberIssuer

func (*MockBuildNumberIssuer) VerifyWasCalledOnce

func (mock *MockBuildNumberIssuer) VerifyWasCalledOnce() *VerifierMockBuildNumberIssuer

type MockBuildNumberIssuer_NextBuildNumber_OngoingVerification

type MockBuildNumberIssuer_NextBuildNumber_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetAllCapturedArguments

func (c *MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetAllCapturedArguments() (_param0 []kube.PipelineID)

func (*MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetCapturedArguments

func (c *MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetCapturedArguments() kube.PipelineID

type MockBuildNumberIssuer_Ready_OngoingVerification

type MockBuildNumberIssuer_Ready_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*MockBuildNumberIssuer_Ready_OngoingVerification) GetAllCapturedArguments

func (c *MockBuildNumberIssuer_Ready_OngoingVerification) GetAllCapturedArguments()

func (*MockBuildNumberIssuer_Ready_OngoingVerification) GetCapturedArguments

func (c *MockBuildNumberIssuer_Ready_OngoingVerification) GetCapturedArguments()

type VerifierMockBuildNumberIssuer

type VerifierMockBuildNumberIssuer struct {
	// contains filtered or unexported fields
}

func (*VerifierMockBuildNumberIssuer) NextBuildNumber

func (verifier *VerifierMockBuildNumberIssuer) NextBuildNumber(_param0 kube.PipelineID) *MockBuildNumberIssuer_NextBuildNumber_OngoingVerification

func (*VerifierMockBuildNumberIssuer) Ready

func (verifier *VerifierMockBuildNumberIssuer) Ready() *MockBuildNumberIssuer_Ready_OngoingVerification
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier