- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toAllocate (0.08 sec)
-
pkg/registry/core/service/portallocator/operation_test.go
_ = r.Allocate(port) } freeAtStart := r.Free() // Do some allocations with a dry run operation toAllocate := []int{ 10000, 10030, 10030, 10040, } expectedErrors := []error{ ErrAllocated, nil, ErrAllocated, nil, } op := StartOperation(r, true) for i, port := range toAllocate { err := op.Allocate(port) if err != expectedErrors[i] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Aug 15 23:44:12 UTC 2021 - 3.1K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
// CASE C: if upgraded { toAllocate := make(map[api.IPFamily]string) // if secondary ip was named, just get it. if not add a marker if len(service.Spec.ClusterIPs) < 2 { service.Spec.ClusterIPs = append(service.Spec.ClusterIPs, "" /* marker */) } toAllocate[service.Spec.IPFamilies[1]] = service.Spec.ClusterIPs[1] // allocate
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0)