restore

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommand

func BuildCommand() *cli.Command

func CheckFlags

func CheckFlags(f *Flags) error

func GetLogger

func GetLogger() *logrus.Logger

func ParseCheckpointFile

func ParseCheckpointFile(f *Flags) (*checkpoint.State, error)

Types

type Context

type Context struct {
	*cli.Context
	Flags           *Flags
	Hooks           apply.ApplyHooks
	MigState        *types.MigState
	MigStateManager state.Manager
}

func (*Context) ApplyMigConfig

func (c *Context) ApplyMigConfig() error

func (*Context) ApplyMigMode

func (c *Context) ApplyMigMode() error

func (*Context) AssertMigConfig

func (c *Context) AssertMigConfig() error

func (*Context) AssertMigMode

func (c *Context) AssertMigMode() error

type Flags

type Flags struct {
	CheckpointFile string
	HooksFile      string
	ModeOnly       bool
}

Jump to

Keyboard shortcuts

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