Documentation ¶
Overview ¶
Package render implements the template rendering related subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { cli.BaseCommand // contains filtered or unexported fields }
Command implements cli.Command for template upgrades.
type Flags ¶
type Flags struct { Location string // A list of files that were... // - changed in place by a previous render operation... // - then an upgrade operation was attempted, which attempted to undo the // change by applying the reversal patch in the manifest... // - but the patch failed to apply cleanly... // - and the user was asked to manually resolve the conflict by manually // applying the .rej rejected patch file... // - which the user did, and removed the patch file... // - which means that we can resume the upgrade operation, without needing // to patch these files, because they've already been patched. // // So basically it's a set of included-from-destination files that will be // skipped when doing the phase of the upgrade operation that tries to // reverse changes that were previously made to modifed-in-place files. AlreadyResolved []string // See common/flags.DebugScratchContents(). DebugScratchContents bool // See common/flags.DebugStepDiffs(). DebugStepDiffs bool // See common/flags.GitProtocol(). GitProtocol string // See common/flags.Inputs(). Inputs map[string]string // See common/flags.InputFiles(). InputFiles []string // See common/flags.KeepTempDirs(). KeepTempDirs bool // The manifest to start with, when upgrading multiple manifests. This is // used when a previous upgrade operation required manual intervention, and // the manual intervention is done, and the user wants to resume. // TODO(upgrade): implement this feature. ResumeFrom string // See common/flags.Prompt(). Prompt bool // See common/flags.SkipInputValidation(). SkipInputValidation bool Verbose bool // The template version to upgrade to. If not specified, the underlying // upgrade library will use the upgrade track specified in the manifest. Version string }
Click to show internal directories.
Click to hide internal directories.