server

package
v0.0.0-...-a88e0ec Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIListenerAddressFlagName = "api-listener-address"
	APIListenerTLSCertFlagName = "api-listener-tls-crt"
	APIListenerTLSKeyFlagName  = "api-listener-tls-key"

	BackendURLFlagName      = "backend-url"
	CloudIDFlagName         = "cloud-id"
	ExtensionsFlagName      = "extensions"
	ExternalAddressFlagName = "external-address"
	GlobalCloudIDFlagName   = "global-cloud-id"
)

Names of command line flags:

Variables

This section is empty.

Functions

func AddTokenFlags

func AddTokenFlags(set *pflag.FlagSet)

AddTokenFlags adds the flags needed to configure a token to the given flag set.

func GetTokenFlag

func GetTokenFlag(
	ctx context.Context, set *pflag.FlagSet, logger *slog.Logger) (string, error)

GetTokenFlag gets the value of the token flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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