app

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncDeleter added in v0.37.0

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

func NewAsyncDeleter added in v0.37.0

func NewAsyncDeleter(logger logger) AsyncDeleter

func (AsyncDeleter) Run added in v0.37.0

func (a AsyncDeleter) Run(deletables [][]common.Deletable) error

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