Documentation
¶
Index ¶
- Constants
- Variables
- func NewContainerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewCredentialsServerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDaemonCmd() *cobra.Command
- func NewOpenVSCodeAsyncCmd() *cobra.Command
- func NewSSHServerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSetupContainerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSetupLoftPlatformAccessCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewVSCodeAsyncCmd() *cobra.Command
- type CredentialsServerCmd
- type DaemonCmd
- type OpenVSCodeAsyncCmd
- type SSHServerCmd
- type SetupContainerCmd
- type SetupLoftPlatformAccessCmd
- type VSCodeAsyncCmd
Constants ¶
View Source
const BaseLogDir = "/var/devpod"
View Source
const ExitCodeIO int = 64
View Source
const (
RootDir = "/var/devpod"
)
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 ¶
NewDaemonCmd creates the merged daemon command.
func NewOpenVSCodeAsyncCmd ¶ added in v0.0.3
NewOpenVSCodeAsyncCmd creates a new command
func NewSSHServerCmd ¶
func NewSSHServerCmd(flags *flags.GlobalFlags) *cobra.Command
NewSSHServerCmd creates a new ssh 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 ¶
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
type OpenVSCodeAsyncCmd ¶ added in v0.0.3
type OpenVSCodeAsyncCmd struct {
*flags.GlobalFlags
SetupInfo string
}
OpenVSCodeAsyncCmd holds the cmd flags
type SSHServerCmd ¶
type SSHServerCmd struct {
*flags.GlobalFlags
Address string
Workdir string
RemoteUser string
}
SSHServerCmd holds the ssh server cmd flags
type SetupContainerCmd ¶
type SetupContainerCmd struct {
*flags.GlobalFlags
ChownWorkspace bool
StreamMounts bool
InjectGitCredentials bool
ContainerWorkspaceInfo string
SetupInfo string
AccessKey string
PlatformHost string
WorkspaceHost string
}
SetupContainerCmd holds the cmd flags
type SetupLoftPlatformAccessCmd ¶ added in v0.5.20
type SetupLoftPlatformAccessCmd struct {
*flags.GlobalFlags
Context string
Provider string
Port int
}
type VSCodeAsyncCmd ¶
type VSCodeAsyncCmd struct {
*flags.GlobalFlags
SetupInfo string
Flavor string
}
VSCodeAsyncCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.