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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExecutionVersionCache

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

func NewMockExecutionVersionCache

func NewMockExecutionVersionCache(options ...pegomock.Option) *MockExecutionVersionCache

func (*MockExecutionVersionCache) FailHandler

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

func (*MockExecutionVersionCache) Get

func (mock *MockExecutionVersionCache) Get(_param0 *go_version.Version) (string, error)

func (*MockExecutionVersionCache) SetFailHandler

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

func (*MockExecutionVersionCache) VerifyWasCalled

func (mock *MockExecutionVersionCache) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockExecutionVersionCache

func (*MockExecutionVersionCache) VerifyWasCalledEventually

func (mock *MockExecutionVersionCache) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockExecutionVersionCache

func (*MockExecutionVersionCache) VerifyWasCalledInOrder

func (mock *MockExecutionVersionCache) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockExecutionVersionCache

func (*MockExecutionVersionCache) VerifyWasCalledOnce

func (mock *MockExecutionVersionCache) VerifyWasCalledOnce() *VerifierMockExecutionVersionCache

type MockExecutionVersionCache_Get_OngoingVerification

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

func (*MockExecutionVersionCache_Get_OngoingVerification) GetAllCapturedArguments

func (c *MockExecutionVersionCache_Get_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_version.Version)

func (*MockExecutionVersionCache_Get_OngoingVerification) GetCapturedArguments

type MockKeySerializer

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

func NewMockKeySerializer

func NewMockKeySerializer(options ...pegomock.Option) *MockKeySerializer

func (*MockKeySerializer) FailHandler

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

func (*MockKeySerializer) Serialize

func (mock *MockKeySerializer) Serialize(_param0 *go_version.Version) (string, error)

func (*MockKeySerializer) SetFailHandler

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

func (*MockKeySerializer) VerifyWasCalled

func (mock *MockKeySerializer) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockKeySerializer

func (*MockKeySerializer) VerifyWasCalledEventually

func (mock *MockKeySerializer) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockKeySerializer

func (*MockKeySerializer) VerifyWasCalledInOrder

func (mock *MockKeySerializer) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockKeySerializer

func (*MockKeySerializer) VerifyWasCalledOnce

func (mock *MockKeySerializer) VerifyWasCalledOnce() *VerifierMockKeySerializer

type MockKeySerializer_Serialize_OngoingVerification

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

func (*MockKeySerializer_Serialize_OngoingVerification) GetAllCapturedArguments

func (c *MockKeySerializer_Serialize_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_version.Version)

func (*MockKeySerializer_Serialize_OngoingVerification) GetCapturedArguments

type VerifierMockExecutionVersionCache

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

func (*VerifierMockExecutionVersionCache) Get

type VerifierMockKeySerializer

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

func (*VerifierMockKeySerializer) Serialize

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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