background

package
v0.6.302 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBackground

func NewCmdBackground(t *terminal.Terminal, s BackgroundStore) *cobra.Command

Types

type BackgroundStore

type BackgroundStore interface {
	util.GetWorkspaceByNameOrIDErrStore
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	GetCurrentUser() (*entity.User, error)
	ModifyWorkspace(workspaceID string, options *store.ModifyWorkspaceRequest) (*entity.Workspace, error)
	GetWorkspace(workspaceID string) (*entity.Workspace, error)
	GetCurrentWorkspaceID() (string, error)
	CreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error)
}

type Process

type Process struct {
	ID        int    `json:"id"`
	Command   string `json:"command"`
	LogsDir   string `json:"logsDir"`
	StartTime string `json:"startTime"`
}

type Processes

type Processes struct {
	Processes []Process `json:"processes"`
}

Jump to

Keyboard shortcuts

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