cli

package
v4.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 32 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

Jump to

Keyboard shortcuts

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