client

package
v3.0.0-alpha.1+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPC

type RPC struct {
	Client *rpc.Client
	Name   string
}

RPC holds the state necessary for remote procedure calls

func (*RPC) Chroot

func (t *RPC) Chroot(root string) (int, error)

Chroot calls the chroot RPC using the supplied arguments

func (*RPC) LoopDevice

func (t *RPC) LoopDevice(image string, mode int, info loop.Info64) (int, error)

LoopDevice calls the loop device RPC using the supplied arguments

func (*RPC) Mkdir

func (t *RPC) Mkdir(path string) (int, error)

Mkdir calls the mkdir 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL