configs

package
v0.0.0-...-65a2a9e Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigsManager

type ConfigsManager struct {
	managers.Manager
	ConfigProviders map[string]config.IConfigProvider
	Precedence      []string
}

func (*ConfigsManager) Delete

func (s *ConfigsManager) Delete(ctx context.Context, object string, field string) error

func (*ConfigsManager) DeleteObject

func (s *ConfigsManager) DeleteObject(ctx context.Context, object string) error

func (*ConfigsManager) Get

func (s *ConfigsManager) Get(ctx context.Context, object string, field string, overlays []string, localContext interface{}) (interface{}, error)

func (*ConfigsManager) GetObject

func (s *ConfigsManager) GetObject(ctx context.Context, object string, overlays []string, localContext interface{}) (map[string]interface{}, error)

func (*ConfigsManager) Init

func (*ConfigsManager) Set

func (s *ConfigsManager) Set(ctx context.Context, object string, field string, value interface{}) error

func (*ConfigsManager) SetObject

func (s *ConfigsManager) SetObject(ctx context.Context, object string, values map[string]interface{}) error

Jump to

Keyboard shortcuts

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