Documentation ¶
Index ¶
- func GetWorkspaceRoot() string
- func RunLocal(commandline ...string) (err error)
- func RunLocalCaptureOutput(commandline ...string) (out string, err error)
- func RunOnMypi(commandline ...string) (err error)
- func RunOnMypiCaptureOutput(commandline ...string) (out string, err error)
- func SetupProxy(r *gin.Engine, url string)
- type ActionInfo
- type Component
- type ComponentInfo
- type MessageCallback
- type MessageHost
- type SSHConnector
- type Service
- type Services
- type WS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkspaceRoot ¶
func GetWorkspaceRoot() string
func RunLocalCaptureOutput ¶
func RunOnMypiCaptureOutput ¶
func SetupProxy ¶
Types ¶
type ActionInfo ¶
type Component ¶
type Component interface { MessageHost GetData() any GetInfo() ComponentInfo Name() string GetTTY() (buffered.BufferedTty, error) Start() error Stop() error Debug() error SetPort(port int) error SetDist(dist string) SetState(state string) }
type ComponentInfo ¶
type MessageCallback ¶
type MessageHost ¶
type MessageHost interface {
Subscribe(topic string, callback MessageCallback)
}
type SSHConnector ¶
Click to show internal directories.
Click to hide internal directories.