cmd

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer()

Types

type Config

type Config struct {
	// these will be mapped to "KUBERPULT_GIT_URL", etc.
	GitUrl             string        `required:"true" split_words:"true"`
	GitBranch          string        `default:"master" split_words:"true"`
	BootstrapMode      bool          `default:"false" split_words:"true"`
	GitCommitterEmail  string        `default:"kuberpult@freiheit.com" split_words:"true"`
	GitCommitterName   string        `default:"kuberpult" split_words:"true"`
	GitSshKey          string        `default:"/etc/ssh/identity" split_words:"true"`
	GitSshKnownHosts   string        `default:"/etc/ssh/ssh_known_hosts" split_words:"true"`
	GitNetworkTimeout  time.Duration `default:"1m" split_words:"true"`
	GitWriteCommitData bool          `default:"false" split_words:"true"`
	PgpKeyRingPath     string        `split_words:"true"`
	AzureEnableAuth    bool          `default:"false" split_words:"true"`
	DexEnabled         bool          `default:"false" split_words:"true"`
	DexRbacPolicyPath  string        `split_words:"true"`
	EnableTracing      bool          `default:"false" split_words:"true"`
	EnableMetrics      bool          `default:"false" split_words:"true"`
	EnableEvents       bool          `default:"false" split_words:"true"`
	DogstatsdAddr      string        `default:"127.0.0.1:8125" split_words:"true"`
	EnableSqlite       bool          `default:"true" split_words:"true"`
	DexMock            bool          `default:"false" split_words:"true"`
	DexMockRole        string        `default:"Developer" split_words:"true"`
	ArgoCdServer       string        `default:"" split_words:"true"`
	ArgoCdInsecure     bool          `default:"false" split_words:"true"`
	GitWebUrl          string        `default:"" split_words:"true"`
}

Jump to

Keyboard shortcuts

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