Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 638 for nameslice (0.33 sec)

  1. pkg/kubelet/userns/userns_manager.go

    	lock sync.Mutex
    }
    
    // UserNamespace holds the configuration for the user namespace.
    type userNamespace struct {
    	// UIDs mappings for the user namespace.
    	UIDMappings []idMapping `json:"uidMappings"`
    	// GIDs mappings for the user namespace.
    	GIDMappings []idMapping `json:"gidMappings"`
    }
    
    // Pod user namespace mapping
    type idMapping struct {
    	// Required.
    	HostId uint32 `json:"hostId"`
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/claiminfo_test.go

    							Namespace: namespace,
    						},
    					},
    				},
    			},
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    					ClaimName: claimName,
    					Namespace: namespace,
    				},
    			},
    			expectedResult: true,
    		},
    		{
    			description:    "cache miss",
    			claimInfoCache: &claimInfoCache{},
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    				New().
    				Eval(
    					apps.Namespace.Name(),
    					map[string]any{
    						"Service":   Captured,
    						"Namespace": apps.Namespace.Name(),
    						"Port":      apps.Captured.PortForName("http").ServicePort,
    					},
    					config).
    				ApplyOrFail(t, apply.CleanupConditionally)
    
    			retry.UntilSuccessOrFail(t, func() error {
    				return checkWaypointIsReady(t, apps.Namespace.Name(), "simple-http-waypoint")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/kube/kclient/client_test.go

    	})
    	assert.Equal(t, deploys, []*appsv1.Deployment{obj1, obj2})
    	assert.Equal(t, tester.Get(obj3.Name, obj3.Namespace), nil)
    
    	tester.Delete(obj3.Name, obj3.Namespace)
    	tester.Delete(obj2.Name, obj2.Namespace)
    	tester.Delete(obj1.Name, obj1.Namespace)
    	tracker.WaitOrdered("delete/2", "delete/1")
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), nil)
    
    	// Create some more objects again
    	tester.Create(obj3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "root-ns", Namespace: "istio-system"},
    				},
    			},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    					Labels: map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/conversion_test.go

        namespace: istio-system
      to:
      - group: ""
        kind: Secret
    `,
    			expectations: []res{
    				// allow cross namespace
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "istio-system", true},
    				// denied same namespace. We do not implicitly allow (in this code - higher level code does)
    				{"kubernetes-gateway://default/wildcard-example-com-cert", "default", false},
    				// denied namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/analyze_test.go

    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    
    			ns1 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-1",
    				Inject: true,
    			})
    			ns2 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-2",
    				Inject: true,
    			})
    
    			applyFileOrFail(t, ns1.Name(), gatewayFile)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/manager_test.go

    	podUID := "test-pod-uid"
    	namespace := "test-namespace"
    
    	claimInfo := &ClaimInfo{
    		ClaimInfoState: state.ClaimInfoState{PodUIDs: sets.New(podUID), ClaimName: claimName, Namespace: namespace},
    	}
    	manager.cache.add(claimInfo)
    	if !manager.cache.contains(claimName, namespace) {
    		t.Fatalf("failed to get claimInfo from cache for claim name %s, namespace %s: err:%v", claimName, namespace, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    					log.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    					namespaceCfg = cfg
    				}
    			}
    		} else if cfg.Namespace != rootNamespace {
    			if workloadCfg == nil || cfg.CreationTimestamp.Before(&workloadCfg.CreationTimestamp) {
    				log.Debugf("Switch selected workload policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    				workloadCfg = cfg
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/conversion_test.go

    	}
    }
    
    func TestServiceConversionWithEmptyServiceAccountsAnnotation(t *testing.T) {
    	serviceName := "service1"
    	namespace := "default"
    
    	ip := "10.0.0.1"
    
    	localSvc := corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        serviceName,
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    		},
    		Spec: corev1.ServiceSpec{
    			ClusterIP: ip,
    			Ports: []corev1.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top