Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) Close() error
- func (c *Client) Execute(ctx context.Context, shell string, opts ...client.ExecOption) (client.ICmd, error)
- func (c *Client) Get(ctx context.Context, src, dst string, opts ...client.GetOption) error
- func (c *Client) Name() string
- func (c *Client) Put(ctx context.Context, src, dst string, opts ...client.PutOption) error
- func (c *Client) ReadFile(ctx context.Context, name string) ([]byte, error)
- func (c *Client) Stat(ctx context.Context, name string) (*client.Stat, error)
- type Cmd
- type Config
Constants ¶
View Source
const (
DefaultGRPCPort = 15450
)
Variables ¶
View Source
var ( ErrAlreadyStarted = errors.New("cmd already started") ErrNotStarted = errors.New("cmd not started") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
func (*Cmd) CombinedOutput ¶
Click to show internal directories.
Click to hide internal directories.