Documentation
¶
Overview ¶
Package packagecmd provides the "package" command for packaging artifacts into the local catalog.
Index ¶
- func CommandPackage(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandPackagePlugin(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- func CommandPackageSolution(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command
- type PluginOptions
- type SolutionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandPackage ¶
func CommandPackage(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
CommandPackage creates the package command group.
Types ¶
type PluginOptions ¶
type PluginOptions struct {
Name string
Kind string // "provider" or "auth-handler"
Version string
Platforms []string // e.g. ["linux/amd64=./bin/linux-amd64/my-plugin", "darwin/arm64=./bin/darwin-arm64/my-plugin"]
Force bool
CliParams *settings.Run
IOStreams *terminal.IOStreams
}
PluginOptions holds options for the package plugin command.
type SolutionOptions ¶
type SolutionOptions struct {
File string
Name string
Version string
Tag string
Force bool
NoBundle bool
NoVendor bool
NoCache bool
BundleMaxSize string
DryRun bool
Dedupe bool
DedupeThreshold string
SkipLint bool
SkipTests bool
IgnorePreflight bool
AllowDevVersion bool
AllowDirty bool
NoGitMetadata bool
BaseDir string
Bump string
Strict bool
NoVerify bool
CliParams *settings.Run
IOStreams *terminal.IOStreams
// contains filtered or unexported fields
}
SolutionOptions holds options for the package solution command.
Click to show internal directories.
Click to hide internal directories.