confmap

package
v1.300050.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyDelimiter = otelconfmap.KeyDelimiter
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteLoader added in v1.300048.1

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

func NewByteLoader added in v1.300048.1

func NewByteLoader(id string, content []byte) *ByteLoader

func (*ByteLoader) Load added in v1.300048.1

func (b *ByteLoader) Load() (*Conf, error)

type Conf

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

func New

func New() *Conf

func NewFromStringMap

func NewFromStringMap(data map[string]any) *Conf

func (*Conf) Merge

func (c *Conf) Merge(in *Conf) error

func (*Conf) ToStringMap

func (c *Conf) ToStringMap() map[string]any

type FileLoader added in v1.300048.1

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

func NewFileLoader added in v1.300048.1

func NewFileLoader(path string) *FileLoader

func (*FileLoader) Load added in v1.300048.1

func (f *FileLoader) Load() (*Conf, error)

type Loader added in v1.300048.1

type Loader interface {
	Load() (*Conf, error)
}

type MergeConflictError

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

func (*MergeConflictError) Error

func (e *MergeConflictError) Error() string

Jump to

Keyboard shortcuts

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