Documentation ¶
Index ¶
- Constants
- type ACCESS3args
- type ACCESS3res
- type ACCESS3resfail
- type ACCESS3resok
- type COMMIT3args
- type COMMIT3res
- type COMMIT3resfail
- type COMMIT3resok
- type CREATE3args
- type CREATE3res
- type CREATE3resfail
- type CREATE3resok
- type Cookie3
- type Cookieverf3
- type Count3
- type Createhow3
- type Createmode3
- type Createverf3
- type Devicedata3
- type Dirlist3
- type Dirlistplus3
- type Diropargs3
- type Dirpath3
- type Entry3
- type Entryplus3
- type Exports3
- type Exportsopt3
- type FSINFO3args
- type FSINFO3res
- type FSINFO3resfail
- type FSINFO3resok
- type FSSTAT3args
- type FSSTAT3res
- type FSSTAT3resfail
- type FSSTAT3resok
- type Fattr3
- type Fhandle3
- type Fileid3
- type Filename3
- type Ftype3
- type GETATTR3args
- type GETATTR3res
- type GETATTR3resok
- type Gid3
- type Groups3
- type LINK3args
- type LINK3res
- type LINK3resfail
- type LINK3resok
- type LOOKUP3args
- type LOOKUP3res
- type LOOKUP3resfail
- type LOOKUP3resok
- type MKDIR3args
- type MKDIR3res
- type MKDIR3resfail
- type MKDIR3resok
- type MKNOD3args
- type MKNOD3res
- type MKNOD3resfail
- type MKNOD3resok
- type Mknoddata3
- type Mode3
- type Mount3
- type Mountopt3
- type Mountres3
- type Mountres3_ok
- type Mountstat3
- type Name3
- type Nfs_fh3
- type Nfspath3
- type Nfsstat3
- type Nfstime3
- type Offset3
- type PATHCONF3args
- type PATHCONF3res
- type PATHCONF3resfail
- type PATHCONF3resok
- type Post_op_attr
- type Post_op_fh3
- type Pre_op_attr
- type READ3args
- type READ3res
- type READ3resfail
- type READ3resok
- type READDIR3args
- type READDIR3res
- type READDIR3resfail
- type READDIR3resok
- type READDIRPLUS3args
- type READDIRPLUS3res
- type READDIRPLUS3resfail
- type READDIRPLUS3resok
- type READLINK3args
- type READLINK3res
- type READLINK3resfail
- type READLINK3resok
- type REMOVE3args
- type REMOVE3res
- type REMOVE3resfail
- type REMOVE3resok
- type RENAME3args
- type RENAME3res
- type RENAME3resfail
- type RENAME3resok
- type RMDIR3args
- type RMDIR3res
- type RMDIR3resfail
- type RMDIR3resok
- type SETATTR3args
- type SETATTR3res
- type SETATTR3resfail
- type SETATTR3resok
- type SYMLINK3args
- type SYMLINK3res
- type SYMLINK3resfail
- type SYMLINK3resok
- type Sattr3
- type Sattrguard3
- type Set_atime
- type Set_gid3
- type Set_mode3
- type Set_mtime
- type Set_size3
- type Set_uid3
- type Size3
- type Specdata3
- type Stable_how
- type Symlinkdata3
- type Time_how
- type Uid3
- type Uint32
- type Uint64
- type WRITE3args
- type WRITE3res
- type WRITE3resfail
- type WRITE3resok
- type Wcc_attr
- type Wcc_data
- type Writeverf3
Constants ¶
View Source
const ACCESS3_DELETE uint32 = 0x0010
View Source
const ACCESS3_EXECUTE uint32 = 0x0020
View Source
const ACCESS3_EXTEND uint32 = 0x0008
View Source
const ACCESS3_LOOKUP uint32 = 0x0002
View Source
const ACCESS3_MODIFY uint32 = 0x0004
View Source
const ACCESS3_READ uint32 = 0x0001
View Source
const FHSIZE3 uint32 = 64
View Source
const FSF3_CANSETTIME uint32 = 0x0010
View Source
const FSF3_HOMOGENEOUS uint32 = 0x0008
View Source
const FSF3_LINK uint32 = 0x0001
View Source
const FSF3_SYMLINK uint32 = 0x0002
View Source
const MNTNAMLEN3 uint32 = 255
View Source
const MNTPATHLEN3 uint32 = 1024
View Source
const MOUNTPROC3_DUMP uint32 = 2
View Source
const MOUNTPROC3_EXPORT uint32 = 5
View Source
const MOUNTPROC3_MNT uint32 = 1
View Source
const MOUNTPROC3_NULL uint32 = 0
View Source
const MOUNTPROC3_UMNT uint32 = 3
View Source
const MOUNTPROC3_UMNTALL uint32 = 4
View Source
const MOUNT_PROGRAM uint32 = 100005
View Source
const MOUNT_V3 uint32 = 3
View Source
const NFS3_COOKIEVERFSIZE uint32 = 8
View Source
const NFS3_CREATEVERFSIZE uint32 = 8
View Source
const NFS3_FHSIZE uint32 = 64
View Source
const NFS3_WRITEVERFSIZE uint32 = 8
View Source
const NFSPROC3_ACCESS uint32 = 4
View Source
const NFSPROC3_COMMIT uint32 = 21
View Source
const NFSPROC3_CREATE uint32 = 8
View Source
const NFSPROC3_FSINFO uint32 = 19
View Source
const NFSPROC3_FSSTAT uint32 = 18
View Source
const NFSPROC3_GETATTR uint32 = 1
View Source
const NFSPROC3_LINK uint32 = 15
View Source
const NFSPROC3_LOOKUP uint32 = 3
View Source
const NFSPROC3_MKDIR uint32 = 9
View Source
const NFSPROC3_MKNOD uint32 = 11
View Source
const NFSPROC3_NULL uint32 = 0
View Source
const NFSPROC3_PATHCONF uint32 = 20
View Source
const NFSPROC3_READ uint32 = 6
View Source
const NFSPROC3_READDIR uint32 = 16
View Source
const NFSPROC3_READDIRPLUS uint32 = 17
View Source
const NFSPROC3_READLINK uint32 = 5
View Source
const NFSPROC3_REMOVE uint32 = 12
View Source
const NFSPROC3_RENAME uint32 = 14
View Source
const NFSPROC3_RMDIR uint32 = 13
View Source
const NFSPROC3_SETATTR uint32 = 2
View Source
const NFSPROC3_SYMLINK uint32 = 10
View Source
const NFSPROC3_WRITE uint32 = 7
View Source
const NFS_PROGRAM uint32 = 100003
View Source
const NFS_V3 uint32 = 3
View Source
const PROGRAM uint32 = 100003
View Source
const VERSION uint32 = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACCESS3args ¶
type ACCESS3res ¶
type ACCESS3res struct { Status Nfsstat3 Resok ACCESS3resok Resfail ACCESS3resfail }
type ACCESS3resfail ¶
type ACCESS3resfail struct {
Obj_attributes Post_op_attr
}
type ACCESS3resok ¶
type ACCESS3resok struct { Obj_attributes Post_op_attr Access Uint32 }
type COMMIT3args ¶
type COMMIT3res ¶
type COMMIT3res struct { Status Nfsstat3 Resok COMMIT3resok Resfail COMMIT3resfail }
type COMMIT3resfail ¶
type COMMIT3resfail struct {
File_wcc Wcc_data
}
type COMMIT3resok ¶
type COMMIT3resok struct { File_wcc Wcc_data Verf Writeverf3 }
type CREATE3args ¶
type CREATE3args struct { Where Diropargs3 How Createhow3 }
type CREATE3res ¶
type CREATE3res struct { Status Nfsstat3 Resok CREATE3resok Resfail CREATE3resfail }
type CREATE3resfail ¶
type CREATE3resfail struct {
Dir_wcc Wcc_data
}
type CREATE3resok ¶
type CREATE3resok struct { Obj Post_op_fh3 Obj_attributes Post_op_attr Dir_wcc Wcc_data }
type Cookieverf3 ¶
type Cookieverf3 [NFS3_COOKIEVERFSIZE]byte
type Createhow3 ¶
type Createhow3 struct { Mode Createmode3 Obj_attributes Sattr3 Verf Createverf3 }
type Createmode3 ¶
type Createmode3 uint32
const EXCLUSIVE Createmode3 = 2
const GUARDED Createmode3 = 1
const UNCHECKED Createmode3 = 0
type Createverf3 ¶
type Createverf3 [NFS3_CREATEVERFSIZE]byte
type Devicedata3 ¶
type Dirlistplus3 ¶
type Dirlistplus3 struct { Entries *Entryplus3 Eof bool }
type Diropargs3 ¶
type Entryplus3 ¶
type Entryplus3 struct { Fileid Fileid3 Name Filename3 Cookie Cookie3 Name_attributes Post_op_attr Name_handle Post_op_fh3 Nextentry *Entryplus3 }
type Exportsopt3 ¶
type Exportsopt3 struct{ P *Exports3 }
type FSINFO3args ¶
type FSINFO3args struct {
Fsroot Nfs_fh3
}
type FSINFO3res ¶
type FSINFO3res struct { Status Nfsstat3 Resok FSINFO3resok Resfail FSINFO3resfail }
type FSINFO3resfail ¶
type FSINFO3resfail struct {
Obj_attributes Post_op_attr
}
type FSINFO3resok ¶
type FSSTAT3args ¶
type FSSTAT3args struct {
Fsroot Nfs_fh3
}
type FSSTAT3res ¶
type FSSTAT3res struct { Status Nfsstat3 Resok FSSTAT3resok Resfail FSSTAT3resfail }
type FSSTAT3resfail ¶
type FSSTAT3resfail struct {
Obj_attributes Post_op_attr
}
type FSSTAT3resok ¶
type Ftype3 ¶
type Ftype3 uint32
const NF3BLK Ftype3 = 3
const NF3CHR Ftype3 = 4
const NF3DIR Ftype3 = 2
const NF3FIFO Ftype3 = 7
const NF3LNK Ftype3 = 5
const NF3REG Ftype3 = 1
const NF3SOCK Ftype3 = 6
type GETATTR3args ¶
type GETATTR3args struct {
Object Nfs_fh3
}
type GETATTR3res ¶
type GETATTR3res struct { Status Nfsstat3 Resok GETATTR3resok }
type GETATTR3resok ¶
type GETATTR3resok struct {
Obj_attributes Fattr3
}
type LINK3args ¶
type LINK3args struct { File Nfs_fh3 Link Diropargs3 }
type LINK3res ¶
type LINK3res struct { Status Nfsstat3 Resok LINK3resok Resfail LINK3resfail }
type LINK3resfail ¶
type LINK3resfail struct { File_attributes Post_op_attr Linkdir_wcc Wcc_data }
type LINK3resok ¶
type LINK3resok struct { File_attributes Post_op_attr Linkdir_wcc Wcc_data }
type LOOKUP3args ¶
type LOOKUP3args struct {
What Diropargs3
}
type LOOKUP3res ¶
type LOOKUP3res struct { Status Nfsstat3 Resok LOOKUP3resok Resfail LOOKUP3resfail }
type LOOKUP3resfail ¶
type LOOKUP3resfail struct {
Dir_attributes Post_op_attr
}
type LOOKUP3resok ¶
type LOOKUP3resok struct { Object Nfs_fh3 Obj_attributes Post_op_attr Dir_attributes Post_op_attr }
type MKDIR3args ¶
type MKDIR3args struct { Where Diropargs3 Attributes Sattr3 }
type MKDIR3res ¶
type MKDIR3res struct { Status Nfsstat3 Resok MKDIR3resok Resfail MKDIR3resfail }
type MKDIR3resfail ¶
type MKDIR3resfail struct {
Dir_wcc Wcc_data
}
type MKDIR3resok ¶
type MKDIR3resok struct { Obj Post_op_fh3 Obj_attributes Post_op_attr Dir_wcc Wcc_data }
type MKNOD3args ¶
type MKNOD3args struct { Where Diropargs3 What Mknoddata3 }
type MKNOD3res ¶
type MKNOD3res struct { Status Nfsstat3 Resok MKNOD3resok Resfail MKNOD3resfail }
type MKNOD3resfail ¶
type MKNOD3resfail struct {
Dir_wcc Wcc_data
}
type MKNOD3resok ¶
type MKNOD3resok struct { Obj Post_op_fh3 Obj_attributes Post_op_attr Dir_wcc Wcc_data }
type Mknoddata3 ¶
type Mknoddata3 struct { Ftype Ftype3 Device Devicedata3 Pipe_attributes Sattr3 }
type Mountres3 ¶
type Mountres3 struct { Fhs_status Mountstat3 Mountinfo Mountres3_ok }
type Mountres3_ok ¶
type Mountstat3 ¶
type Mountstat3 uint32
const MNT3ERR_ACCES Mountstat3 = 13
const MNT3ERR_INVAL Mountstat3 = 22
const MNT3ERR_IO Mountstat3 = 5
const MNT3ERR_NAMETOOLONG Mountstat3 = 63
const MNT3ERR_NOENT Mountstat3 = 2
const MNT3ERR_NOTDIR Mountstat3 = 20
const MNT3ERR_NOTSUPP Mountstat3 = 10004
const MNT3ERR_PERM Mountstat3 = 1
const MNT3ERR_SERVERFAULT Mountstat3 = 10006
const MNT3_OK Mountstat3 = 0
type Nfsstat3 ¶
type Nfsstat3 uint32
const NFS3ERR_ACCES Nfsstat3 = 13
const NFS3ERR_BADHANDLE Nfsstat3 = 10001
const NFS3ERR_BADTYPE Nfsstat3 = 10007
const NFS3ERR_BAD_COOKIE Nfsstat3 = 10003
const NFS3ERR_DQUOT Nfsstat3 = 69
const NFS3ERR_EXIST Nfsstat3 = 17
const NFS3ERR_FBIG Nfsstat3 = 27
const NFS3ERR_INVAL Nfsstat3 = 22
const NFS3ERR_IO Nfsstat3 = 5
const NFS3ERR_ISDIR Nfsstat3 = 21
const NFS3ERR_JUKEBOX Nfsstat3 = 10008
const NFS3ERR_MLINK Nfsstat3 = 31
const NFS3ERR_NAMETOOLONG Nfsstat3 = 63
const NFS3ERR_NODEV Nfsstat3 = 19
const NFS3ERR_NOENT Nfsstat3 = 2
const NFS3ERR_NOSPC Nfsstat3 = 28
const NFS3ERR_NOTDIR Nfsstat3 = 20
const NFS3ERR_NOTEMPTY Nfsstat3 = 66
const NFS3ERR_NOTSUPP Nfsstat3 = 10004
const NFS3ERR_NOT_SYNC Nfsstat3 = 10002
const NFS3ERR_NXIO Nfsstat3 = 6
const NFS3ERR_PERM Nfsstat3 = 1
const NFS3ERR_REMOTE Nfsstat3 = 71
const NFS3ERR_ROFS Nfsstat3 = 30
const NFS3ERR_SERVERFAULT Nfsstat3 = 10006
const NFS3ERR_STALE Nfsstat3 = 70
const NFS3ERR_TOOSMALL Nfsstat3 = 10005
const NFS3ERR_XDEV Nfsstat3 = 18
const NFS3_OK Nfsstat3 = 0
type PATHCONF3args ¶
type PATHCONF3args struct {
Object Nfs_fh3
}
type PATHCONF3res ¶
type PATHCONF3res struct { Status Nfsstat3 Resok PATHCONF3resok Resfail PATHCONF3resfail }
type PATHCONF3resfail ¶
type PATHCONF3resfail struct {
Obj_attributes Post_op_attr
}
type PATHCONF3resok ¶
type Post_op_attr ¶
type Post_op_fh3 ¶
type Pre_op_attr ¶
type READ3res ¶
type READ3res struct { Status Nfsstat3 Resok READ3resok Resfail READ3resfail }
type READ3resfail ¶
type READ3resfail struct {
File_attributes Post_op_attr
}
type READ3resok ¶
type READ3resok struct { File_attributes Post_op_attr Count Count3 Eof bool Data []byte }
type READDIR3args ¶
type READDIR3args struct { Dir Nfs_fh3 Cookie Cookie3 Cookieverf Cookieverf3 Count Count3 }
type READDIR3res ¶
type READDIR3res struct { Status Nfsstat3 Resok READDIR3resok Resfail READDIR3resfail }
type READDIR3resfail ¶
type READDIR3resfail struct {
Dir_attributes Post_op_attr
}
type READDIR3resok ¶
type READDIR3resok struct { Dir_attributes Post_op_attr Cookieverf Cookieverf3 Reply Dirlist3 }
type READDIRPLUS3args ¶
type READDIRPLUS3args struct { Dir Nfs_fh3 Cookie Cookie3 Cookieverf Cookieverf3 Dircount Count3 Maxcount Count3 }
type READDIRPLUS3res ¶
type READDIRPLUS3res struct { Status Nfsstat3 Resok READDIRPLUS3resok Resfail READDIRPLUS3resfail }
type READDIRPLUS3resfail ¶
type READDIRPLUS3resfail struct {
Dir_attributes Post_op_attr
}
type READDIRPLUS3resok ¶
type READDIRPLUS3resok struct { Dir_attributes Post_op_attr Cookieverf Cookieverf3 Reply Dirlistplus3 }
type READLINK3args ¶
type READLINK3args struct {
Symlink Nfs_fh3
}
type READLINK3res ¶
type READLINK3res struct { Status Nfsstat3 Resok READLINK3resok Resfail READLINK3resfail }
type READLINK3resfail ¶
type READLINK3resfail struct {
Symlink_attributes Post_op_attr
}
type READLINK3resok ¶
type READLINK3resok struct { Symlink_attributes Post_op_attr Data Nfspath3 }
type REMOVE3args ¶
type REMOVE3args struct {
Object Diropargs3
}
type REMOVE3res ¶
type REMOVE3res struct { Status Nfsstat3 Resok REMOVE3resok Resfail REMOVE3resfail }
type REMOVE3resfail ¶
type REMOVE3resfail struct {
Dir_wcc Wcc_data
}
type REMOVE3resok ¶
type REMOVE3resok struct {
Dir_wcc Wcc_data
}
type RENAME3args ¶
type RENAME3args struct { From Diropargs3 To Diropargs3 }
type RENAME3res ¶
type RENAME3res struct { Status Nfsstat3 Resok RENAME3resok Resfail RENAME3resfail }
type RENAME3resfail ¶
type RENAME3resok ¶
type RMDIR3args ¶
type RMDIR3args struct {
Object Diropargs3
}
type RMDIR3res ¶
type RMDIR3res struct { Status Nfsstat3 Resok RMDIR3resok Resfail RMDIR3resfail }
type RMDIR3resfail ¶
type RMDIR3resfail struct {
Dir_wcc Wcc_data
}
type RMDIR3resok ¶
type RMDIR3resok struct {
Dir_wcc Wcc_data
}
type SETATTR3args ¶
type SETATTR3args struct { Object Nfs_fh3 New_attributes Sattr3 Guard Sattrguard3 }
type SETATTR3res ¶
type SETATTR3res struct { Status Nfsstat3 Resok SETATTR3resok Resfail SETATTR3resfail }
type SETATTR3resfail ¶
type SETATTR3resfail struct {
Obj_wcc Wcc_data
}
type SETATTR3resok ¶
type SETATTR3resok struct {
Obj_wcc Wcc_data
}
type SYMLINK3args ¶
type SYMLINK3args struct { Where Diropargs3 Symlink Symlinkdata3 }
type SYMLINK3res ¶
type SYMLINK3res struct { Status Nfsstat3 Resok SYMLINK3resok Resfail SYMLINK3resfail }
type SYMLINK3resfail ¶
type SYMLINK3resfail struct {
Dir_wcc Wcc_data
}
type SYMLINK3resok ¶
type SYMLINK3resok struct { Obj Post_op_fh3 Obj_attributes Post_op_attr Dir_wcc Wcc_data }
type Sattrguard3 ¶
type Stable_how ¶
type Stable_how uint32
const DATA_SYNC Stable_how = 1
const FILE_SYNC Stable_how = 2
const UNSTABLE Stable_how = 0
type Symlinkdata3 ¶
type Time_how ¶
type Time_how uint32
const DONT_CHANGE Time_how = 0
const SET_TO_CLIENT_TIME Time_how = 2
const SET_TO_SERVER_TIME Time_how = 1
type WRITE3args ¶
type WRITE3args struct { File Nfs_fh3 Offset Offset3 Count Count3 Stable Stable_how Data []byte }
type WRITE3res ¶
type WRITE3res struct { Status Nfsstat3 Resok WRITE3resok Resfail WRITE3resfail }
type WRITE3resfail ¶
type WRITE3resfail struct {
File_wcc Wcc_data
}
type WRITE3resok ¶
type WRITE3resok struct { File_wcc Wcc_data Count Count3 Committed Stable_how Verf Writeverf3 }
type Wcc_data ¶
type Wcc_data struct { Before Pre_op_attr After Post_op_attr }
type Writeverf3 ¶
type Writeverf3 [NFS3_WRITEVERFSIZE]byte
Click to show internal directories.
Click to hide internal directories.