Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Getwd() (string, error)
- func (c *Client) InitialDirectory(cwd string) (string, error)
- func (c *Client) Lstat(name string) (os.FileInfo, error)
- func (c *Client) Mkdir(name string) error
- func (c *Client) Open(path string) (io.ReadCloser, error)
- func (c *Client) OpenFile(path string, flags int) (io.WriteCloser, error)
- func (c *Client) PosixRename(oldPath, newPath string) error
- func (c *Client) ReadDir(name string) ([]os.FileInfo, error)
- func (c *Client) RealPath(name string) (string, error)
- func (c *Client) Remove(name string) error
- func (c *Client) RemoveDirectory(name string) error
- func (c *Client) Rename(oldPath, newPath string) error
- func (c *Client) Wait() error
- type OpenOptions
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) PosixRename ¶
func (*Client) RemoveDirectory ¶
type OpenOptions ¶
type OpenOptions struct {
Connection jumpserver.ClientConnection
HostKeyCallback ssh.HostKeyCallback
Timeout time.Duration
RootPath *string
AccountUsername string
HomeDirectory string
JumpServerUsername string
}
Click to show internal directories.
Click to hide internal directories.