settingsadmin

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnavailable = errors.New("runtime settings are not configured")

Functions

func BuildCapabilities added in v0.7.1

func BuildCapabilities(base *config.Config, runtime *app.RuntimeSettings) *app.ControlPlaneCapabilities

func ValidateRuntimeSettings added in v0.7.1

func ValidateRuntimeSettings(base *config.Config, runtime *app.RuntimeSettings) error

func ValidateRuntimeSettingsMutation added in v0.7.1

func ValidateRuntimeSettingsMutation(base *config.Config, current, next *app.RuntimeSettings) error

Types

type DependencyProvider

type DependencyProvider struct {
	SettingsStore   func() app.SettingsStore
	BootstrapConfig func() *config.Config
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(provider DependencyProvider) *Service

func (*Service) Capabilities added in v0.7.1

func (s *Service) Capabilities(ctx context.Context) (*app.ControlPlaneCapabilities, error)

func (*Service) Get

func (s *Service) Get(ctx context.Context) (*app.RuntimeSettings, error)

func (*Service) Update

type ValidationError

type ValidationError struct {
	// contains filtered or unexported fields
}

func (ValidationError) Error

func (e ValidationError) Error() string

Jump to

Keyboard shortcuts

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