Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dropTopologyOnV1 (0.14 sec)

  1. pkg/registry/discovery/endpointslice/strategy.go

    	if dropHints {
    		for i := range newEPS.Endpoints {
    			if dropHints {
    				newEPS.Endpoints[i].Hints = nil
    			}
    		}
    	}
    }
    
    // dropTopologyOnV1 on V1 request wipes the DeprecatedTopology field  and copies
    // the NodeName value into DeprecatedTopology
    func dropTopologyOnV1(ctx context.Context, oldEPS, newEPS *discovery.EndpointSlice) {
    	if info, ok := genericapirequest.RequestInfoFrom(ctx); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 10:00:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top