flags

package
v0.0.0-...-6fab97a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Version          kong.VersionFlag
	AppName          string `help:"Stage the name of the service." env:"APP_NAME"`
	Stage            string `help:"Stage the software is deployed." env:"STAGE"`
	Branch           string `help:"Branch used to build software." env:"BRANCH"`
	ClientID         string `help:"The client identifier for the openid client." env:"CLIENT_ID"`
	ClientSecret     string `help:"The client secret for the openid client" env:"CLIENT_SECRET"`
	Issuer           string `help:"The openid issuer." env:"ISSUER"`
	RedirectURL      string `help:"The redirect URL used for callbacks." env:"REDIRECT_URL"`
	SessionSecretArn string `help:"The ARN of the secret used to sign sessions." env:"SESSION_SECRET_ARN"`
	WebsiteBucket    string `help:"The name of the website S3 bucket holding content to be served." env:"WEBSITE_BUCKET"`
}

API api related flags passing in env variables

func (*API) Valid

func (c *API) Valid() error

Valid validate our flags

Jump to

Keyboard shortcuts

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