Documentation ¶
Index ¶
Constants ¶
View Source
const ( Endpoint = "https://yigfs.test.com:9088" FsEndpoint = "http://localhost:9123" Region = "cn" Bucket = "test-bucket" AK string = "hehehehe" SK string = "hehehehe" FsId = "myFsId" Generation uint64 = 0 ZoneId = "cd77df31-08c1-407c-a561-4c0341c77fa4" ZoneIdNew = "cd77df31-08c1-407c-a561-4c0341c77fa5" Machine = "192.168.1.15" ParentIno = 1 FileParentIno uint64 = 4 FileName = "test.txt" Size = 128 CreateFileSize = 0 Nlink = 1 Offset = 0 UpdateOffset = 3000 SegStartAddr = 0 SegEndAddr = 128 SegmentId0 = 1 SegmentId1 = 1 Machine2 = "192.168.1.20" Capacity = 64 * 1024 * 1024 LatestedOffset = 256 NewFileName = "test.txt2" DirName = "testDir" DeleteParentIno uint64 = 3 DeleteDirName = "testDeleteDir" Resource = "/lockkey9" UnitSize = 2 * 1024 * 1024 DirIno uint64 = 1 PersonalAK string = "F134CF99590B4E16961F4C3137470D777719" PersonalSK string = "62F304FEFE3B4AFCB7A844C08C113C684544" INSTANCEID string = "testInstanceId" Uid uint32 = 0 Gid uint32 = 0 SeqWrite uint32 = 0 RandomWrite uint32 = 1 SeqFileName string = "seq_file_" RandomFileName string = "random_file_" BlockSize = 64 * 1024 UserName string = "root" GroupName string = "root" TestDirPerm uint32 = 0711 DeleteDirPerm uint32 = 0755 FilePerm uint32 = 0644 UserWrite uint32 = 0200 UserNoWrite uint32 = 0400 GroupWrite uint32 = 0020 GroupNoWrite uint32 = 0040 OthersWrite uint32 = 0002 OthersNoWrite uint32 = 0004 UserRead uint32 = 0400 UserNoRead uint32 = 0200 GroupRead uint32 = 0040 GroupNoRead uint32 = 0020 OthersRead uint32 = 0004 OthersNoRead uint32 = 002 UserReadWrite uint32 = 0600 GroupReadWrite uint32 = 0060 OthersReadWrite uint32 = 0006 FsName string = "test-fsname" TestUserName string = "test_user" TestGroupName string = "test_group" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.