Documentation ¶
Index ¶
- type MockSourceResolver
- func (mock *MockSourceResolver) FailHandler() pegomock.FailHandler
- func (mock *MockSourceResolver) Resolve(policySet valid.PolicySet) (string, error)
- func (mock *MockSourceResolver) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockSourceResolver) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockSourceResolver
- func (mock *MockSourceResolver) VerifyWasCalledOnce() *VerifierMockSourceResolver
- type MockSourceResolver_Resolve_OngoingVerification
- type VerifierMockSourceResolver
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 ¶
func (c *MockSourceResolver_Resolve_OngoingVerification) GetCapturedArguments() valid.PolicySet
type VerifierMockSourceResolver ¶
type VerifierMockSourceResolver struct {
// contains filtered or unexported fields
}
func (*VerifierMockSourceResolver) Resolve ¶
func (verifier *VerifierMockSourceResolver) Resolve(policySet valid.PolicySet) *MockSourceResolver_Resolve_OngoingVerification
Click to show internal directories.
Click to hide internal directories.