migrate

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChecksumMigration

type ChecksumMigration struct{}

func (ChecksumMigration) Apply

func (ChecksumMigration) Apply(root *yaml.Node) (bool, error)

func (ChecksumMigration) Name

func (ChecksumMigration) Name() string

type Migration

type Migration interface {
	Name() string
	Apply(root *yaml.Node) (bool, error)
}

func DefaultMigrations

func DefaultMigrations() []Migration

type Result

type Result struct {
	ChangedFiles []string
	RemoteMixins []string
	Applied      []string
	Changed      bool
	DryRun       bool
	Previews     []string
}

func Fix

func Fix(configName string, configDir string, dryRun bool, out io.Writer) (Result, error)

Jump to

Keyboard shortcuts

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