Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addOffsetAddress (0.11 sec)

  1. pkg/registry/core/service/ipallocator/ipallocator.go

    func (dry dryRunAllocator) Destroy() {
    }
    
    func (dry dryRunAllocator) EnableMetrics() {
    }
    
    // addOffsetAddress returns the address at the provided offset within the subnet
    // TODO: move it to k8s.io/utils/net, this is the same as current AddIPOffset()
    // but using netip.Addr instead of net.IP
    func addOffsetAddress(address netip.Addr, offset uint64) (netip.Addr, error) {
    	addressBytes := address.AsSlice()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top