Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + type Commands struct + Create CreateHandler + Delete DeleteHandler + Switch SwitchHandler + Update UpdateHandler + func NewCommands(repo domain.Repository, factory *domain.Factory, runtime domain.Runtime, ...) *Commands + type CreateCommand struct + Image string + ResourceSize notebook.ResourceSize + WorkspaceID string + type CreateHandler interface + Handle func(context.Context, *CreateCommand) (string, error) + func NewCreateHandler(svc domain.Service, factory *domain.Factory, ...) CreateHandler + type DeleteCommand struct + ID string + WorkspaceID string + type DeleteHandler interface + Handle func(context.Context, *DeleteCommand) error + func NewDeleteHandler(svc domain.Service) DeleteHandler + type SwitchCommand struct + ID string + OnOff bool + WorkspaceID string + type SwitchHandler interface + Handle func(context.Context, *SwitchCommand) error + func NewSwitchHandler(svc domain.Service) SwitchHandler + type UpdateCommand struct + ID string + Image *string + ResourceSize *notebook.ResourceSize + WorkspaceID string + type UpdateHandler interface + Handle func(context.Context, *UpdateCommand) error + func NewUpdateHandler(svc domain.Service) UpdateHandler