container

package
v1.235.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerFlags

func ContainerFlags() *flags.FlagRegistry

ContainerFlags returns the registry of flags shared by container subcommands. Runtime selection is via the global `container.runtime.provider` config and the ATMOS_CONTAINER_RUNTIME environment variable, both honored by the runtime detector, so no per-command runtime flag is needed.

func RegisterContainerCompletions

func RegisterContainerCompletions(cmd *cobra.Command)

RegisterContainerCompletions registers completion functions for the container command. Every subcommand takes a component argument.

func WithContainerFlags

func WithContainerFlags() flags.Option

WithContainerFlags returns a flags.Option that adds the container flags.

Types

type ContainerCommandProvider

type ContainerCommandProvider struct{}

ContainerCommandProvider implements the CommandProvider interface.

func (*ContainerCommandProvider) GetAliases

GetAliases returns command aliases.

func (*ContainerCommandProvider) GetCommand

func (c *ContainerCommandProvider) GetCommand() *cobra.Command

GetCommand returns the container command.

func (*ContainerCommandProvider) GetCompatibilityFlags

func (c *ContainerCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

GetCompatibilityFlags returns compatibility flags for this command.

func (*ContainerCommandProvider) GetFlagsBuilder

func (c *ContainerCommandProvider) GetFlagsBuilder() flags.Builder

GetFlagsBuilder returns the flags builder for this command.

func (*ContainerCommandProvider) GetGroup

func (c *ContainerCommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*ContainerCommandProvider) GetName

func (c *ContainerCommandProvider) GetName() string

GetName returns the command name.

func (*ContainerCommandProvider) GetPositionalArgsBuilder

func (c *ContainerCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

GetPositionalArgsBuilder returns the positional args builder for this command.

func (*ContainerCommandProvider) IsExperimental

func (c *ContainerCommandProvider) IsExperimental() bool

IsExperimental returns whether this command is experimental.

Jump to

Keyboard shortcuts

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