Documentation ¶
Index ¶
- type System
- func (s *System) Close() error
- func (s *System) Create(ctx context.Context, fileInfo fs.FileInfo) (system.WriteFile, error)
- func (s *System) Execute(ctx context.Context, c cmd.Command) (cmd.Result, error)
- func (s *System) Open(ctx context.Context, name string) (fs.File, error)
- func (s *System) Stat(ctx context.Context, name string) (fs.FileInfo, error)
- type SystemOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
type SystemOption ¶
func CommandMiddleware ¶
func CommandMiddleware(m cmd.Middleware) SystemOption
func Sessions ¶
func Sessions(c int) SystemOption
Sessions is a SystemOption which defines the maximum number of concurrent ssh sessions to the remote Set Sessions to 0 to not limit the number of concurrent ssh sessions.
Click to show internal directories.
Click to hide internal directories.