Documentation ¶
Index ¶
- func DefaultEnv() (map[string]string, error)
- func DefaultSyncLabels(machineID string) map[string]string
- func ForwardCreate(host, localPort, remotePort string) (string, error)
- func ForwardCreateIfNotExists(host, localPort, remotePort string) (string, error)
- func ForwardList() ([]string, error)
- func ForwardTerminateAll() error
- func ForwardTerminateByHost(host string) error
- func ForwardTerminateByHostPort(host, port string) error
- func ShimDir() (string, error)
- func TerminateSessionsForMachine(machineID string, userEnv map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEnv ¶
func DefaultSyncLabels ¶
func ForwardCreate ¶
func ForwardList ¶
func ForwardTerminateAll ¶
func ForwardTerminateAll() error
func ForwardTerminateByHost ¶
func TerminateSessionsForMachine ¶
TerminateSessionsForMachine is a devbox-specific API that calls the generic mutagen terminate API. It relies on the mutagen-sync-session's labels to identify which sessions to terminate for a particular machine (fly VM).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.