jx: github.com/jenkins-x/jx/pkg/buildnum/mocks Index | Files | Directories

package buildnum_test

import "github.com/jenkins-x/jx/pkg/buildnum/mocks"

Index

Package Files

build_num.go

type MockBuildNumberIssuer Uses

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

func NewMockBuildNumberIssuer Uses

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

func (*MockBuildNumberIssuer) FailHandler Uses

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

func (*MockBuildNumberIssuer) NextBuildNumber Uses

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

func (*MockBuildNumberIssuer) Ready Uses

func (mock *MockBuildNumberIssuer) Ready() bool

func (*MockBuildNumberIssuer) SetFailHandler Uses

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

func (*MockBuildNumberIssuer) VerifyWasCalled Uses

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

func (*MockBuildNumberIssuer) VerifyWasCalledEventually Uses

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

func (*MockBuildNumberIssuer) VerifyWasCalledInOrder Uses

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

func (*MockBuildNumberIssuer) VerifyWasCalledOnce Uses

func (mock *MockBuildNumberIssuer) VerifyWasCalledOnce() *VerifierMockBuildNumberIssuer

type MockBuildNumberIssuer_NextBuildNumber_OngoingVerification Uses

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

func (*MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetAllCapturedArguments Uses

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

func (*MockBuildNumberIssuer_NextBuildNumber_OngoingVerification) GetCapturedArguments Uses

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

type MockBuildNumberIssuer_Ready_OngoingVerification Uses

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

func (*MockBuildNumberIssuer_Ready_OngoingVerification) GetAllCapturedArguments Uses

func (c *MockBuildNumberIssuer_Ready_OngoingVerification) GetAllCapturedArguments()

func (*MockBuildNumberIssuer_Ready_OngoingVerification) GetCapturedArguments Uses

func (c *MockBuildNumberIssuer_Ready_OngoingVerification) GetCapturedArguments()

type VerifierMockBuildNumberIssuer Uses

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

func (*VerifierMockBuildNumberIssuer) NextBuildNumber Uses

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

func (*VerifierMockBuildNumberIssuer) Ready Uses

func (verifier *VerifierMockBuildNumberIssuer) Ready() *MockBuildNumberIssuer_Ready_OngoingVerification

Directories

PathSynopsis
matchersCode generated by pegomock.

Package buildnum_test imports 4 packages (graph). Updated 2019-11-06. Refresh now. Tools for package owners.