cloud

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoPortForward

func AutoPortForward(ctx context.Context, w io.Writer, projectDir, hostID string) error

func InitVM

func InitVM(
	ctx context.Context,
	w io.Writer,
	projectDir string,
	githubUsername string,
) (string, string, time.Time, error)

Temporary function to create a vm and print vmHostname to be used by devbox extension

func PortForward

func PortForward(local, remote string) (string, error)

func PortForwardList

func PortForwardList() ([]string, error)

func PortForwardTerminateAll

func PortForwardTerminateAll() error

func SSHSetup

func SSHSetup(username string) (*openssh.Cmd, error)

func Shell

func Shell(ctx context.Context, w io.Writer, projectDir, githubUsername string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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