mocks

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 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(wr io.Writer, data 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

Jump to

Keyboard shortcuts

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