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

controlplaneruntime

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 21 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
	RuntimeOpenBaoURL      string
	RuntimeCredentialsFile string
	RuntimeTokenFile       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