Documentation
¶
Index ¶
- type Host
- func (host *Host) Chmod(fpath string, perms os.FileMode) error
- func (host *Host) Chown(fpath string, uid uint32, gid uint32) error
- func (host *Host) Cleanup() error
- func (host *Host) Create(path string) (io.WriteCloser, error)
- func (host *Host) CreateGroup(group *rio.Group) error
- func (host *Host) CreateUser(user *rio.User) error
- func (host *Host) DeleteGroup(name string) error
- func (host *Host) DeleteUser(name string) error
- func (host *Host) Exec(cmd *rio.Cmd) error
- func (host *Host) Group(name string) (*rio.Group, error)
- func (host *Host) Info() (*rio.Info, error)
- func (host *Host) Open(path string) (io.ReadCloser, error)
- func (host *Host) Password(name string) (*rio.Password, error)
- func (host *Host) ReadFile(fpath string) ([]byte, error)
- func (host *Host) Remove(fpath string) error
- func (host *Host) Rename(oldpath, newpath string) error
- func (host *Host) Stat(path string) (os.FileInfo, error)
- func (host *Host) String() string
- func (host *Host) TmpDir() (string, error)
- func (host *Host) TmpFile() (string, error)
- func (host *Host) UpdateGroup(group *rio.Group) error
- func (host *Host) UpdatePassword(password *rio.Password) error
- func (host *Host) UpdateUser(user *rio.User) error
- func (host *Host) User(name string) (*rio.User, error)
- type Reader
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
func (*Host) DeleteGroup ¶
func (*Host) DeleteUser ¶
func (*Host) UpdatePassword ¶ added in v0.0.16
Click to show internal directories.
Click to hide internal directories.