commission

package
v1.1.48-poll-xdc-fixes Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 NewBlockPool(_begin, _end string) (*portal.BlockPool, error)

func RequiredBlocks

func RequiredBlocks(r *xir.Resource) int

func TakeNext

func TakeNext(bp *portal.BlockPool) (string, error)

func TakeNextN

func TakeNextN(bp *portal.BlockPool, n int) ([]string, error)

Types

type BlockIterator

type BlockIterator struct {
	Blocks []net.IP
	// contains filtered or unexported fields
}

func NewBlockIterator

func NewBlockIterator(blocks []string) *BlockIterator

func (*BlockIterator) Next

func (bi *BlockIterator) Next() net.IP

Jump to

Keyboard shortcuts

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