app

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 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 Logger

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

func NewLogger

func NewLogger(writer io.Writer, reader io.Reader, noConfirm bool) *Logger

func (*Logger) NoConfirm added in v0.17.0

func (l *Logger) NoConfirm()

func (*Logger) Printf

func (l *Logger) Printf(message string, a ...interface{})

func (*Logger) Println

func (l *Logger) Println(message string)

func (*Logger) PromptWithDetails added in v0.21.0

func (l *Logger) PromptWithDetails(resourceType, resourceName string) bool

Please note that Prompt will block all other goroutines attempting to print to this logger while waiting for user input.

Jump to

Keyboard shortcuts

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