cmd

package
v0.0.0-...-4b9a916 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package cmd is our cobra/viper cli implementation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNATSURLRequired is returned when a NATS url is missing
	ErrNATSURLRequired = errors.New("nats url is required and cannot be empty")
	// ErrMissingNATSCreds is returned when nats creds are not provided
	ErrMissingNATSCreds = errors.New("nats creds are required")
	// ErrGovernorURLRequired is returned when a governor URL is missing
	ErrGovernorURLRequired = errors.New("governor url is required and cannot be empty")
	// ErrGovernorClientIDRequired is returned when a governor client id is missing
	ErrGovernorClientIDRequired = errors.New("governor oauth client id is required and cannot be empty")
	// ErrGovernorClientSecretRequired is returned when a governor client secret is missing
	ErrGovernorClientSecretRequired = errors.New("governor oauth client secret is required and cannot be empty")
	// ErrGovernorClientTokenURLRequired is returned when a governor token url is missing
	ErrGovernorClientTokenURLRequired = errors.New("governor oauth client token url is required and cannot be empty")
	// ErrGovernorClientAudienceRequired is returned when a governor client audience is missing
	ErrGovernorClientAudienceRequired = errors.New("governor oauth client audience is required and cannot be empty")
	// ErrSlackTokenRequired is returned when a slack token is missing
	ErrSlackTokenRequired = errors.New("slack token is required and cannot be empty")
)
View Source
var ErrInvalidTracingConfig = errors.New("invalid tracing config")

ErrInvalidTracingConfig is returned when the tracing configuration is invalid.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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