utils

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(dirName string) bool

DirExists is a simple function to check if a directory exists

func Exists

func Exists(a string, list []string) bool

Exists is a simple function to check if a string exists in an array

func Output

func Output(stdout io.ReadCloser, stderr io.ReadCloser) error

Output outputs a readcloser to stdout in a stream without formatting.

func OutputJson

func OutputJson(output io.ReadCloser) error

OutputJson streams and formats the output to stdout from returned ReadClosers by docker commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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