config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigPath = ".config/mule/config.json"

Variables

This section is empty.

Functions

func GetHomeConfigPath

func GetHomeConfigPath() (string, error)

func LoadConfig

func LoadConfig(path string, l logr.Logger) (*state.AppState, error)

func SaveConfig

func SaveConfig(path string) error

Types

type Config

type Config struct {
	Repositories map[string]*repository.Repository `json:"repositories"`
	Settings     settings.Settings                 `json:"settings"`
}

Jump to

Keyboard shortcuts

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