Help us shape the future of Go! Take the 2026 Go Developer Survey

watch

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewCmd creates a new cobra command.

func NewWorkspacesCmd

func NewWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewWorkspacesCmd creates a new command.

Types

type ProWorkspaceInstance

type ProWorkspaceInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`

	Spec   managementv1.DevsyWorkspaceInstanceSpec `json:"spec"`
	Status ProWorkspaceInstanceStatus              `json:"status"`
}

type ProWorkspaceInstanceStatus

type ProWorkspaceInstanceStatus struct {
	managementv1.DevsyWorkspaceInstanceStatus `json:",inline"`

	Source *provider.WorkspaceSource    `json:"source,omitempty"`
	IDE    *provider.WorkspaceIDEConfig `json:"ide,omitempty"`
}

type WorkspacesCmd

type WorkspacesCmd struct {
	*flags.GlobalFlags
}

WorkspacesCmd holds the cmd flags.

func (*WorkspacesCmd) Run

func (cmd *WorkspacesCmd) Run(
	ctx context.Context,
	stdin io.Reader,
	stdout io.Writer,
	stderr io.Writer,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL