Versions in this module Expand all Collapse all v0 v0.1.2 Jan 31, 2025 Changes in this version + const AppConfig + const AppConfigType + const CMTConfig + const ClientConfig + const ClientConfigType + var Migrations = MigrationMap + func CheckValid(fileName string, data []byte) error + func LoadConfig(path string) (*tomledit.Document, error) + func LoadLocalConfig(name, configType string) (*tomledit.Document, error) + func MatchKeys(lhs, rhs *tomledit.Document) map[string]string + func NoPlan(from *tomledit.Document, to, planType string) (transform.Plan, *tomledit.Document) + func PlanBuilder(from *tomledit.Document, to, planType string, loadFn loadDestConfigFile) (transform.Plan, *tomledit.Document) + func PrintDiff(w io.Writer, diffs []Diff) + func Upgrade(ctx context.Context, plan transform.Plan, doc *tomledit.Document, ...) error + func V2PlanBuilder(from *tomledit.Document, to, planType string) (transform.Plan, *tomledit.Document) + func WithLogWriter(ctx context.Context, w io.Writer) context.Context + type Diff struct + Deleted bool + KV KV + Type DiffType + func DiffKeys(lhs, rhs *tomledit.Document) []Diff + func DiffValues(lhs, rhs *tomledit.Document) []Diff + type DiffType string + const Mapping + const Section + type KV struct + Block []string + Key string + Value string + type MigrationMap map[string]func(from *tomledit.Document, to, planType string) (transform.Plan, *tomledit.Document)