configurator

package
v1.260.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDecodeError in config.
	ErrDecodeError = errors.New("decode issue")

	// ErrEncodeError in config.
	ErrEncodeError = errors.New("encode issue")

	// ErrTraverseError in config.
	ErrTraverseError = errors.New("traverse issue")
)

Functions

This section is empty.

Types

type Configurator

type Configurator interface {
	GetConfig(ctx context.Context, app, ver, env, continent, country, cmd, kind string) ([]byte, error)
}

Configurator for configurator.

type Transformer added in v1.38.0

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

Transformer for config.

func NewTransformer added in v1.38.0

func NewTransformer(pt *provider.Transformer, enc *encoding.Map) *Transformer

NewTransformer for config.

func (*Transformer) Transform added in v1.38.0

func (t *Transformer) Transform(ctx context.Context, kind string, data []byte) ([]byte, error)

Transform config.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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