actions

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExpectAction

type MockExpectAction struct {
	mock.Mock
}

MockExpectAction is an autogenerated mock type for the ExpectAction type

func NewMockExpectAction

func NewMockExpectAction(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockExpectAction

NewMockExpectAction creates a new instance of MockExpectAction. 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 (*MockExpectAction) EXPECT

func (*MockExpectAction) OutputExpectation

func (_m *MockExpectAction) OutputExpectation() *expectations.OutputExpectation

OutputExpectation provides a mock function with given fields:

func (*MockExpectAction) Parameters

func (_m *MockExpectAction) Parameters() parameters.Parameters

Parameters provides a mock function with given fields:

func (*MockExpectAction) ResponseExpectation

func (_m *MockExpectAction) ResponseExpectation() *expectations.ResponseExpectation

ResponseExpectation provides a mock function with given fields:

type MockExpectAction_Expecter

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

func (*MockExpectAction_Expecter) OutputExpectation

OutputExpectation is a helper method to define mock.On call

func (*MockExpectAction_Expecter) Parameters

Parameters is a helper method to define mock.On call

func (*MockExpectAction_Expecter) ResponseExpectation

ResponseExpectation is a helper method to define mock.On call

type MockExpectAction_OutputExpectation_Call

type MockExpectAction_OutputExpectation_Call struct {
	*mock.Call
}

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

func (*MockExpectAction_OutputExpectation_Call) Return

func (*MockExpectAction_OutputExpectation_Call) Run

func (*MockExpectAction_OutputExpectation_Call) RunAndReturn

type MockExpectAction_Parameters_Call

type MockExpectAction_Parameters_Call struct {
	*mock.Call
}

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

func (*MockExpectAction_Parameters_Call) Return

func (*MockExpectAction_Parameters_Call) Run

func (*MockExpectAction_Parameters_Call) RunAndReturn

type MockExpectAction_ResponseExpectation_Call

type MockExpectAction_ResponseExpectation_Call struct {
	*mock.Call
}

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

func (*MockExpectAction_ResponseExpectation_Call) Return

func (*MockExpectAction_ResponseExpectation_Call) Run

func (*MockExpectAction_ResponseExpectation_Call) RunAndReturn

type MockMaker

type MockMaker struct {
	mock.Mock
}

MockMaker is an autogenerated mock type for the Maker type

func NewMockMaker

func NewMockMaker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMaker

NewMockMaker creates a new instance of MockMaker. 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 (*MockMaker) EXPECT

func (_m *MockMaker) EXPECT() *MockMaker_Expecter

func (*MockMaker) Make

func (_m *MockMaker) Make(configActions *types.ServerActions) (*actions.Actions, error)

Make provides a mock function with given fields: configActions

type MockMaker_Expecter

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

func (*MockMaker_Expecter) Make

func (_e *MockMaker_Expecter) Make(configActions interface{}) *MockMaker_Make_Call

Make is a helper method to define mock.On call

  • configActions *types.ServerActions

type MockMaker_Make_Call

type MockMaker_Make_Call struct {
	*mock.Call
}

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

func (*MockMaker_Make_Call) Return

func (*MockMaker_Make_Call) Run

func (_c *MockMaker_Make_Call) Run(run func(configActions *types.ServerActions)) *MockMaker_Make_Call

func (*MockMaker_Make_Call) RunAndReturn

Jump to

Keyboard shortcuts

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