migrate

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(params Options) error

Types

type Kind

type Kind int
const (
	KindSystem Kind = iota
	KindStack
	KindLibrary
)

func (Kind) String

func (k Kind) String() string

type MigrateStatus

type MigrateStatus int
const (
	MigrateStatusUnknown MigrateStatus = iota
	MigrateStatusError
	MigrateStatusReview
	MigrateStatusSuccess
)

func (MigrateStatus) String

func (s MigrateStatus) String() string

type Options

type Options struct {
	Noninteractive    bool
	Token             string
	URL               string
	Headers           []string
	SystemId          string
	LimitStacks       bool
	Prune             bool
	Datasources       bool
	FilesPath         string
	EmbedFiles        bool
	Logging           logging.Config
	Output            io.Writer
	OutputDir         string
	ObjectStorage     string
	FilesystemRootDir string
	S3BucketName      string
	S3BucketRegion    string
}

Jump to

Keyboard shortcuts

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