Documentation ¶
Index ¶
- Variables
- func DecodeOptionsFromEnv(name string, into any) (bool, error)
- func DeleteMachineFolder(context, machineID string) error
- func DeleteWorkspaceFolder(context string, workspaceID string, sshConfigPath string, log log.Logger) error
- func EncodeOptions(options any, name string) map[string]string
- func NewMachineClient(devPodConfig *config.Config, provider *provider.ProviderConfig, ...) (client.MachineClient, error)
- func NewProxyClient(devPodConfig *config.Config, prov *provider.ProviderConfig, ...) (client.ProxyClient, error)
- func NewWorkspaceClient(devPodConfig *config.Config, prov *provider.ProviderConfig, ...) (client.WorkspaceClient, error)
- func RunCommand(ctx context.Context, command types.StrArray, environ []string, stdin io.Reader, ...) error
- func RunCommandWithBinaries(ctx context.Context, name string, command types.StrArray, context string, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DevPodDebug = "DEVPOD_DEBUG" DevPodFlagsUp = "DEVPOD_FLAGS_UP" DevPodFlagsSsh = "DEVPOD_FLAGS_SSH" DevPodFlagsDelete = "DEVPOD_FLAGS_DELETE" DevPodFlagsStatus = "DEVPOD_FLAGS_STATUS" )
Functions ¶
func DecodeOptionsFromEnv ¶ added in v0.2.0
func DeleteMachineFolder ¶
func DeleteWorkspaceFolder ¶
func NewMachineClient ¶
func NewProxyClient ¶ added in v0.2.0
func NewWorkspaceClient ¶
func RunCommand ¶
func RunCommandWithBinaries ¶
func RunCommandWithBinaries(ctx context.Context, name string, command types.StrArray, context string, workspace *provider.Workspace, machine *provider.Machine, options map[string]config.OptionValue, config *provider.ProviderConfig, extraEnv map[string]string, stdin io.Reader, stdout io.Writer, stderr io.Writer, log log.Logger) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.