flags

package
v0.6.7-rc8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FlagK8sManifestNS = "k8s-manifest-ns"

	FlagListenAddress = "listen"
	FlagPruneInterval = "prune-interval"

	FlagWebRefreshInterval = "web-refresh-interval"
	FlagRetryDelay         = "retry-delay"

	FlagKubeConfig = "kubeconfig"
)
View Source
const (
	KubeConfigDefaultPath = "$HOME/.kube/config"
)

Variables

This section is empty.

Functions

func AddKubeConfigPathFlag

func AddKubeConfigPathFlag(cmd *cobra.Command) error

func AddServiceEndpointFlag

func AddServiceEndpointFlag(cmd *cobra.Command, serviceName string) error

func GetServiceEndpointFlagValue

func GetServiceEndpointFlagValue(logger log.Logger, serviceName string) (*net.SRV, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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