Documentation ¶
Index ¶
- Variables
- func DialWorkspace(baseClient client.Client, workspace *managementv1.DevPodWorkspaceInstance, ...) (*websocket.Conn, error)
- func FindWorkspace(ctx context.Context, baseClient client.Client, uid, projectName string) (*managementv1.DevPodWorkspaceInstance, error)
- func FindWorkspaceByName(ctx context.Context, baseClient client.Client, name, projectName string) (*managementv1.DevPodWorkspaceInstance, error)
- func OptionsFromEnv(name string) url.Values
- type WorkspaceInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LoftWorkspaceID = "WORKSPACE_ID" LoftWorkspaceUID = "WORKSPACE_UID" LoftWorkspaceContext = "WORKSPACE_CONTEXT" LoftWorkspaceProvider = "WORKSPACE_PROVIDER" LoftProject = "LOFT_PROJECT" LoftTemplateOption = "LOFT_TEMPLATE" LoftTemplateVersionOption = "LOFT_TEMPLATE_VERSION" )
Functions ¶
func DialWorkspace ¶
func DialWorkspace(baseClient client.Client, workspace *managementv1.DevPodWorkspaceInstance, subResource string, values url.Values) (*websocket.Conn, error)
func FindWorkspace ¶
func FindWorkspace(ctx context.Context, baseClient client.Client, uid, projectName string) (*managementv1.DevPodWorkspaceInstance, error)
func FindWorkspaceByName ¶
func FindWorkspaceByName(ctx context.Context, baseClient client.Client, name, projectName string) (*managementv1.DevPodWorkspaceInstance, error)
func OptionsFromEnv ¶
Types ¶
type WorkspaceInfo ¶
func GetWorkspaceInfoFromEnv ¶
func GetWorkspaceInfoFromEnv() (*WorkspaceInfo, error)
Click to show internal directories.
Click to hide internal directories.