Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inode ¶
type Inode struct { sync.RWMutex Inode uint64 // Inode ID Type uint32 Uid uint32 Gid uint32 Size uint64 Generation uint64 CreateTime int64 AccessTime int64 ModifyTime int64 LinkTarget []byte // SymLink target name NLink uint32 // NodeLink counts Flag int32 Reserved uint64 // reserved space Extents []proto.ExtentKey }
type MetaHttpClient ¶
func NewMetaHttpClient ¶
func NewMetaHttpClient(host string, useSSL bool) *MetaHttpClient
NewMasterHelper returns a new MasterClient instance.
func (*MetaHttpClient) GetAllDentry ¶
func (*MetaHttpClient) GetAllInodes ¶
func (mc *MetaHttpClient) GetAllInodes(pid uint64) (rstMap map[uint64]*Inode, err error)
func (*MetaHttpClient) GetMetaPartition ¶
func (mc *MetaHttpClient) GetMetaPartition(pid uint64) (cursor uint64, err error)
Click to show internal directories.
Click to hide internal directories.