cmd

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultBackendPort specifies the default port to use when a port is not
	// specified in backend urls
	DefaultBackendPort = "8081"
)

Variables

This section is empty.

Functions

func NewRootCommand

func NewRootCommand(ctx context.Context, args []string) *cobra.Command

NewRootCommand creates a new root sensu-agent command. The context provided is used for cancellation. The args are parsed with cobra. The first argument is assumed to be the binary name and is ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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