mocks

package
v0.5.41 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MPL-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 Engine

type Engine struct {
	mock.Mock
}

Engine is an autogenerated mock type for the Engine type

func NewEngine

func NewEngine(t mockConstructorTestingTNewEngine) *Engine

NewEngine creates a new instance of Engine. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Engine) Apply

func (_m *Engine) Apply(_a0 string) (*hclconfig.Config, error)

Apply provides a mock function with given fields: _a0

func (*Engine) ApplyWithVariables

func (_m *Engine) ApplyWithVariables(path string, variables map[string]string, variablesFile string) (*hclconfig.Config, error)

ApplyWithVariables provides a mock function with given fields: path, variables, variablesFile

func (*Engine) Config added in v0.5.36

func (_m *Engine) Config() *hclconfig.Config

Config provides a mock function with given fields:

func (*Engine) Destroy

func (_m *Engine) Destroy() error

Destroy provides a mock function with given fields:

func (*Engine) Diff added in v0.5.36

func (_m *Engine) Diff(path string, variables map[string]string, variablesFile string) ([]types.Resource, []types.Resource, []types.Resource, *hclconfig.Config, error)

Diff provides a mock function with given fields: path, variables, variablesFile

func (*Engine) ParseConfig

func (_m *Engine) ParseConfig(_a0 string) (*hclconfig.Config, error)

ParseConfig provides a mock function with given fields: _a0

func (*Engine) ParseConfigWithVariables

func (_m *Engine) ParseConfigWithVariables(_a0 string, _a1 map[string]string, _a2 string) (*hclconfig.Config, error)

ParseConfigWithVariables provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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