Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHeight = 40 DefaultWidth = 80 )
Variables ¶
This section is empty.
Functions ¶
func MarshalED25519PrivateKey ¶ added in v0.0.452
func MarshalED25519PrivateKey(key ed25519.PrivateKey, comment string) []byte
// stolen from `mikesmitty`, thanks, you are a mikesmitty and a scholar
Types ¶
type Client ¶
type SessionIO ¶ added in v0.0.504
type SessionIO struct {
Stdin io.Reader
Stdout io.WriteCloser
Stderr io.WriteCloser
AllocPTY bool
TermEnv string
}
type SessionTarget ¶ added in v0.4.83
type SessionTarget struct {
// Container names the container to run in. When empty, the machine decides
// where the session lands.
Container string
// Machine runs the session in the machine's own namespace instead of in a
// container. It is mutually exclusive with Container.
Machine bool
}
SessionTarget selects where a session runs on the remote machine.
Click to show internal directories.
Click to hide internal directories.