Documentation
¶
Index ¶
- Variables
- func DecodeOptionsFromEnv(name string, into any) (bool, error)
- func DecodePlatformOptionsFromEnv(into *devpod.PlatformOptions) error
- func DeleteMachineFolder(context, machineID string) error
- func DeleteWorkspaceFolder(params DeleteWorkspaceFolderParams, 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(opts RunCommandOptions) error
- func RunCommandWithBinaries(opts CommandOptions) error
- type CommandOptions
- type DeleteWorkspaceFolderParams
- type RunCommandOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DevPodDebug = "DEVPOD_DEBUG" DevPodPlatformOptions = "DEVPOD_PLATFORM_OPTIONS" DevPodFlagsUp = "DEVPOD_FLAGS_UP" DevPodFlagsSsh = "DEVPOD_FLAGS_SSH" DevPodFlagsDelete = "DEVPOD_FLAGS_DELETE" DevPodFlagsStatus = "DEVPOD_FLAGS_STATUS" )
Functions ¶
func DecodePlatformOptionsFromEnv ¶
func DecodePlatformOptionsFromEnv(into *devpod.PlatformOptions) error
func DeleteMachineFolder ¶
func DeleteWorkspaceFolder ¶
func DeleteWorkspaceFolder(params DeleteWorkspaceFolderParams, log log.Logger) error
func NewMachineClient ¶
func NewProxyClient ¶
func NewWorkspaceClient ¶
func RunCommand ¶
func RunCommand(opts RunCommandOptions) error
func RunCommandWithBinaries ¶
func RunCommandWithBinaries(opts CommandOptions) error
Types ¶
type CommandOptions ¶ added in v0.9.8
type CommandOptions struct {
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
}
type DeleteWorkspaceFolderParams ¶ added in v0.9.5
Click to show internal directories.
Click to hide internal directories.