Documentation
¶
Index ¶
- Constants
- func NewContainerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewCredentialsServerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDaemonCmd() *cobra.Command
- func NewDeferredHooksCmd(_ *flags.GlobalFlags) *cobra.Command
- func NewPostAttachCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSSHServerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSetupContainerCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewSetupDevsyPlatformAccessCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewVSCodeAsyncCmd() *cobra.Command
- type CredentialsServerCmd
- type DaemonCmd
- type SSHServerCmd
- type SetupDevsyPlatformAccessCmd
- type VSCodeAsyncCmd
Constants ¶
View Source
const ( RootDir = config2.ContainerDataDir DaemonConfigPath = "/var/run/secrets/" + config2.BinaryName + "/daemon_config" )
View Source
const ExitCodeIO int = 64
Variables ¶
This section is empty.
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 NewDeferredHooksCmd ¶
func NewDeferredHooksCmd(_ *flags.GlobalFlags) *cobra.Command
func NewPostAttachCmd ¶
func NewPostAttachCmd(flags *flags.GlobalFlags) *cobra.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
func NewSetupDevsyPlatformAccessCmd ¶
func NewSetupDevsyPlatformAccessCmd(flags *flags.GlobalFlags) *cobra.Command
NewSetupDevsyPlatformAccessCmd creates a new setup-devsy-platform-access command. This agent command injects Devsy Platform configuration from the local machine into the 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 DaemonCmd ¶
type DaemonCmd struct {
Config *agentd.DaemonConfig
}
type SSHServerCmd ¶
type SSHServerCmd struct {
*flags.GlobalFlags
Address string
Workdir string
RemoteUser string
}
SSHServerCmd holds the ssh server cmd flags.
type SetupDevsyPlatformAccessCmd ¶
type SetupDevsyPlatformAccessCmd struct {
*flags.GlobalFlags
}
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.