Documentation ¶
Index ¶
- type RPC
- func (t *RPC) Chdir(dir string) (int, error)
- func (t *RPC) Chown(name string, uid int, gid int) error
- func (t *RPC) Chroot(root string, method string) (int, error)
- func (t *RPC) Decrypt(offset uint64, path string, key []byte, masterPid int) (string, error)
- func (t *RPC) EvalRelative(name string, root string) string
- func (t *RPC) Lchown(name string, uid int, gid int) error
- func (t *RPC) LoopDevice(image string, mode int, info unix.LoopInfo64, maxDevices int, shared bool) (int, error)
- func (t *RPC) Lstat(path string) (os.FileInfo, error)
- func (t *RPC) Mkdir(path string, perm os.FileMode) error
- func (t *RPC) Mount(source string, target string, filesystem string, flags uintptr, data string) error
- func (t *RPC) NvCCLI(flags []string, rootFsPath string, userNS bool) error
- func (t *RPC) ReadDir(dir string) ([]fs.DirEntry, error)
- func (t *RPC) Readlink(name string) (string, error)
- func (t *RPC) SendFuseFd(socket int, fds []int) error
- func (t *RPC) SetHostname(hostname string) (int, error)
- func (t *RPC) Stat(path string) (os.FileInfo, error)
- func (t *RPC) Symlink(old string, new string) error
- func (t *RPC) Umask(mask int) int
- func (t *RPC) WriteFile(filename string, data []byte, perm os.FileMode) 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) EvalRelative ¶
EvalRelative calls the evalrelative RPC using the supplied arguments.
func (*RPC) LoopDevice ¶
func (t *RPC) LoopDevice(image string, mode int, info unix.LoopInfo64, maxDevices int, shared bool) (int, error)
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) error
Mount calls the mount RPC using the supplied arguments.
func (*RPC) SendFuseFd ¶
SendFuseFd calls the SendFuseFd RPC using the supplied arguments.
func (*RPC) SetHostname ¶
SetHostname calls the sethostname RPC using the supplied arguments.
Click to show internal directories.
Click to hide internal directories.