server

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Methods

type Methods int

Methods is a receiver type.

func (*Methods) Access added in v1.1.0

func (t *Methods) Access(arguments *args.AccessArgs, reply *args.AccessReply) error

Access checks file access permissions

func (*Methods) Chdir

func (t *Methods) Chdir(arguments *args.ChdirArgs, reply *int) error

Chdir changes current working directory to path.

func (*Methods) Chown

func (t *Methods) Chown(arguments *args.ChownArgs, reply *int) error

Chown performs a chown with the specified arguments.

func (*Methods) Chroot

func (t *Methods) Chroot(arguments *args.ChrootArgs, reply *int) (err error)

Chroot performs a chroot with the specified arguments.

func (*Methods) Decrypt

func (t *Methods) Decrypt(arguments *args.CryptArgs, reply *string) (err error)

Decrypt decrypts the loop device.

func (*Methods) EvalRelative

func (t *Methods) EvalRelative(arguments *args.EvalRelativeArgs, reply *string) error

EvalRelative calls EvalRelative with the specified arguments.

func (*Methods) Lchown

func (t *Methods) Lchown(arguments *args.ChownArgs, reply *int) error

Lchown performs a lchown with the specified arguments.

func (*Methods) LoopDevice

func (t *Methods) LoopDevice(arguments *args.LoopArgs, reply *int) (err error)

LoopDevice attaches a loop device with the specified arguments.

func (*Methods) Lstat

func (t *Methods) Lstat(arguments *args.StatArgs, reply *args.StatReply) error

Lstat gets file status.

func (*Methods) Mkdir

func (t *Methods) Mkdir(arguments *args.MkdirArgs, reply *int) (err error)

Mkdir performs a mkdir with the specified arguments.

func (*Methods) Mount

func (t *Methods) Mount(arguments *args.MountArgs, mountErr *error) (err error)

Mount performs a mount with the specified arguments.

func (*Methods) NvCCLI

func (t *Methods) NvCCLI(arguments *args.NvCCLIArgs, reply *int) (err error)

NvCCLI will call nvidia-container-cli to configure GPU(s) for the container.

func (*Methods) OpenSendFuseFd

func (t *Methods) OpenSendFuseFd(arguments *args.OpenSendFuseFdArgs, reply *int) error

OpenSendFuseFd open a new /dev/fuse file descriptor and send it over unix socket.

func (*Methods) ReadDir

func (t *Methods) ReadDir(arguments *args.ReadDirArgs, reply *args.ReadDirReply) error

ReadDir performs a readdir with the specified arguments.

func (t *Methods) Readlink(arguments *args.ReadlinkArgs, reply *string) (err error)

Readlink performs a readlink with the specified arguments.

func (*Methods) SendFuseFd

func (t *Methods) SendFuseFd(arguments *args.SendFuseFdArgs, reply *int) error

SendFuseFd send fuse file descriptor over unix socket.

func (*Methods) SetHostname

func (t *Methods) SetHostname(arguments *args.HostnameArgs, reply *int) error

SetHostname sets hostname with the specified arguments.

func (*Methods) Stat

func (t *Methods) Stat(arguments *args.StatArgs, reply *args.StatReply) error

Stat gets file status.

func (t *Methods) Symlink(arguments *args.SymlinkArgs, reply *int) error

Symlink performs a symlink with the specified arguments.

func (*Methods) Umask

func (t *Methods) Umask(arguments *args.UmaskArgs, reply *int) (err error)

Umask performs a umask with the specified arguments.

func (*Methods) Unmount added in v1.3.0

func (t *Methods) Unmount(arguments *args.UnmountArgs, unmountErr *error) (err error)

Unmount performs an unmount with the specified arguments.

func (*Methods) WriteFile

func (t *Methods) WriteFile(arguments *args.WriteFileArgs, reply *int) error

WriteFile creates an empty file if it doesn't exist or a file with the provided data.

Jump to

Keyboard shortcuts

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