Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetContainerIDFromCGroups (0.2 sec)

  1. cni/pkg/nodeagent/podcgroupns_test.go

    	if podUIDNetns[expectedUID] == (WorkloadInfo{}) {
    		t.Fatal("expected to find pod netns under pod uid")
    	}
    }
    
    // copied and modified from spire
    
    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top