busy

package
v1.11.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package busy implements a dispatcher for BusyBox-style multi-call binaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogLevel added in v1.10.0

func GetLogLevel() logrus.Level

func GetRootLogger added in v1.10.0

func GetRootLogger() dlog.Logger

func Main

func Main(binName, humanName string, version string, cmds map[string]Command)

func SetLogLevel added in v1.10.0

func SetLogLevel(lvl logrus.Level)

Types

type Command added in v1.10.0

type Command = func(ctx context.Context, version string, args ...string) error

Jump to

Keyboard shortcuts

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