Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v0.32.6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package flags declares the CLI flags and environment defaults for reaching the registry-packages-proxy.

Index

Constants

View Source
const (
	EnvEndpoint = "D8_RPP_ENDPOINT"
	EnvCAFile   = "D8_RPP_CA_FILE"
)

Variables

View Source
var (
	// Endpoint is the proxy base URL (e.g. https://<master-ip>:4219, or the
	// public Ingress). Empty means discover it from the cluster.
	Endpoint = os.Getenv(EnvEndpoint)

	// CAFile points to a PEM CA bundle used to verify the proxy TLS certificate
	// in addition to the system roots.
	CAFile = os.Getenv(EnvCAFile)

	// InsecureSkipTLSVerify disables proxy TLS verification (debugging only).
	InsecureSkipTLSVerify bool
)

CLI parameters for the registry-packages-proxy connection.

Functions

func AddFlags

func AddFlags(flagSet *pflag.FlagSet)

AddFlags registers the registry-packages-proxy connection flags on flagSet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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