namespace

package
Version: v0.0.0-...-4cd6a09 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Blksize = 10 /*G*/
)

Variables

View Source
var AllNameSpace map[string]*nameSpace
View Source
var EtcdClient utils.EtcdV3
View Source
var IsWatcher bool
View Source
var VolMgrAddress string

Functions

func CreateGNameSpace

func CreateGNameSpace()

func CreateNameSpace

func CreateNameSpace(UUID string, IsLoad bool) int32

func GetNameSpace

func GetNameSpace(UUID string) (int32, *nameSpace)

func GetVolList

func GetVolList() (int32, []string)

func LoadVolMeta

func LoadVolMeta(volID string)

func WatchVolMeta

func WatchVolMeta(volID string)

Types

type VolMetaWatcherVersion

type VolMetaWatcherVersion struct {
	ChunkBaseIDVersion int64
	InodeBaseIDVersion int64
	ChunkDBVersion     int64
	BGDBVersion        int64
	InodeDBVersion     int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to