Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
*clientcmd.ServiceCommand `no-flag:"true"`
clientcmd.InteractiveAuthCommand
Foreground bool `long:"foreground" description:"Stay in foreground"`
Socket string `long:"socket" description:"Socket path (ensure the directory has restricted permissions)"`
// contains filtered or unexported fields
}
type Commands ¶
type Commands struct {
*clientcmd.ServiceCommand
Agent Agent `command:"agent" description:"Start an SSH agent"`
Exec Exec `command:"exec" description:"Connect to a remote SSH server"`
SignPublicKey SignPublicKey `command:"sign-public-key" description:"Create a certificate for a specific public key"`
// contains filtered or unexported fields
}
func CreateCommands ¶
func CreateCommands(runtime client.Runtime, sf svc.ServiceFactory, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) *Commands
type Exec ¶
type Exec struct {
*clientcmd.ServiceCommand `no-flag:"true"`
clientcmd.InteractiveAuthCommand
Exec string `long:"exec" description:"Path to the ssh binary"`
ExtraOpts []string `long:"opt" description:"Additional option to pass to ssh"` // @todo
Args ExecArgs `positional-args:"true" optional:"true"`
// contains filtered or unexported fields
}
type SignPublicKey ¶
type SignPublicKey struct {
*clientcmd.ServiceCommand `no-flag:"true"`
clientcmd.InteractiveAuthCommand
Args SignPublicKeyArgs `positional-args:"true" required:"true"`
// contains filtered or unexported fields
}
func (SignPublicKey) Execute ¶
func (c SignPublicKey) Execute(_ []string) error
type SignPublicKeyArgs ¶
type SignPublicKeyArgs struct {
Path string `positional-arg-name:"PATH"`
}
Click to show internal directories.
Click to hide internal directories.