configops

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMapValueByPath

func GetMapValueByPath(root map[string]interface{}, path string) (interface{}, bool)

func LoadConfigAsMap

func LoadConfigAsMap(path string) (map[string]interface{}, error)

func NormalizeConfigPath

func NormalizeConfigPath(path string) string

func ParseConfigValue

func ParseConfigValue(raw string) interface{}

func RollbackConfigFromBackup

func RollbackConfigFromBackup(configPath, backupPath string) error

func SetMapValueByPath

func SetMapValueByPath(root map[string]interface{}, path string, value interface{}) error

func TriggerGatewayReload

func TriggerGatewayReload(configPath string, notRunningErr error) (bool, error)

func WriteConfigAtomicWithBackup

func WriteConfigAtomicWithBackup(configPath string, data []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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