Documentation ¶
Index ¶
- type RPC
- func (t *RPC) Chroot(root string) (int, error)
- func (t *RPC) HasNamespace(nstype string) (bool, error)
- func (t *RPC) LoopDevice(image string, mode int, info loop.Info64) (int, error)
- func (t *RPC) Mkdir(path string, perm os.FileMode) (int, error)
- func (t *RPC) Mount(source string, target string, filesystem string, flags uintptr, data string) (int, error)
- func (t *RPC) SetFsID(uid int, gid int) (int, error)
- func (t *RPC) SetHostname(hostname string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPC ¶
RPC holds the state necessary for remote procedure calls
func (*RPC) HasNamespace ¶
HasNamespace calls the HasNamespace RPC using the supplied arguments
func (*RPC) LoopDevice ¶
LoopDevice calls the loop device RPC using the supplied arguments
func (*RPC) Mount ¶
func (t *RPC) Mount(source string, target string, filesystem string, flags uintptr, data string) (int, error)
Mount calls tme mount RPC using the supplied arguments
Click to show internal directories.
Click to hide internal directories.