merger

package
v0.0.12 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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMerger

type MockMerger struct {
	mock.Mock
}

MockMerger is an autogenerated mock type for the Merger type

func NewMockMerger

func NewMockMerger(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMerger

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

func (_m *MockMerger) EXPECT() *MockMerger_Expecter

func (*MockMerger) MergeConfigs

func (_m *MockMerger) MergeConfigs(configs []*types.Config) (*types.Config, error)

MergeConfigs provides a mock function with given fields: configs

type MockMerger_Expecter

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

func (*MockMerger_Expecter) MergeConfigs

func (_e *MockMerger_Expecter) MergeConfigs(configs interface{}) *MockMerger_MergeConfigs_Call

MergeConfigs is a helper method to define mock.On call

  • configs []*types.Config

type MockMerger_MergeConfigs_Call

type MockMerger_MergeConfigs_Call struct {
	*mock.Call
}

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

func (*MockMerger_MergeConfigs_Call) Return

func (*MockMerger_MergeConfigs_Call) Run

func (*MockMerger_MergeConfigs_Call) RunAndReturn

Jump to

Keyboard shortcuts

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