config

package
v0.2.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.21

type Config struct {
	AppInfo          model.AppInfo
	GlobalConfig     model.GlobalConfig
	DatasourceConfig model.DatasourceConfig
	UserConfig       model.UserConfig
	AlertingConfig   model.AlertingConfig
}

type ConfigProvider added in v0.2.21

type ConfigProvider struct{}

func (*ConfigProvider) New added in v0.2.21

func (p *ConfigProvider) New(version string) (*Config, error)

TODO: each Config filepath could be parameter.

type IConfigProvider added in v0.2.21

type IConfigProvider interface {
	New(version string) (*Config, error)
}

Jump to

Keyboard shortcuts

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