datanode_alloc

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 1 Imported by: 0

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

Source Files

Jump to

Keyboard shortcuts

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