mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Apply

func (_m *Client) Apply(ctx context.Context) error

Apply provides a mock function with given fields: ctx

func (*Client) GoString

func (_m *Client) GoString() string

GoString provides a mock function with given fields:

func (*Client) Init

func (_m *Client) Init(ctx context.Context) error

Init provides a mock function with given fields: ctx

func (*Client) Plan

func (_m *Client) Plan(ctx context.Context) (bool, error)

Plan provides a mock function with given fields: ctx

func (*Client) SetEnv

func (_m *Client) SetEnv(_a0 map[string]string) error

SetEnv provides a mock function with given fields: _a0

func (*Client) SetStdout

func (_m *Client) SetStdout(w io.Writer)

SetStdout provides a mock function with given fields: w

type TerraformExec

type TerraformExec struct {
	mock.Mock
}

TerraformExec is an autogenerated mock type for the terraformExec type

func (*TerraformExec) Apply

func (_m *TerraformExec) Apply(ctx context.Context, opts ...tfexec.ApplyOption) error

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

func (*TerraformExec) Init

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

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

func (*TerraformExec) Plan

func (_m *TerraformExec) Plan(ctx context.Context, opts ...tfexec.PlanOption) (bool, error)

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

func (*TerraformExec) SetEnv

func (_m *TerraformExec) SetEnv(env map[string]string) error

SetEnv provides a mock function with given fields: env

func (*TerraformExec) SetStdout

func (_m *TerraformExec) SetStdout(w io.Writer)

SetStdout provides a mock function with given fields: w

func (*TerraformExec) WorkspaceNew

func (_m *TerraformExec) WorkspaceNew(ctx context.Context, workspace string, opts ...tfexec.WorkspaceNewCmdOption) error

WorkspaceNew provides a mock function with given fields: ctx, workspace, opts

func (*TerraformExec) WorkspaceSelect

func (_m *TerraformExec) WorkspaceSelect(ctx context.Context, workspace string) error

WorkspaceSelect provides a mock function with given fields: ctx, workspace

Jump to

Keyboard shortcuts

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