api

package
v2.3.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

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
}

func (*Inode) String

func (i *Inode) String() string

String returns the string format of the inode.

type MetaHttpClient

type MetaHttpClient struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewMetaHttpClient

func NewMetaHttpClient(host string, useSSL bool) *MetaHttpClient

NewMasterHelper returns a new MasterClient instance.

func (*MetaHttpClient) GetAllDentry

func (mc *MetaHttpClient) GetAllDentry(pid uint64) (dentryMap map[string]*metanode.Dentry, err error)

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)

type RespBody

type RespBody struct {
}

Jump to

Keyboard shortcuts

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