Documentation
¶
Overview ¶
Package orphans asks what becomes of the children a removal leaves behind, for clean and prune alike.
Index ¶
Constants ¶
View Source
const ( Reparent = "reparent" Orphan = "orphan" )
Variables ¶
This section is empty.
Functions ¶
func Preset ¶
Preset answers the step from --reparent-children, so the decision is not asked and every reader sees the same answer.
func RecapLine ¶
func RecapLine(params RecapLineParams) string
func Step ¶
func Step(params StepParams) flow.Step
Types ¶
type RecapLineParams ¶
type RecapLineParams struct {
Moves []domain.ReparentResult
Reparent bool
}
type StepParams ¶
type StepParams struct {
Key string
Moves func(flow.Answers) []domain.ReparentResult
}
Click to show internal directories.
Click to hide internal directories.