integration

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCLITest

func NewCLITest(t *testing.T) *cliTest

Types

type MockPrompter

type MockPrompter struct {
	T *testing.T
	// contains filtered or unexported fields
}

func (*MockPrompter) AnswerBasic

func (m *MockPrompter) AnswerBasic(question string, answer string)

func (*MockPrompter) AnswerSelect

func (m *MockPrompter) AnswerSelect(question string, expectedOptions []string, answer string)

func (*MockPrompter) AssertAllPrompts

func (m *MockPrompter) AssertAllPrompts()

func (*MockPrompter) PromptBasic

func (m *MockPrompter) PromptBasic(label string, validator func(input string) error) *string

func (*MockPrompter) PromptSelect

func (m *MockPrompter) PromptSelect(label string, items []string) *string

Jump to

Keyboard shortcuts

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