Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for uid (0.14 sec)

  1. cni/pkg/nodeagent/pod_cache.go

    	}
    	return p.UpsertPodCacheWithNetns(string(pod.UID), wl), nil
    }
    
    // Update the cache with the given Netns. If there is already a Netns for the given uid, we return it, and close the one provided.
    func (p *podNetnsCache) UpsertPodCacheWithNetns(uid string, workload WorkloadInfo) Netns {
    	// lock current snapshot pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if existing := p.currentPodCache[uid]; existing.Netns != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: fmt.Sprintf("name-%d", id),
    			UID:  types.UID(fmt.Sprintf("uid-%d", id)),
    		},
    		Spec:   v1.PodSpec{},
    		Status: v1.PodStatus{},
    	}
    	return pod, newFakeNs(devNull.Fd())
    }
    
    func connect(ctx context.Context) struct {
    	ztunClient *net.UnixConn
    	ztunServer *ztunnelServer
    	uid        string
    } {
    	pods := &fakePodCache{}
    
    	pod, ns := podAndNetns()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. docker/iptables.yaml

        - libmnl
        - libgcc
    archs:
      - x86_64
      - aarch64
    paths:
    - path: /run
      type: directory
      permissions: 0o755
    accounts:
      users:
        - username: nonroot
          uid: 65532
        - username: nobody
          uid: 65534
      run-as: 65532
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 17:24:41 GMT 2024
    - 541 bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns_test.go

    	n := NewPodNetnsProcFinder(fakeFs())
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		UID:       types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"),
    	}}
    	podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	})
    	if err != nil {
    		panic(err)
    	}
    	defer podUIDNetns.Close()
    
    	if len(podUIDNetns) == 0 {
    		t.Fatal("expected to find pod netns")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admission/v1beta1/generated.proto

    // AdmissionRequest describes the admission.Attributes for the admission request.
    message AdmissionRequest {
      // UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are
      // otherwise identical (parallel requests, requests when earlier requests did not modify etc)
      // The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestMeshDataplaneAddsAnnotationOnAdd(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    			UID:       types.UID("test"),
    		},
    	}
    
    	fakeCtx := context.Background()
    	fakeClientSet := fake.NewSimpleClientset(pod)
    
    	podIP := netip.MustParseAddr("99.9.9.1")
    	podIPs := []netip.Addr{podIP}
    
    	server := &fakeServer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      // Information about the requesting user.
      // See user.Info interface for details.
      // +optional
      optional string username = 2;
    
      // UID information about the requesting user.
      // See user.Info interface for details.
      // +optional
      optional string uid = 3;
    
      // Group information about the requesting user.
      // See user.Info interface for details.
      // +listType=atomic
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. docker/Dockerfile.base

      && update-alternatives --set iptables /usr/sbin/iptables-legacy \
      && update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
    
    # Sudoers used to allow tcpdump and other debug utilities.
    RUN useradd -m --uid 1337 istio-proxy && \
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 18:50:51 GMT 2024
    - 1000 bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/authentication/v1/generated.proto

      // API version of the referent.
      // +optional
      optional string apiVersion = 2;
    
      // Name of the referent.
      // +optional
      optional string name = 3;
    
      // UID of the referent.
      // +optional
      optional string uID = 4;
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message ExtraValue {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

      // +optional
      optional string namespace = 3;
    
      // Name is the name of the object being referenced.
      // +required
      optional string name = 4;
    
      // UID is the uid of the object being referenced.
      // +optional
      optional string uid = 5;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top