mocks

package
v0.23.0-pre.20230222 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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 MockSimpleLogging

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

func NewMockSimpleLogging

func NewMockSimpleLogging(options ...pegomock.Option) *MockSimpleLogging

func (*MockSimpleLogging) Debug

func (mock *MockSimpleLogging) Debug(_param0 string, _param1 ...interface{})

func (*MockSimpleLogging) Err

func (mock *MockSimpleLogging) Err(_param0 string, _param1 ...interface{})

func (*MockSimpleLogging) FailHandler added in v0.6.0

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

func (*MockSimpleLogging) Flush added in v0.17.0

func (mock *MockSimpleLogging) Flush() error

func (*MockSimpleLogging) GetHistory added in v0.17.0

func (mock *MockSimpleLogging) GetHistory() string

func (*MockSimpleLogging) Info

func (mock *MockSimpleLogging) Info(_param0 string, _param1 ...interface{})

func (*MockSimpleLogging) Log

func (mock *MockSimpleLogging) Log(_param0 logging.LogLevel, _param1 string, _param2 ...interface{})

func (*MockSimpleLogging) SetFailHandler added in v0.6.0

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

func (*MockSimpleLogging) SetLevel added in v0.17.0

func (mock *MockSimpleLogging) SetLevel(_param0 logging.LogLevel)

func (*MockSimpleLogging) VerifyWasCalled

func (mock *MockSimpleLogging) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockSimpleLogging

func (*MockSimpleLogging) VerifyWasCalledEventually added in v0.4.13

func (mock *MockSimpleLogging) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockSimpleLogging

func (*MockSimpleLogging) VerifyWasCalledInOrder

func (mock *MockSimpleLogging) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockSimpleLogging

func (*MockSimpleLogging) VerifyWasCalledOnce

func (mock *MockSimpleLogging) VerifyWasCalledOnce() *VerifierMockSimpleLogging

func (*MockSimpleLogging) Warn

func (mock *MockSimpleLogging) Warn(_param0 string, _param1 ...interface{})

func (*MockSimpleLogging) With added in v0.17.0

func (mock *MockSimpleLogging) With(_param0 ...interface{}) logging.SimpleLogging

func (*MockSimpleLogging) WithHistory added in v0.17.0

func (mock *MockSimpleLogging) WithHistory(_param0 ...interface{}) logging.SimpleLogging

type MockSimpleLogging_Debug_OngoingVerification added in v0.8.3

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

func (*MockSimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Debug_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*MockSimpleLogging_Debug_OngoingVerification) GetCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Debug_OngoingVerification) GetCapturedArguments() (string, []interface{})

type MockSimpleLogging_Err_OngoingVerification added in v0.8.3

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

func (*MockSimpleLogging_Err_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Err_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*MockSimpleLogging_Err_OngoingVerification) GetCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Err_OngoingVerification) GetCapturedArguments() (string, []interface{})

type MockSimpleLogging_Flush_OngoingVerification added in v0.17.0

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

func (*MockSimpleLogging_Flush_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_Flush_OngoingVerification) GetAllCapturedArguments()

func (*MockSimpleLogging_Flush_OngoingVerification) GetCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_Flush_OngoingVerification) GetCapturedArguments()

type MockSimpleLogging_GetHistory_OngoingVerification added in v0.17.0

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

func (*MockSimpleLogging_GetHistory_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_GetHistory_OngoingVerification) GetAllCapturedArguments()

func (*MockSimpleLogging_GetHistory_OngoingVerification) GetCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_GetHistory_OngoingVerification) GetCapturedArguments()

type MockSimpleLogging_Info_OngoingVerification added in v0.8.3

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

func (*MockSimpleLogging_Info_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Info_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*MockSimpleLogging_Info_OngoingVerification) GetCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Info_OngoingVerification) GetCapturedArguments() (string, []interface{})

type MockSimpleLogging_Log_OngoingVerification added in v0.8.3

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

func (*MockSimpleLogging_Log_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Log_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel, _param1 []string, _param2 [][]interface{})

func (*MockSimpleLogging_Log_OngoingVerification) GetCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Log_OngoingVerification) GetCapturedArguments() (logging.LogLevel, string, []interface{})

type MockSimpleLogging_SetLevel_OngoingVerification added in v0.17.0

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

func (*MockSimpleLogging_SetLevel_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_SetLevel_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.LogLevel)

func (*MockSimpleLogging_SetLevel_OngoingVerification) GetCapturedArguments added in v0.17.0

type MockSimpleLogging_Warn_OngoingVerification added in v0.8.3

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

func (*MockSimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Warn_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 [][]interface{})

func (*MockSimpleLogging_Warn_OngoingVerification) GetCapturedArguments added in v0.8.3

func (c *MockSimpleLogging_Warn_OngoingVerification) GetCapturedArguments() (string, []interface{})

type MockSimpleLogging_WithHistory_OngoingVerification added in v0.17.0

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

func (*MockSimpleLogging_WithHistory_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_WithHistory_OngoingVerification) GetAllCapturedArguments() (_param0 [][]interface{})

func (*MockSimpleLogging_WithHistory_OngoingVerification) GetCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_WithHistory_OngoingVerification) GetCapturedArguments() []interface{}

type MockSimpleLogging_With_OngoingVerification added in v0.17.0

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

func (*MockSimpleLogging_With_OngoingVerification) GetAllCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_With_OngoingVerification) GetAllCapturedArguments() (_param0 [][]interface{})

func (*MockSimpleLogging_With_OngoingVerification) GetCapturedArguments added in v0.17.0

func (c *MockSimpleLogging_With_OngoingVerification) GetCapturedArguments() []interface{}

type VerifierMockSimpleLogging added in v0.8.3

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

func (*VerifierMockSimpleLogging) Debug added in v0.8.3

func (verifier *VerifierMockSimpleLogging) Debug(_param0 string, _param1 ...interface{}) *MockSimpleLogging_Debug_OngoingVerification

func (*VerifierMockSimpleLogging) Err added in v0.8.3

func (verifier *VerifierMockSimpleLogging) Err(_param0 string, _param1 ...interface{}) *MockSimpleLogging_Err_OngoingVerification

func (*VerifierMockSimpleLogging) Flush added in v0.17.0

func (*VerifierMockSimpleLogging) GetHistory added in v0.17.0

func (*VerifierMockSimpleLogging) Info added in v0.8.3

func (verifier *VerifierMockSimpleLogging) Info(_param0 string, _param1 ...interface{}) *MockSimpleLogging_Info_OngoingVerification

func (*VerifierMockSimpleLogging) Log added in v0.8.3

func (verifier *VerifierMockSimpleLogging) Log(_param0 logging.LogLevel, _param1 string, _param2 ...interface{}) *MockSimpleLogging_Log_OngoingVerification

func (*VerifierMockSimpleLogging) SetLevel added in v0.17.0

func (*VerifierMockSimpleLogging) Warn added in v0.8.3

func (verifier *VerifierMockSimpleLogging) Warn(_param0 string, _param1 ...interface{}) *MockSimpleLogging_Warn_OngoingVerification

func (*VerifierMockSimpleLogging) With added in v0.17.0

func (verifier *VerifierMockSimpleLogging) With(_param0 ...interface{}) *MockSimpleLogging_With_OngoingVerification

func (*VerifierMockSimpleLogging) WithHistory added in v0.17.0

func (verifier *VerifierMockSimpleLogging) WithHistory(_param0 ...interface{}) *MockSimpleLogging_WithHistory_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