utils

package
v1.0.8-dta Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMD

func CMD(name string, args ...string) (err error, stdout, stderr []string)

CMD executes a linux command

Types

type Event

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

Event stores messages to log later, from our standard interface

type StandardLogger

type StandardLogger struct {
	*logrus.Logger
}

StandardLogger enforces specific log message formats

func NewLogger

func NewLogger() *StandardLogger

NewLogger initializes the standard logger

Jump to

Keyboard shortcuts

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