Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for makeAlloc (0.08 sec)

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

    		secondaryIPFamily = otherFamily(serviceIPFamily)
    	}
    	genericStore := &REST{
    		Store:             store,
    		primaryIPFamily:   primaryIPFamily,
    		secondaryIPFamily: secondaryIPFamily,
    		alloc:             makeAlloc(serviceIPFamily, ipAllocs, portAlloc),
    		endpoints:         endpoints,
    		pods:              pods,
    		proxyTransport:    proxyTransport,
    	}
    	store.Decorator = genericStore.defaultOnRead
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. pkg/registry/core/service/storage/alloc.go

    	// Default is to auto-allocate a port if the ServiceType of this Service requires one.
    	NodePort int32
    }
    
    // This is a trasitionary function to facilitate service REST flattening.
    func makeAlloc(defaultFamily api.IPFamily, ipAllocs map[api.IPFamily]ipallocator.Interface, portAlloc portallocator.Interface) Allocators {
    	return Allocators{
    		defaultServiceIPFamily:      defaultFamily,
    		serviceIPAllocatorsByFamily: ipAllocs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
Back to top