mocks

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 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 MockTemplateWriter

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

func NewMockTemplateWriter

func NewMockTemplateWriter(options ...pegomock.Option) *MockTemplateWriter

func (*MockTemplateWriter) Execute

func (mock *MockTemplateWriter) Execute(_param0 io.Writer, _param1 interface{}) error

func (*MockTemplateWriter) FailHandler

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

func (*MockTemplateWriter) SetFailHandler

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

func (*MockTemplateWriter) VerifyWasCalled

func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockTemplateWriter

func (*MockTemplateWriter) VerifyWasCalledEventually

func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockTemplateWriter

func (*MockTemplateWriter) VerifyWasCalledInOrder

func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockTemplateWriter

func (*MockTemplateWriter) VerifyWasCalledOnce

func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierMockTemplateWriter

type MockTemplateWriter_Execute_OngoingVerification

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

func (*MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments

func (c *MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Writer, _param1 []interface{})

func (*MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments

func (c *MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments() (io.Writer, interface{})

type VerifierMockTemplateWriter

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

func (*VerifierMockTemplateWriter) Execute

func (verifier *VerifierMockTemplateWriter) Execute(_param0 io.Writer, _param1 interface{}) *MockTemplateWriter_Execute_OngoingVerification

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