Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Roduit (0.21 sec)

  1. cni/pkg/nodeagent/net_test.go

    	pod := buildConvincingPod(false)
    
    	var podUID string = string(pod.ObjectMeta.UID)
    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("99.9.9.9"),
    		ipProto,
    		podUID,
    		true,
    	).Return(nil)
    
    	fakeIPSetDeps.On("addIP",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/storage/v1/generated.proto

      //
      // This field is immutable.
      //
      // +optional
      optional bool attachRequired = 1;
    
      // podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.)
      // during mount operations, if set to true.
      // If set to false, pod information will not be passed on mount.
      // Default is false.
      //
      // The CSI driver specifies podInfoOnMount as part of driver deployment.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns_test.go

    		},
    	} {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net.go

    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) error {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    
    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      //
      // This field is immutable.
      //
      // +optional
      optional bool attachRequired = 1;
    
      // podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.)
      // during mount operations, if set to true.
      // If set to false, pod information will not be passed on mount.
      // Default is false.
      //
      // The CSI driver specifies podInfoOnMount as part of driver deployment.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    			if matchResults != nil {
    				return "", "", false
    			}
    			matchResults = matches
    		}
    	}
    
    	if matchResults != nil {
    		var podUID types.UID
    		if matchResults["poduid"] != "" {
    			podUID = canonicalizePodUID(matchResults["poduid"])
    		}
    		return podUID, matchResults["containerid"], true
    	}
    	return "", "", false
    }
    
    // canonicalizePodUID converts a Pod UID, as represented in a cgroup path, into
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top