mockery

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfiguration_format added in v0.55.0

type MockConfiguration_format struct {
	mock.Mock
}

MockConfiguration_format is an autogenerated mock type for the Configuration type

func NewMockConfiguration_format added in v0.55.0

func NewMockConfiguration_format(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockConfiguration_format

NewMockConfiguration_format creates a new instance of MockConfiguration_format. 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 (*MockConfiguration_format) EXPECT added in v0.55.0

func (*MockConfiguration_format) IndentSize added in v0.55.0

func (_m *MockConfiguration_format) IndentSize() int

IndentSize provides a mock function with given fields:

func (*MockConfiguration_format) OneBracketPerLine added in v0.55.0

func (_m *MockConfiguration_format) OneBracketPerLine() bool

OneBracketPerLine provides a mock function with given fields:

func (*MockConfiguration_format) TrimMultipleEmptyLines added in v0.55.0

func (_m *MockConfiguration_format) TrimMultipleEmptyLines() bool

TrimMultipleEmptyLines provides a mock function with given fields:

func (*MockConfiguration_format) UseTabs added in v0.55.0

func (_m *MockConfiguration_format) UseTabs() bool

UseTabs provides a mock function with given fields:

type MockConfiguration_format_Expecter added in v0.55.0

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

func (*MockConfiguration_format_Expecter) IndentSize added in v0.55.0

IndentSize is a helper method to define mock.On call

func (*MockConfiguration_format_Expecter) OneBracketPerLine added in v0.55.0

OneBracketPerLine is a helper method to define mock.On call

func (*MockConfiguration_format_Expecter) TrimMultipleEmptyLines added in v0.55.0

TrimMultipleEmptyLines is a helper method to define mock.On call

func (*MockConfiguration_format_Expecter) UseTabs added in v0.55.0

UseTabs is a helper method to define mock.On call

type MockConfiguration_format_IndentSize_Call added in v0.55.0

type MockConfiguration_format_IndentSize_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_format_IndentSize_Call) Return added in v0.55.0

func (*MockConfiguration_format_IndentSize_Call) Run added in v0.55.0

func (*MockConfiguration_format_IndentSize_Call) RunAndReturn added in v0.55.0

type MockConfiguration_format_OneBracketPerLine_Call added in v0.55.0

type MockConfiguration_format_OneBracketPerLine_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_format_OneBracketPerLine_Call) Return added in v0.55.0

func (*MockConfiguration_format_OneBracketPerLine_Call) Run added in v0.55.0

func (*MockConfiguration_format_OneBracketPerLine_Call) RunAndReturn added in v0.55.0

type MockConfiguration_format_TrimMultipleEmptyLines_Call added in v0.55.0

type MockConfiguration_format_TrimMultipleEmptyLines_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_format_TrimMultipleEmptyLines_Call) Return added in v0.55.0

func (*MockConfiguration_format_TrimMultipleEmptyLines_Call) Run added in v0.55.0

func (*MockConfiguration_format_TrimMultipleEmptyLines_Call) RunAndReturn added in v0.55.0

type MockConfiguration_format_UseTabs_Call added in v0.55.0

type MockConfiguration_format_UseTabs_Call struct {
	*mock.Call
}

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

func (*MockConfiguration_format_UseTabs_Call) Return added in v0.55.0

func (*MockConfiguration_format_UseTabs_Call) Run added in v0.55.0

func (*MockConfiguration_format_UseTabs_Call) RunAndReturn added in v0.55.0

type MockMeta_lang added in v0.59.0

type MockMeta_lang struct {
	mock.Mock
}

MockMeta_lang is an autogenerated mock type for the Meta type

func NewMockMeta_lang added in v0.59.0

func NewMockMeta_lang(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMeta_lang

NewMockMeta_lang creates a new instance of MockMeta_lang. 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 (*MockMeta_lang) EXPECT added in v0.59.0

func (_m *MockMeta_lang) EXPECT() *MockMeta_lang_Expecter

func (*MockMeta_lang) Range added in v0.59.0

func (_m *MockMeta_lang) Range() hcl.Range

Range provides a mock function with given fields:

func (*MockMeta_lang) Variables added in v0.59.0

func (_m *MockMeta_lang) Variables() map[string]cty.Value

Variables provides a mock function with given fields:

type MockMeta_lang_Expecter added in v0.59.0

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

func (*MockMeta_lang_Expecter) Range added in v0.59.0

Range is a helper method to define mock.On call

func (*MockMeta_lang_Expecter) Variables added in v0.59.0

Variables is a helper method to define mock.On call

type MockMeta_lang_Range_Call added in v0.59.0

type MockMeta_lang_Range_Call struct {
	*mock.Call
}

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

func (*MockMeta_lang_Range_Call) Return added in v0.59.0

func (*MockMeta_lang_Range_Call) Run added in v0.59.0

func (*MockMeta_lang_Range_Call) RunAndReturn added in v0.59.0

func (_c *MockMeta_lang_Range_Call) RunAndReturn(run func() hcl.Range) *MockMeta_lang_Range_Call

type MockMeta_lang_Variables_Call added in v0.59.0

type MockMeta_lang_Variables_Call struct {
	*mock.Call
}

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

func (*MockMeta_lang_Variables_Call) Return added in v0.59.0

func (*MockMeta_lang_Variables_Call) Run added in v0.59.0

func (*MockMeta_lang_Variables_Call) RunAndReturn added in v0.59.0

func (_c *MockMeta_lang_Variables_Call) RunAndReturn(run func() map[string]cty.Value) *MockMeta_lang_Variables_Call

Jump to

Keyboard shortcuts

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