Documentation ¶
Index ¶
Constants ¶
View Source
const ( RshRecommendedName = "rsh" DefaultShell = "/bin/sh" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RshOptions ¶
type RshOptions struct { ForceTTY bool DisableTTY bool Executable string Timeout int *exec.ExecOptions }
RshOptions declare the arguments accepted by the Rsh command
func NewRshOptions ¶
func NewRshOptions(parent string, streams genericclioptions.IOStreams) *RshOptions
func (*RshOptions) Run ¶
func (o *RshOptions) Run() error
Run starts a remote shell session on the server
func (*RshOptions) Validate ¶
func (o *RshOptions) Validate() error
Validate ensures that RshOptions are valid
Click to show internal directories.
Click to hide internal directories.