cli

package
v0.8.2-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 34 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 tracing.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