mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: Apache-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 MockRunner

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

func NewMockRunner

func NewMockRunner() *MockRunner

func (*MockRunner) Execute

func (mock *MockRunner) Execute(log *logging.SimpleLogger, commands []string, path string, environment string, terraformVersion *go_version.Version, stage string) (string, error)

func (*MockRunner) VerifyWasCalled

func (mock *MockRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierRunner

func (*MockRunner) VerifyWasCalledInOrder

func (mock *MockRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierRunner

func (*MockRunner) VerifyWasCalledOnce

func (mock *MockRunner) VerifyWasCalledOnce() *VerifierRunner

type Runner_Execute_OngoingVerification

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

func (*Runner_Execute_OngoingVerification) GetAllCapturedArguments

func (c *Runner_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 [][]string, _param2 []string, _param3 []string, _param4 []*go_version.Version, _param5 []string)

func (*Runner_Execute_OngoingVerification) GetCapturedArguments

type VerifierRunner

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

func (*VerifierRunner) Execute

func (verifier *VerifierRunner) Execute(log *logging.SimpleLogger, commands []string, path string, environment string, terraformVersion *go_version.Version, stage string) *Runner_Execute_OngoingVerification

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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