config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(path string) (*config.Config, error)

Types

type Loader

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

func NewLoader

func NewLoader() *Loader

func (*Loader) Load

func (l *Loader) Load(path string) (*config.Config, error)

func (*Loader) LoadFromPath

func (l *Loader) LoadFromPath() (*config.Config, error)

func (*Loader) LoadFromPathOrDefault

func (l *Loader) LoadFromPathOrDefault() *config.Config

func (*Loader) SetExpandEnv

func (l *Loader) SetExpandEnv(expand bool)

type Validator

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

func NewValidator

func NewValidator() *Validator

func (*Validator) SetCheckPaths

func (v *Validator) SetCheckPaths(check bool)

func (*Validator) Validate

func (v *Validator) Validate(cfg *config.Config) error

func (*Validator) ValidateStress added in v1.0.0

func (v *Validator) ValidateStress(cfg *config.Config) error

ValidateStress validates only the stress-config block, so `gtool stress` does not require the component-test settings (test-launcher, etc.).

Jump to

Keyboard shortcuts

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