mock

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 7 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) Get added in v0.20.0

func (_m *Executor) Get(ctx context.Context, opts ...tfexec.GetCmdOption) error

Get provides a mock function with given fields: ctx, opts

func (*Executor) GetExecPath

func (_m *Executor) GetExecPath() string

GetExecPath provides a mock function with given fields:

func (*Executor) Init added in v0.11.0

func (_m *Executor) Init(ctx context.Context, opts ...tfexec.InitOption) error

Init provides a mock function with given fields: ctx, opts

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) Validate added in v0.11.0

func (_m *Executor) Validate(ctx context.Context) ([]tfjson.Diagnostic, error)

Validate provides a mock function with given fields: ctx

func (*Executor) Version

func (_m *Executor) Version(ctx context.Context) (*version.Version, map[string]*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