Documentation ¶
Index ¶
- type Local
- func (l *Local) ActiveUser() string
- func (l *Local) As(user string)
- func (l *Local) Close() error
- func (l *Local) Get(filename string) ([]byte, error)
- func (l *Local) Put(filename string, data []byte, perm os.FileMode) error
- func (l *Local) Run(cmd string, stdin io.Reader) (sh.Result, error)
- func (l *Local) String() string
- func (l *Local) User() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
Local implements a localhost Target
func (*Local) ActiveUser ¶
ActiveUser returns the currently active user
Click to show internal directories.
Click to hide internal directories.