Documentation ¶
Index ¶
- Variables
- type AllocDisksArgs
- type Config
- type ListDisksArgs
- type Master
- func (m *Master) AllocDiskLabel() (*proto.DiskLabel, error)
- func (m *Master) AllocDisks()
- func (m *Master) AllocStripes() ([]*proto.Stripe, error)
- func (m *Master) GetDisk(diskID uint32) (*proto.Disk, error)
- func (m *Master) ListDisks(args *ListDisksArgs) ([]*proto.Disk, error)
- func (m *Master) RegisterDisks(disks []*proto.Disk) ([]*proto.Disk, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyConfig = errors.New("empty config")
Functions ¶
This section is empty.
Types ¶
type AllocDisksArgs ¶
type AllocDisksArgs struct { }
type ListDisksArgs ¶
type Master ¶
func (*Master) AllocDisks ¶
func (m *Master) AllocDisks()
Click to show internal directories.
Click to hide internal directories.