Help us shape the future of Go! Take the 2026 Go Developer Survey

feature

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFeatureCmd

func NewFeatureCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewGenerateDocsCmd

func NewGenerateDocsCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewInfoCmd

func NewInfoCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewInfoManifestCmd

func NewInfoManifestCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewInfoTagsCmd

func NewInfoTagsCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewOutdatedCmd

func NewOutdatedCmd(f *flags.GlobalFlags) *cobra.Command

NewOutdatedCmd creates a new outdated command.

func NewPackageCmd

func NewPackageCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewPublishCmd

func NewPublishCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewResolveDepsCmd

func NewResolveDepsCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewTestCmd

func NewTestCmd(globalFlags *flags.GlobalFlags) *cobra.Command

func NewUpgradeCmd

func NewUpgradeCmd(f *flags.GlobalFlags) *cobra.Command

NewUpgradeCmd creates a new upgrade command.

Types

type GenerateDocsCmd

type GenerateDocsCmd struct {
	*flags.GlobalFlags

	ProjectFolder string
	OutputFolder  string
	Namespace     string
}

func (*GenerateDocsCmd) Run

func (cmd *GenerateDocsCmd) Run() error

type InfoCmd

type InfoCmd struct {
	*flags.GlobalFlags

	ShowTags         bool
	ShowDependencies bool
}

func (*InfoCmd) Run

func (cmd *InfoCmd) Run(featureID string) error

type InfoManifestCmd

type InfoManifestCmd struct {
	*flags.GlobalFlags
}

func (*InfoManifestCmd) Run

func (cmd *InfoManifestCmd) Run(featureID string) error

type InfoTagsCmd

type InfoTagsCmd struct {
	*flags.GlobalFlags
}

func (*InfoTagsCmd) Run

func (cmd *InfoTagsCmd) Run(featureID string) error

type OutdatedCmd

type OutdatedCmd struct {
	*flags.GlobalFlags

	WorkspaceFolder string
	Config          string
}

OutdatedCmd checks for newer versions of installed devcontainer features.

func (*OutdatedCmd) Run

func (cmd *OutdatedCmd) Run(_ context.Context) error

Run runs the command logic.

type PackageCmd

type PackageCmd struct {
	*flags.GlobalFlags

	Target                 string
	OutputFolder           string
	ForceCleanOutputFolder bool
}

func (*PackageCmd) Run

func (cmd *PackageCmd) Run() error

type PublishFlags

type PublishFlags struct {
	Target    string
	Registry  string
	Namespace string
}

type ResolveDepsCmd

type ResolveDepsCmd struct {
	*flags.GlobalFlags

	WorkspaceFolder string
	Config          string
}

func (*ResolveDepsCmd) Run

func (cmd *ResolveDepsCmd) Run() error

type TestCmd

type TestCmd struct {
	*flags.GlobalFlags

	ProjectFolder          string
	Features               string
	BaseImage              string
	RemoteUser             string
	SkipScenarios          bool
	Quiet                  bool
	PreserveTestContainers bool
}

func (*TestCmd) Run

func (cmd *TestCmd) Run() error

type UpgradeCmd

type UpgradeCmd struct {
	*flags.GlobalFlags

	WorkspaceFolder string
	Config          string
	DryRun          bool
}

UpgradeCmd upgrades devcontainer feature versions to the latest available.

func (*UpgradeCmd) Run

func (cmd *UpgradeCmd) Run(_ context.Context, targets []string) error

Run runs the command logic.

Jump to

Keyboard shortcuts

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