configurator

package
v1.175.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnmarshalError in config.
	ErrUnmarshalError = errors.New("unmarshal issue")

	// ErrMarshalError in config.
	ErrMarshalError = errors.New("marshal 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, mm *marshaller.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