flag

package
v0.0.0-...-6684604 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AuthPasswordFileFlagName = "portal.auth-password-file"

AuthPasswordFileFlagName is the canonical flag name to configure the authentication secret from a file

View Source
const AuthPasswordFileHelp = "File to read the authentication secret to required from incoming requests"

AuthPasswordFileHelp is the delp description for the portal.auth-password-file flag.

View Source
const AuthPasswordFlagName = "portal.auth-password"

AuthPasswordFlagName is the canonical flag name to configure the authentication secret

View Source
const AuthPasswordHelp = "Authentication secret to required from incoming requests"

AuthPasswordHelp is the delp description for the portal.auth-password flag.

View Source
const AuthUsernameFlagName = "portal.auth-username"

AuthUsernameFlagName is the canonical flag name to configure the authentication principal

View Source
const AuthUsernameHelp = "Authentication principal to required from incoming requests"

AuthUsernameHelp is the delp description for the portal.auth-username flag.

View Source
const AutoPushDelayFlagName = "portal.auto-push-delay"

AutoPushDelayFlagName is the canonical flag name to configure the minimal delay of AutoPush

View Source
const AutoPushDelayHelp = "Minimal delay of AutoPush."

AutoPushDelayHelp is the help description for the portal.auto-push-delay flag.

View Source
const LogIntervalFlagName = "portal.log-interval"

LogIntervalFlagName is the canonical flag name to configure the retention period for local value buffer

View Source
const LogIntervalHelp = "Retention period for local value buffer."

LogIntervalHelp is the help description for the portal.log-interval flag.

View Source
const PushIntervalFlagName = "portal.push-interval"

PushIntervalFlagName is the canonical flag name to configure the periodic push interval

View Source
const PushIntervalHelp = "Periodic Push interval."

PushIntervalHelp is the help description for the portal.push-interval flag.

View Source
const TrustLevelFlagName = "portal.trust-level"

TrustLevelFlagName is the canonical flag name to configure the trust level towards incoming requests

Variables

View Source
var TrustLevelHelp = "Trust level towards incoming requests for identifying information. One of: [" + strings.Join(portal.TrustLevelValues, ", ") + "]"

TrustLevelHelp is the delp description for the portal.trust-level flag.

Functions

func AddFlags

func AddFlags(a *kingpin.Application, config *portal.Config)

AddFlags adds the flags used by this package to the Kingpin application. To use the default Kingpin application, call AddFlags(kingpin.CommandLine)

Types

This section is empty.

Jump to

Keyboard shortcuts

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