Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newFakeNs (0.04 sec)

  1. cni/pkg/nodeagent/net_test.go

    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	nlDeps := fixture.nlDeps
    	pod := buildConvincingPod(false)
    	// this is usually called after add. so manually add the pod uid for now
    	fakens := newFakeNs(123)
    	closed := fakens.closed
    	workload := WorkloadInfo{
    		Workload: podToWorkload(pod),
    		Netns:    fakens,
    	}
    
    	fixture.podNsMap.UpsertPodCacheWithNetns(string(pod.UID), workload)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top