utils

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AcceptQuestion = iota
	IgnoreQuestion
	DiscardQuestion
)

Variables

This section is empty.

Functions

func Accept

func Accept(question string) int

func Ask

func Ask(question string) bool

func ListDir

func ListDir(dir string) ([]string, error)

func OsRelease

func OsRelease() (string, error)

func RunSH

func RunSH(stepName, bashFragment string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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