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

emulator

package
v1.233.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmulatorFlags

func EmulatorFlags() *flags.FlagRegistry

EmulatorFlags returns the registry of flags shared by emulator 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 RegisterEmulatorCompletions

func RegisterEmulatorCompletions(cmd *cobra.Command)

RegisterEmulatorCompletions registers component completion for lifecycle subcommands. The list and ps inventory commands take no component argument.

func WithEmulatorFlags

func WithEmulatorFlags() flags.Option

WithEmulatorFlags returns a flags.Option that adds the emulator flags.

Types

type EmulatorCommandProvider

type EmulatorCommandProvider struct{}

EmulatorCommandProvider implements the CommandProvider interface.

func (*EmulatorCommandProvider) GetAliases

func (c *EmulatorCommandProvider) GetAliases() []internal.CommandAlias

GetAliases returns command aliases.

func (*EmulatorCommandProvider) GetCommand

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

GetCommand returns the emulator command.

func (*EmulatorCommandProvider) GetCompatibilityFlags

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

GetCompatibilityFlags returns compatibility flags for this command.

func (*EmulatorCommandProvider) GetFlagsBuilder

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

GetFlagsBuilder returns the flags builder for this command.

func (*EmulatorCommandProvider) GetGroup

func (c *EmulatorCommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*EmulatorCommandProvider) GetName

func (c *EmulatorCommandProvider) GetName() string

GetName returns the command name.

func (*EmulatorCommandProvider) GetPositionalArgsBuilder

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

GetPositionalArgsBuilder returns the positional args builder for this command.

func (*EmulatorCommandProvider) IsExperimental

func (c *EmulatorCommandProvider) 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