Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type VolumeManager ¶
type VolumeManager struct { DataDir string Volumes map[uint64]*volume.Volume AdminPort int AdminHost string PublicPort int PublicHost string AdminServer *http.ServeMux PublicServer *http.ServeMux Machine string DataCenter string MasterHost string MasterPort int }
func NewVolumeManager ¶
func NewVolumeManager(dir string) (*VolumeManager, error)
func (*VolumeManager) Heartbeat ¶
func (vm *VolumeManager) Heartbeat()
func (*VolumeManager) Start ¶
func (vm *VolumeManager) Start()
func (*VolumeManager) Stop ¶
func (vm *VolumeManager) Stop()
Click to show internal directories.
Click to hide internal directories.