parser

package
v1.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCommons

func EnsureCommons(cfg *config.Config)

EnsureCommons copies applicable parts of the OpenCloud config into the commons part

func EnsureDefaults

func EnsureDefaults(cfg *config.Config)

EnsureDefaults ensures that all pointers in the OpenCloud config (not the services configs) are initialized

func ParseConfig

func ParseConfig(cfg *config.Config, skipValidate bool) error

ParseConfig loads the opencloud configuration and copies applicable parts into the commons part, from where the services can copy it into their own config

func Validate

func Validate(cfg *config.Config) error

Validate checks that all required configs are set. If a required config value is missing an error will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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