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

controlplaneruntime

package
v0.4.25 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 34 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, machineExecutors ...machinehttp.Executor) error

Types

type Config

type Config struct {
	ListenAddr                 string
	DatabaseURL                string
	ConnectorEnrollmentEnabled bool
	ConnectorAuthorityTarget   string
	ConnectorListenAddr        string
	ConnectorTLSCertFile       string
	ConnectorTLSKeyFile        string
	ConnectorTLSCAFile         string
	OIDCIssuer                 string
	OIDCAudiences              []string
	TLSCertFile                string
	TLSKeyFile                 string
	TLSClientCAFile            string
	RuntimeAppName             string
	RuntimeEnvironment         string
	RuntimeSecretsEnabled      bool
	RuntimeOpenBaoURL          string
	RuntimeOpenBaoCAFile       string
	RuntimeCredentialsFile     string
	RuntimeTokenFile           string
	RuntimePermissionsFile     string
	RuntimeServiceTokensFile   string
	RuntimeExecutorURL         string
	RuntimeExecutorCAFile      string
	RuntimeExecutorCertFile    string
	RuntimeExecutorKeyFile     string
	RuntimeOperationsDir       string
	RuntimeMetricsTargetsDir   string
	RuntimeDocsListenAddr      string
	RuntimeBuildVersion        string
	RuntimeBuildCommit         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