Documentation
¶
Overview ¶
Package bundle provides CLI commands for inspecting, verifying, and extracting solution bundles built by 'scafctl build solution'.
Index ¶
- func CommandBundle(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandDiff(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandExtract(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandVerify(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- type DiffOptions
- type DiffResult
- type DiffSets
- type ExtractOptions
- type FileDiffEntry
- type FilesDiff
- type PluginDiffEntry
- type PluginsDiff
- type SolutionDiff
- type VendoredDiff
- type VendoredEntry
- type VendoredUpgrade
- type VerifyOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandBundle ¶
func CommandBundle(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
CommandBundle creates the bundle command group.
func CommandDiff ¶
CommandDiff creates the bundle diff command.
Types ¶
type DiffOptions ¶
type DiffOptions struct {
RefA string
RefB string
FilesOnly bool
SolutionOnly bool
Ignore []string
CliParams *settings.Run
IOStreams *terminal.IOStreams
flags.KvxOutputFlags
}
DiffOptions holds options for the bundle diff command.
type DiffResult ¶
type DiffResult = bundler.DiffResult
Type aliases pointing to the domain types in the bundler package.
type ExtractOptions ¶
type ExtractOptions struct {
BinaryName string
ArtifactRef string
OutputDir string
Resolvers []string
Actions []string
Include []string
ListOnly bool
Flatten bool
CliParams *settings.Run
IOStreams *terminal.IOStreams
}
ExtractOptions holds options for the bundle extract command.
type FileDiffEntry ¶
type FileDiffEntry = bundler.FileDiffEntry
Type aliases pointing to the domain types in the bundler package.
type PluginDiffEntry ¶
type PluginDiffEntry = bundler.PluginDiffEntry
Type aliases pointing to the domain types in the bundler package.
type PluginsDiff ¶
type PluginsDiff = bundler.PluginsDiff
Type aliases pointing to the domain types in the bundler package.
type SolutionDiff ¶
type SolutionDiff = bundler.SolutionDiff
Type aliases pointing to the domain types in the bundler package.
type VendoredDiff ¶
type VendoredDiff = bundler.VendoredDiff
Type aliases pointing to the domain types in the bundler package.
type VendoredEntry ¶
type VendoredEntry = bundler.VendoredEntry
Type aliases pointing to the domain types in the bundler package.
type VendoredUpgrade ¶
type VendoredUpgrade = bundler.VendoredUpgrade
Type aliases pointing to the domain types in the bundler package.