Documentation
¶
Index ¶
- Constants
- func Confirm() bool
- func PrintPlan(actions []Action, warnings []string)
- type Action
- type ActionType
- type HandlerFactory
- type MigrateInstance
- func (m *MigrateInstance) Execute(actions []Action, sourceHome, targetHome string) *Result
- func (m *MigrateInstance) Plan(opts Options, sourceHome, targetHome string) ([]Action, []string, error)
- func (m *MigrateInstance) PrintSummary(result *Result)
- func (m *MigrateInstance) Register(moduleName string, module Operation)
- func (m *MigrateInstance) Run(opts Options) (*Result, error)
- type Operation
- type Options
- type Result
Constants ¶
View Source
const ( ActionCopy = internal.ActionCopy ActionSkip = internal.ActionSkip ActionBackup = internal.ActionBackup ActionConvertConfig = internal.ActionConvertConfig ActionCreateDir = internal.ActionCreateDir ActionMergeConfig = internal.ActionMergeConfig )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionType ¶
type ActionType = internal.ActionType
type HandlerFactory ¶ added in v0.2.0
type HandlerFactory = internal.HandlerFactory
type MigrateInstance ¶ added in v0.2.0
type MigrateInstance struct {
// contains filtered or unexported fields
}
func NewMigrateInstance ¶ added in v0.2.0
func NewMigrateInstance(opts Options) *MigrateInstance
func (*MigrateInstance) Execute ¶ added in v0.2.0
func (m *MigrateInstance) Execute(actions []Action, sourceHome, targetHome string) *Result
func (*MigrateInstance) PrintSummary ¶ added in v0.2.0
func (m *MigrateInstance) PrintSummary(result *Result)
func (*MigrateInstance) Register ¶ added in v0.2.0
func (m *MigrateInstance) Register(moduleName string, module Operation)
Click to show internal directories.
Click to hide internal directories.