Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.12.18 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JobCmd

func JobCmd() *cobra.Command

func New

func New(cfg *Config) *cobra.Command

func PolicyCmd

func PolicyCmd(adapter handlerv1beta1.ProtoAdapter) *cobra.Command

PolicyCmd is the root command for the policies subcommand.

func ProviderCmd

func ProviderCmd(adapter handlerv1beta1.ProtoAdapter) *cobra.Command

func ResourceCmd

func ResourceCmd(adapter handlerv1beta1.ProtoAdapter) *cobra.Command

func ServerCommand

func ServerCommand() *cobra.Command

func VersionCmd

func VersionCmd() *cobra.Command

VersionCmd prints the version of the binary

Types

type Config

type Config struct {
	Host      string               `mapstructure:"host"`
	Telemetry opentelemetry.Config `mapstructure:"telemetry"`
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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