workspace

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewCreateCommand creates a new command for creating workspaces.

func NewListCommand

func NewListCommand(commandName string, c client.API, w io.Writer) *cobra.Command

NewListCommand creates a new command to deal with workspaces

func NewWorkspaceCommand

func NewWorkspaceCommand(client client.API, w io.Writer) *cobra.Command

NewWorkspaceCommand creates a new `workspace` command

Types

type CreateOptions

type CreateOptions struct {
	Args  []string
	Title string
}

CreateOptions are the options to be able to create a workspace.

type WorkspaceListOptions

type WorkspaceListOptions struct {
	Args   []string
	Limit  int
	Offset int
}

WorkspaceListOptions is the options for the listing workspaces command.

Jump to

Keyboard shortcuts

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