Documentation
¶
Index ¶
- func NewCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func ParseTarget(source, destination string) (*LocalArgument, *RemoteArgument, bool, error)
- func PrepareCommand(cmd *cobra.Command, clientConfig clientcmd.ClientConfig, opts *ssh.SSHOptions, ...) (*LocalArgument, *RemoteArgument, bool, error)
- type LocalArgument
- type RemoteArgument
- type SCP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
func ParseTarget ¶
func ParseTarget(source, destination string) (*LocalArgument, *RemoteArgument, bool, error)
func PrepareCommand ¶
func PrepareCommand(cmd *cobra.Command, clientConfig clientcmd.ClientConfig, opts *ssh.SSHOptions, args []string) (*LocalArgument, *RemoteArgument, bool, error)
Types ¶
type LocalArgument ¶
type LocalArgument struct {
Path string
}
type RemoteArgument ¶
Click to show internal directories.
Click to hide internal directories.