tasks

package
v0.6.298 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConfigure

func NewCmdConfigure(_ *terminal.Terminal, store TaskStore) *cobra.Command

func NewCmdRun

func NewCmdRun(_ *terminal.Terminal, _ TaskStore, taskMap TaskMap) *cobra.Command

func NewCmdTasks

func NewCmdTasks(t *terminal.Terminal, store TaskStore) *cobra.Command

Types

type TaskMap

type TaskMap map[string]tasks.Task

type TaskStore

type TaskStore interface {
	GetCurrentUserKeys() (*entity.UserKeys, error)
	CopyBin(targetBin string) error
	WriteString(path, data string) error
	GetOrCreateFile(path string) (afero.File, error)
	GetCurrentWorkspaceID() (string, error)
	GetWorkspace(workspaceID string) (*entity.Workspace, error)
	GetCurrentUser() (*entity.User, error)
	ssh.ConfigUpaterFactoryStore
}

Jump to

Keyboard shortcuts

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