Documentation ¶
Index ¶
- func AssignInfranetAddrs(tbx *xir.Topology, bp *portal.BlockPool) error
- func NewBlockPool(_begin, _end string) (*portal.BlockPool, error)
- func RequiredBlocks(r *xir.Resource) int
- func TakeNext(bp *portal.BlockPool) (string, error)
- func TakeNextN(bp *portal.BlockPool, n int) ([]string, error)
- type BlockIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignInfranetAddrs ¶
func AssignInfranetAddrs(tbx *xir.Topology, bp *portal.BlockPool) error
func NewBlockPool ¶
func RequiredBlocks ¶
func RequiredBlocks(r *xir.Resource) int
Types ¶
type BlockIterator ¶
func NewBlockIterator ¶
func NewBlockIterator(blocks []string) *BlockIterator
func (*BlockIterator) Next ¶
func (bi *BlockIterator) Next() net.IP
Click to show internal directories.
Click to hide internal directories.