packagecmd

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package packagecmd provides the "package" command for packaging artifacts into the local catalog.

Index

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.

func CommandPackagePlugin

func CommandPackagePlugin(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandPackagePlugin creates the package plugin command.

func CommandPackageSolution

func CommandPackageSolution(cliParams *settings.Run, ioStreams *terminal.IOStreams, _ string) *cobra.Command

CommandPackageSolution creates the package solution command.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL