Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetHNSEndpointStats (0.33 sec)

  1. pkg/kubelet/stats/cri_stats_provider_windows.go

    	GetHNSEndpointStats(endpointName string) (*hcsshim.HNSEndpointStats, error)
    }
    
    // networkStats exposes the required functionality for hcsshim in this scenario
    type networkStats struct{}
    
    func (s networkStats) HNSListEndpointRequest() ([]hcsshim.HNSEndpoint, error) {
    	return hcsshim.HNSListEndpointRequest()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    	containers []containerStats
    }
    
    type containerStats struct {
    	container hcsshim.ContainerProperties
    	hcsStats  []hcsshim.NetworkStats
    }
    
    func (s fakeNetworkStatsProvider) GetHNSEndpointStats(endpointName string) (*hcsshim.HNSEndpointStats, error) {
    	eps := hcsshim.HNSEndpointStats{}
    	for _, c := range s.containers {
    		for _, stat := range c.hcsStats {
    			if endpointName == stat.InstanceId {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top