ssh

package
v0.11.1-0...-8ab92b3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RootUser is used to tell the container to run as root and not the default user www-data
	RootUser bool

	// ProxyContainer is used to ssh into the proxy container and is mostly used for troubleshooting
	ProxyContainer bool
)

Functions

func NewCommand

func NewCommand(home string, docker client.CommonAPIClient, output terminal.Outputer) *cobra.Command

NewCommand returns the ssh command to get a shell in a container. The command is context aware and if it is not in a known project directory, it will provide a list of known sites to the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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