container

package
v0.5.20-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MPL-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const ExitCodeIO int = 64

Variables

View Source
var DockerlessImageConfigOutput = "/.dockerless/image.json"

Functions

func NewContainerCmd

func NewContainerCmd(flags *flags.GlobalFlags) *cobra.Command

NewContainerCmd returns a new command

func NewCredentialsServerCmd

func NewCredentialsServerCmd(flags *flags.GlobalFlags) *cobra.Command

NewCredentialsServerCmd creates a new command

func NewDaemonCmd

func NewDaemonCmd() *cobra.Command

NewDaemonCmd creates a new command

func NewOpenVSCodeAsyncCmd added in v0.0.3

func NewOpenVSCodeAsyncCmd() *cobra.Command

NewOpenVSCodeAsyncCmd creates a new command

func NewSetupContainerCmd

func NewSetupContainerCmd(flags *flags.GlobalFlags) *cobra.Command

NewSetupContainerCmd creates a new command

func NewSetupLoftPlatformAccessCmd added in v0.5.20

func NewSetupLoftPlatformAccessCmd(flags *flags.GlobalFlags) *cobra.Command

NewSetupLoftPlatformAccessCmd creates a new setup-loft-platform-access command This agent command can be used to inject loft platform configuration from local machine to workspace.

func NewVSCodeAsyncCmd

func NewVSCodeAsyncCmd() *cobra.Command

NewVSCodeAsyncCmd creates a new command

Types

type CredentialsServerCmd

type CredentialsServerCmd struct {
	*flags.GlobalFlags

	User string

	ConfigureGitHelper    bool
	ConfigureDockerHelper bool

	ForwardPorts      bool
	GitUserSigningKey string
}

CredentialsServerCmd holds the cmd flags

func (*CredentialsServerCmd) Run

func (cmd *CredentialsServerCmd) Run(ctx context.Context, _ []string) error

Run runs the command logic

type DaemonCmd

type DaemonCmd struct {
	Timeout string
}

DaemonCmd holds the cmd flags

func (*DaemonCmd) Run

func (cmd *DaemonCmd) Run(_ *cobra.Command, _ []string) error

Run runs the command logic

type OpenVSCodeAsyncCmd added in v0.0.3

type OpenVSCodeAsyncCmd struct {
	*flags.GlobalFlags

	SetupInfo string
}

OpenVSCodeAsyncCmd holds the cmd flags

func (*OpenVSCodeAsyncCmd) Run added in v0.0.3

func (cmd *OpenVSCodeAsyncCmd) Run(_ *cobra.Command, _ []string) error

Run runs the command logic

type SetupContainerCmd

type SetupContainerCmd struct {
	*flags.GlobalFlags

	ChownWorkspace         bool
	StreamMounts           bool
	InjectGitCredentials   bool
	ContainerWorkspaceInfo string
	SetupInfo              string
}

SetupContainerCmd holds the cmd flags

func (*SetupContainerCmd) Run

func (cmd *SetupContainerCmd) Run(ctx context.Context) error

Run runs the command logic

type SetupLoftPlatformAccessCmd added in v0.5.20

type SetupLoftPlatformAccessCmd struct {
	*flags.GlobalFlags

	Context  string
	Provider string
	Port     int
}

func (*SetupLoftPlatformAccessCmd) Run added in v0.5.20

Run executes main command logic. It fetches Loft Platform credentials from credentials server and sets it up inside the workspace.

type VSCodeAsyncCmd

type VSCodeAsyncCmd struct {
	*flags.GlobalFlags

	SetupInfo      string
	ReleaseChannel string
}

VSCodeAsyncCmd holds the cmd flags

func (*VSCodeAsyncCmd) Run

func (cmd *VSCodeAsyncCmd) Run(_ *cobra.Command, _ []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