cmd

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MPL-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InsecureNoAuthenticationUserFlag = "insecure-no-authentication-user"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type Options

type Options struct {
	// System config
	Host                          string
	LogLevel                      string
	NotificationControllerAddress string
	Path                          string
	RoutePrefix                   string
	Port                          string
	AuthMethods                   []string
	// TLS config
	Insecure    bool
	MTLS        bool
	TLSCertFile string
	TLSKeyFile  string
	// Stuff for profiles apparently
	HelmRepoName      string
	HelmRepoNamespace string
	// OIDC
	OIDC       auth.OIDCConfig
	OIDCSecret string
	// Auth
	NoAuthUser string
	// Dev mode
	DevMode bool
	// Metrics
	EnableMetrics  bool
	MetricsAddress string

	UseK8sCachedClients bool
}

Options contains all the options for the gitops-server command.

Jump to

Keyboard shortcuts

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