definitions_mocks

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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 FabricBlock

type FabricBlock struct {
	mock.Mock
}

FabricBlock is an autogenerated mock type for the FabricBlock type

func NewFabricBlock

func NewFabricBlock(t interface {
	mock.TestingT
	Cleanup(func())
}) *FabricBlock

NewFabricBlock creates a new instance of FabricBlock. 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 (*FabricBlock) CtyType

func (_m *FabricBlock) CtyType() cty.Type

CtyType provides a mock function with given fields:

func (*FabricBlock) EXPECT

func (_m *FabricBlock) EXPECT() *FabricBlock_Expecter

func (*FabricBlock) GetHCLBlock

func (_m *FabricBlock) GetHCLBlock() *hcl.Block

GetHCLBlock provides a mock function with given fields:

type FabricBlock_CtyType_Call

type FabricBlock_CtyType_Call struct {
	*mock.Call
}

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

func (*FabricBlock_CtyType_Call) Return

func (*FabricBlock_CtyType_Call) Run

func (*FabricBlock_CtyType_Call) RunAndReturn

func (_c *FabricBlock_CtyType_Call) RunAndReturn(run func() cty.Type) *FabricBlock_CtyType_Call

type FabricBlock_Expecter

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

func (*FabricBlock_Expecter) CtyType

CtyType is a helper method to define mock.On call

func (*FabricBlock_Expecter) GetHCLBlock

GetHCLBlock is a helper method to define mock.On call

type FabricBlock_GetHCLBlock_Call

type FabricBlock_GetHCLBlock_Call struct {
	*mock.Call
}

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

func (*FabricBlock_GetHCLBlock_Call) Return

func (*FabricBlock_GetHCLBlock_Call) Run

func (*FabricBlock_GetHCLBlock_Call) RunAndReturn

func (_c *FabricBlock_GetHCLBlock_Call) RunAndReturn(run func() *hcl.Block) *FabricBlock_GetHCLBlock_Call

Jump to

Keyboard shortcuts

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