app

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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

NewLogger returns a new Logger with the provided writer, reader, and value of noConfirm.

func (*Logger) NoConfirm added in v0.17.0

func (l *Logger) NoConfirm()

func (*Logger) Printf

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

Printf handles arguments in the manner of fmt.Fprintf.

func (*Logger) Println

func (l *Logger) Println(message string)

Println handles the argument in the manner of fmt.Fprintln.

func (*Logger) PromptWithDetails added in v0.21.0

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

PromptWithDetails will block all other goroutines attempting to print the prompt to the logger for a given resource type and resource name, while waiting for user input.

Jump to

Keyboard shortcuts

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