func (alloc *Allocator) Lookup(ident string, r address.Range) ([]address.CIDR, error) {
	resultChan := make(chan []address.CIDR)
	alloc.actionChan <- func() {
		resultChan <- alloc.ownedInRange(ident, r)
	}
	return <-resultChan, nil
}
// Lookup (Sync) - get existing IP addresses for container with given name in range
Lookup (Sync) - get existing IP addresses for container with given name in range
// Lookup ( Sync ) - get existing IP addresses for container with given name in range
func (alloc *Allocator) Lookup(ident string, r address.Range) ([]address.CIDR, error) {
	resultChan := make(chan []address.CIDR)
	alloc.actionChan <- func() {
		resultChan <- alloc.ownedInRange(ident, r)
	}
	return <-resultChan, nil
}
func ( alloc * Allocator ) Lookup ( ident string , r address . Range ) ( [ ] address . CIDR , error ) { resultChan := make ( chan [ ] address . CIDR ) alloc . actionChan <- func ( ) { resultChan <- alloc . ownedInRange ( ident , r ) } return <- resultChan , nil }
Lookup (Sync) - get existing IP addresses for container with given name in range
Lookup ( Sync ) - get existing IP addresses for container with given name in range