cmd

package
v1.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertGenCommand added in v1.4.0

func GetCertGenCommand() *cobra.Command

GetCertGenCommand returns the certGen cobra command to be executed.

func GetEnvoyCommand added in v1.4.0

func GetEnvoyCommand() *cobra.Command

GetEnvoyCommand returns the envoy cobra command to be executed.

func GetServerCommand added in v1.4.0

func GetServerCommand(asyncErrHandler func(string, error)) *cobra.Command

GetServerCommand returns the server cobra command to be executed. This command receives an async error handler to let the main process decide how to handle critical errors that may happen in the runners that may prevent Envoy Gateway from functioning properly. The Envoy AI Gateway CLI is an example use case of this function, where it needs to terminate if the infra runner fails to start the Envoy process.

func GetVersionCommand added in v1.4.0

func GetVersionCommand() *cobra.Command

GetVersionCommand returns the version cobra command to be executed.

Types

type Runner added in v1.4.0

type Runner interface {
	// Start the runner.
	Start(context.Context) error
	Name() string
	// Close closes the runner when the server is shutting down.
	// This called after all the subscriptions are closed at the very end of the server shutdown.
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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