mocks

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 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 MockSourceResolver

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

func NewMockSourceResolver

func NewMockSourceResolver(options ...pegomock.Option) *MockSourceResolver

func (*MockSourceResolver) FailHandler

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

func (*MockSourceResolver) Resolve

func (mock *MockSourceResolver) Resolve(policySet valid.PolicySet) (string, error)

func (*MockSourceResolver) SetFailHandler

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

func (*MockSourceResolver) VerifyWasCalled

func (mock *MockSourceResolver) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledEventually

func (mock *MockSourceResolver) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledInOrder

func (mock *MockSourceResolver) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockSourceResolver

func (*MockSourceResolver) VerifyWasCalledOnce

func (mock *MockSourceResolver) VerifyWasCalledOnce() *VerifierMockSourceResolver

type MockSourceResolver_Resolve_OngoingVerification

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

func (*MockSourceResolver_Resolve_OngoingVerification) GetAllCapturedArguments

func (c *MockSourceResolver_Resolve_OngoingVerification) GetAllCapturedArguments() (_param0 []valid.PolicySet)

func (*MockSourceResolver_Resolve_OngoingVerification) GetCapturedArguments

type VerifierMockSourceResolver

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

func (*VerifierMockSourceResolver) Resolve

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