Documentation ¶
Overview ¶
Package options is a common options interface that is used by CLI, args, and the gRPC server. Its purpose is primarily to store all available options for plumber - its other responsibilities are to perform "light" validation.
Additional validation should be performed by the utilizers of the options package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
VERSION = "UNSET"
)
Functions ¶
func ActionUsesBackend ¶
ActionUsesBackend checks the action string to determine if a backend will need to be utilized. This is used to determine if we need to populate XBackend or create a connection config (when in CLI mode).
func NewCLIOptions ¶
func NewCLIOptions() *opts.CLIOptions
NewCLIOptions creates an *opts.CLIOptions with zero values. We have to do this in order to ensure that kong has valid destinations to write discovered options to.
Types ¶
This section is empty.