Documentation ¶
Index ¶
- type Client
- func (c *Client) Delete(identity string) (err error)
- func (c *Client) Exec(identity string, cmd string) (output []byte, err error)
- func (c *Client) Get(identity string) (content common.Information, err error)
- func (c *Client) GetClientOptions() map[string]*common.ConnectOption
- func (c *Client) Put(identity string, option common.ConnectOption) (err error)
- func (c *Client) SetTunnels(identity string, options []common.TunnelOption) (err error)
- func (c *Client) Testing(option common.ConnectOption) (sshClient *ssh.Client, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Get ¶
func (c *Client) Get(identity string) (content common.Information, err error)
Get ssh client information
func (*Client) GetClientOptions ¶
func (c *Client) GetClientOptions() map[string]*common.ConnectOption
Get Client Options
func (*Client) Put ¶
func (c *Client) Put(identity string, option common.ConnectOption) (err error)
Add or modify the ssh client
func (*Client) SetTunnels ¶
func (c *Client) SetTunnels(identity string, options []common.TunnelOption) (err error)
Tunnel setting
Click to show internal directories.
Click to hide internal directories.