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

controlplaneruntime

package
v0.4.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingDatabaseURL = errors.New("control-plane database URL is required")
	ErrMissingTLSFiles    = errors.New("control-plane TLS certificate and key are required")
)

Functions

func Run

func Run(ctx context.Context, cfg Config, store application.Store) error

Types

type Config

type Config struct {
	ListenAddr               string
	DatabaseURL              string
	OIDCIssuer               string
	OIDCAudiences            []string
	TLSCertFile              string
	TLSKeyFile               string
	TLSClientCAFile          string
	RuntimeAppName           string
	RuntimeEnvironment       string
	RuntimeSecretsEnabled    bool
	RuntimeOpenBaoURL        string
	RuntimeCredentialsFile   string
	RuntimeTokenFile         string
	RuntimePermissionsFile   string
	RuntimeServiceTokensFile string
	RuntimeExecutorURL       string
	RuntimeExecutorCAFile    string
	RuntimeExecutorCertFile  string
	RuntimeExecutorKeyFile   string
	RuntimeOperationsDir     string
	RuntimeMetricsTargetsDir string
	RuntimeDocsListenAddr    string
	ShutdownTimeout          time.Duration
}

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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