overwrites

package
v0.0.3 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 MockOverwriter

type MockOverwriter struct {
	mock.Mock
}

MockOverwriter is an autogenerated mock type for the Overwriter type

func NewMockOverwriter

func NewMockOverwriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockOverwriter

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

func (*MockOverwriter) Overwrite

func (_m *MockOverwriter) Overwrite(config *types.Config, _a1 map[string]string) error

Overwrite provides a mock function with given fields: config, _a1

type MockOverwriter_Expecter

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

func (*MockOverwriter_Expecter) Overwrite

func (_e *MockOverwriter_Expecter) Overwrite(config interface{}, _a1 interface{}) *MockOverwriter_Overwrite_Call

Overwrite is a helper method to define mock.On call

  • config *types.Config
  • _a1 map[string]string

type MockOverwriter_Overwrite_Call

type MockOverwriter_Overwrite_Call struct {
	*mock.Call
}

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

func (*MockOverwriter_Overwrite_Call) Return

func (*MockOverwriter_Overwrite_Call) Run

func (*MockOverwriter_Overwrite_Call) RunAndReturn

Jump to

Keyboard shortcuts

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