Documentation ¶
Index ¶
- func Setup() error
- type Workspace
- func (w *Workspace) Create(ctx context.Context, userName values.UserName) (*domain.Workspace, error)
- func (w *Workspace) Recreate(ctx context.Context, workspace *domain.Workspace) (*domain.Workspace, error)
- func (w *Workspace) Start(ctx context.Context, workspace *domain.Workspace) error
- func (w *Workspace) Stop(ctx context.Context, workspace *domain.Workspace) error
- type WorkspaceConnection
- func (wc *WorkspaceConnection) Connect(ctx context.Context, workspace *domain.Workspace) (*domain.WorkspaceConnection, error)
- func (wc *WorkspaceConnection) Disconnect(ctx context.Context, connection *domain.WorkspaceConnection) error
- func (wc *WorkspaceConnection) Resize(ctx context.Context, connection *domain.WorkspaceConnection, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Workspace ¶
type Workspace struct{}
func NewWorkspace ¶
type WorkspaceConnection ¶
type WorkspaceConnection struct{}
func NewWorkspaceConnection ¶
func NewWorkspaceConnection() *WorkspaceConnection
func (*WorkspaceConnection) Connect ¶
func (wc *WorkspaceConnection) Connect(ctx context.Context, workspace *domain.Workspace) (*domain.WorkspaceConnection, error)
func (*WorkspaceConnection) Disconnect ¶
func (wc *WorkspaceConnection) Disconnect(ctx context.Context, connection *domain.WorkspaceConnection) error
func (*WorkspaceConnection) Resize ¶
func (wc *WorkspaceConnection) Resize(ctx context.Context, connection *domain.WorkspaceConnection, window *values.Window) error
Click to show internal directories.
Click to hide internal directories.