Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataNodeAllocator ¶
type DataNodeAllocator struct {
// contains filtered or unexported fields
}
func NewDataNodeAllocator ¶
func NewDataNodeAllocator() *DataNodeAllocator
func NewDataNodeAllocatorWithGroups ¶ added in v1.0.0
func NewDataNodeAllocatorWithGroups(dataNodeGroups []string) *DataNodeAllocator
func (*DataNodeAllocator) AddDataNode ¶
func (c *DataNodeAllocator) AddDataNode(address string)
func (*DataNodeAllocator) AllocateNode ¶
func (c *DataNodeAllocator) AllocateNode() (string, error)
type NoDataNodeError ¶ added in v1.0.0
type NoDataNodeError struct { }
func (*NoDataNodeError) Error ¶ added in v1.0.0
func (n *NoDataNodeError) Error() string
Click to show internal directories.
Click to hide internal directories.