mocks

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputAnalysis

type OutputAnalysis struct {
	mock.Mock
}

OutputAnalysis is an autogenerated mock type for the OutputAnalysis type

func NewOutputAnalysis

func NewOutputAnalysis(t interface {
	mock.TestingT
	Cleanup(func())
}) *OutputAnalysis

NewOutputAnalysis creates a new instance of OutputAnalysis. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*OutputAnalysis) ContainsRemoteLockFailure

func (_m *OutputAnalysis) ContainsRemoteLockFailure() bool

ContainsRemoteLockFailure provides a mock function with given fields:

func (*OutputAnalysis) EXPECT

func (*OutputAnalysis) GetRemoteLockedBy

func (_m *OutputAnalysis) GetRemoteLockedBy() (string, bool)

GetRemoteLockedBy provides a mock function with given fields:

func (*OutputAnalysis) GetRemoteLockedMaxWait

func (_m *OutputAnalysis) GetRemoteLockedMaxWait() (time.Duration, bool)

GetRemoteLockedMaxWait provides a mock function with given fields:

func (*OutputAnalysis) GetRemoteLockedSince

func (_m *OutputAnalysis) GetRemoteLockedSince() (time.Duration, bool)

GetRemoteLockedSince provides a mock function with given fields:

type OutputAnalysis_ContainsRemoteLockFailure_Call

type OutputAnalysis_ContainsRemoteLockFailure_Call struct {
	*mock.Call
}

OutputAnalysis_ContainsRemoteLockFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainsRemoteLockFailure'

func (*OutputAnalysis_ContainsRemoteLockFailure_Call) Return

func (*OutputAnalysis_ContainsRemoteLockFailure_Call) Run

func (*OutputAnalysis_ContainsRemoteLockFailure_Call) RunAndReturn

type OutputAnalysis_Expecter

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

func (*OutputAnalysis_Expecter) ContainsRemoteLockFailure

ContainsRemoteLockFailure is a helper method to define mock.On call

func (*OutputAnalysis_Expecter) GetRemoteLockedBy

GetRemoteLockedBy is a helper method to define mock.On call

func (*OutputAnalysis_Expecter) GetRemoteLockedMaxWait

GetRemoteLockedMaxWait is a helper method to define mock.On call

func (*OutputAnalysis_Expecter) GetRemoteLockedSince

GetRemoteLockedSince is a helper method to define mock.On call

type OutputAnalysis_GetRemoteLockedBy_Call

type OutputAnalysis_GetRemoteLockedBy_Call struct {
	*mock.Call
}

OutputAnalysis_GetRemoteLockedBy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRemoteLockedBy'

func (*OutputAnalysis_GetRemoteLockedBy_Call) Return

func (*OutputAnalysis_GetRemoteLockedBy_Call) Run

func (*OutputAnalysis_GetRemoteLockedBy_Call) RunAndReturn

type OutputAnalysis_GetRemoteLockedMaxWait_Call

type OutputAnalysis_GetRemoteLockedMaxWait_Call struct {
	*mock.Call
}

OutputAnalysis_GetRemoteLockedMaxWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRemoteLockedMaxWait'

func (*OutputAnalysis_GetRemoteLockedMaxWait_Call) Return

func (*OutputAnalysis_GetRemoteLockedMaxWait_Call) Run

func (*OutputAnalysis_GetRemoteLockedMaxWait_Call) RunAndReturn

type OutputAnalysis_GetRemoteLockedSince_Call

type OutputAnalysis_GetRemoteLockedSince_Call struct {
	*mock.Call
}

OutputAnalysis_GetRemoteLockedSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRemoteLockedSince'

func (*OutputAnalysis_GetRemoteLockedSince_Call) Return

func (*OutputAnalysis_GetRemoteLockedSince_Call) Run

func (*OutputAnalysis_GetRemoteLockedSince_Call) RunAndReturn

Jump to

Keyboard shortcuts

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