Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for criInterfaceToSummary (0.24 sec)

  1. pkg/kubelet/stats/cri_stats_provider.go

    		id = strings.TrimSuffix(id, systemdSuffix)
    		components := strings.Split(id, "-")
    		if len(components) > 1 {
    			id = components[len(components)-1]
    		}
    	}
    	return id
    }
    
    func criInterfaceToSummary(criIface *runtimeapi.NetworkInterfaceUsage) statsapi.InterfaceStats {
    	return statsapi.InterfaceStats{
    		Name:     criIface.Name,
    		RxBytes:  valueOfUInt64Value(criIface.RxBytes),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top