mock

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	mock.Mock
}

Executor is an autogenerated mock type for the TerraformExecutor type

func (*Executor) Format

func (_m *Executor) Format(ctx context.Context, input []byte) ([]byte, error)

Format provides a mock function with given fields: ctx, input

func (*Executor) GetExecPath

func (_m *Executor) GetExecPath() string

GetExecPath provides a mock function with given fields:

func (*Executor) ProviderSchemas

func (_m *Executor) ProviderSchemas(ctx context.Context) (*tfjson.ProviderSchemas, error)

ProviderSchemas provides a mock function with given fields: ctx

func (*Executor) SetExecLogPath

func (_m *Executor) SetExecLogPath(path string) error

SetExecLogPath provides a mock function with given fields: path

func (*Executor) SetLogger

func (_m *Executor) SetLogger(logger *log.Logger)

SetLogger provides a mock function with given fields: logger

func (*Executor) SetTimeout

func (_m *Executor) SetTimeout(duration time.Duration)

SetTimeout provides a mock function with given fields: duration

func (*Executor) Version

func (_m *Executor) Version(ctx context.Context) (*version.Version, error)

Version provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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