mutagenbox

package
v0.0.0-...-b872246 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultEnv

func DefaultEnv() (map[string]string, error)

func DefaultSyncLabels

func DefaultSyncLabels(machineID string) map[string]string

func ForwardCreate

func ForwardCreate(host, localPort, remotePort string) (string, error)

func ForwardCreateIfNotExists

func ForwardCreateIfNotExists(host, localPort, remotePort string) (string, error)

func ForwardList

func ForwardList() ([]string, error)

func ForwardTerminateAll

func ForwardTerminateAll() error

func ForwardTerminateByHost

func ForwardTerminateByHost(host string) error

func ForwardTerminateByHostPort

func ForwardTerminateByHostPort(host, port string) error

func ShimDir

func ShimDir() (string, error)

func TerminateSessionsForMachine

func TerminateSessionsForMachine(machineID string, userEnv map[string]string) error

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.

Jump to

Keyboard shortcuts

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