mocks

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJob

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

func NewMockJob

func NewMockJob(options ...pegomock.Option) *MockJob

func (*MockJob) FailHandler

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

func (*MockJob) Run

func (mock *MockJob) Run()

func (*MockJob) SetFailHandler

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

func (*MockJob) VerifyWasCalled

func (mock *MockJob) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJob

func (*MockJob) VerifyWasCalledEventually

func (mock *MockJob) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJob

func (*MockJob) VerifyWasCalledInOrder

func (mock *MockJob) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJob

func (*MockJob) VerifyWasCalledOnce

func (mock *MockJob) VerifyWasCalledOnce() *VerifierMockJob

type MockJob_Run_OngoingVerification

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

func (*MockJob_Run_OngoingVerification) GetAllCapturedArguments

func (c *MockJob_Run_OngoingVerification) GetAllCapturedArguments()

func (*MockJob_Run_OngoingVerification) GetCapturedArguments

func (c *MockJob_Run_OngoingVerification) GetCapturedArguments()

type VerifierMockJob

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

func (*VerifierMockJob) Run

Jump to

Keyboard shortcuts

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