- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for allocateService (0.15 sec)
-
pkg/registry/core/service/ipallocator/ipallocator.go
func (a *Allocator) Allocate(ip net.IP) error { return a.AllocateService(nil, ip) } // AllocateService attempts to reserve the provided IP. ErrNotInRange or // ErrAllocated will be returned if the IP is not valid for this range // or has already been reserved. ErrFull will be returned if there // are no addresses left. func (a *Allocator) AllocateService(svc *api.Service, ip net.IP) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/cidrallocator.go
ok := c.tree.DeletePrefix(cidr) if ok { klog.V(3).Infof("CIDR %s deleted", cidr) } } func (c *MetaAllocator) AllocateService(service *api.Service, ip net.IP) error { allocator, err := c.getAllocator(ip) if err != nil { return err } return allocator.AllocateService(service, ip) } func (c *MetaAllocator) Allocate(ip net.IP) error { allocator, err := c.getAllocator(ip) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0)