Documentation ¶
Index ¶
- Constants
- 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 NewDeleteCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewProProviderCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewRebuildCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewSshCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewStatusCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewStopCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewUpCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func OptionsFromEnv(name string) url.Values
- type DeleteCmd
- type RebuildCmd
- type SshCmd
- type StatusCmd
- type StopCmd
- type UpCmd
- type WorkspaceInfo
Constants ¶
View Source
const AllWorkspaces = "all"
View Source
const ProviderBinaryEnv = "PRO_PROVIDER"
Variables ¶
This section is empty.
Functions ¶
func DialWorkspace ¶
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 NewDeleteCmd ¶
func NewDeleteCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new command
func NewProProviderCmd ¶
func NewProProviderCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewProProviderCmd creates a new cobra command
func NewRebuildCmd ¶
func NewRebuildCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewRebuildCmd creates a new command
func NewSshCmd ¶
func NewSshCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewSshCmd creates a new command
func NewStatusCmd ¶
func NewStatusCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewStatusCmd creates a new command
func NewStopCmd ¶
func NewStopCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewStopCmd creates a new command
func NewUpCmd ¶
func NewUpCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewUpCmd creates a new command
func OptionsFromEnv ¶
Types ¶
type DeleteCmd ¶
type DeleteCmd struct { *flags.GlobalFlags Log log.Logger }
DeleteCmd holds the cmd flags
type RebuildCmd ¶
type RebuildCmd struct { *flags.GlobalFlags Log log.Logger Project string }
RebuildCmd holds the cmd flags
type StatusCmd ¶
type StatusCmd struct { *flags.GlobalFlags Log log.Logger }
StatusCmd holds the cmd flags
type StopCmd ¶
type StopCmd struct { *flags.GlobalFlags Log log.Logger }
StopCmd holds the cmd flags
type UpCmd ¶
type UpCmd struct { *flags.GlobalFlags Log log.Logger // contains filtered or unexported fields }
UpCmd holds the cmd flags:
type WorkspaceInfo ¶
func GetWorkspaceInfoFromEnv ¶
func GetWorkspaceInfoFromEnv() (*WorkspaceInfo, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.