Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for convertToAnySlices (0.12 sec)

  1. pilot/pkg/model/xds_cache.go

    	case CDSType:
    		keys := x.cds.Keys()
    		return convertToAnySlices(keys)
    	case EDSType:
    		keys := x.eds.Keys()
    		return convertToAnySlices(keys)
    	case SDSType:
    		keys := x.sds.Keys()
    		return convertToAnySlices(keys)
    	case RDSType:
    		keys := x.rds.Keys()
    		return convertToAnySlices(keys)
    	default:
    		return nil
    	}
    }
    
    func convertToAnySlices[K comparable](in []K) []any {
    	out := make([]any, len(in))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 07:02:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top