cli

package
v4.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "unknown"
	DateBuilt = "unknown"
)

Build stamps.

Functions

func App added in v4.14.0

func App() *cli.App

App returns the full CLI app definition, this is useful for writing unit tests around the CLI.

func LintAction added in v4.15.0

func LintAction(c *cli.Context, stderr io.Writer) int

LintAction performs the benthos lint subcommand and returns the appropriate exit code. This function is exported for testing purposes only.

func Run

func Run(ctx context.Context)

Run the Benthos service, if the pipeline is started successfully then this call blocks until either the pipeline shuts down or a termination signal is received.

Types

This section is empty.

Directories

Path Synopsis
Package test implements the Benthos service unit testing command.
Package test implements the Benthos service unit testing command.

Jump to

Keyboard shortcuts

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