Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants func NewRootCommand(ctx context.Context, args []string) *cobra.Command 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. Source Files ¶ View all Source files root.go start.go Click to show internal directories. Click to hide internal directories.