config

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownArg = errors.New("Unknown non-flag argument(s) present after command")

ErrUnknownArg is returned when non-flag arguments are present after the command

Functions

func AddEnvDefaults

func AddEnvDefaults(consulConfig *ccns.Config)

AddEnvDefaults attempts to populates missing config information from environment variables

func AddSharedConsulFlags

func AddSharedConsulFlags(cmdFlags *flag.FlagSet, consulConfig *ccns.Config)

AddSharedConsulFlags adds flags shared by multiple command implementations

Types

This section is empty.

Jump to

Keyboard shortcuts

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