Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Entrypoint ¶
func Entrypoint(args LaunchArgs) int
Entrypoint implements the actual functionality of the program so it can be called inline from testing. env is normally passed the environment variable array.
Types ¶
type LaunchArgs ¶
type Options ¶
type Options struct { Logging struct { Level string `help:"logging level" default:"warning"` Format string `help:"logging format (${enum})" enum:"console,json" default:"console"` } `embed:"" prefix:"logging."` Assets assets.Config `embed:"" prefix:"assets." help:"configure embedded asset handling"` Version bool `help:"Print the version and exit"` Unsealer unsealer.UnsealerCommand `cmd:"" help:"Start the Vault Unsealer agent"` ReadEnvVar templating.ReadEnvCommand `cmd:"" help:"Read environment variable to file"` }
Click to show internal directories.
Click to hide internal directories.