Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 596 for core_v1 (0.12 sec)

  1. pkg/kube/krt/join_test.go

    func TestCollectionJoin(t *testing.T) {
    	c := kube.NewFakeClient()
    	pods := krt.NewInformer[*corev1.Pod](c)
    	services := krt.NewInformer[*corev1.Service](c)
    	serviceEntries := krt.NewInformer[*istioclient.ServiceEntry](c)
    	c.RunAndWait(test.NewStop(t))
    	pc := clienttest.Wrap(t, kclient.New[*corev1.Pod](c))
    	sc := clienttest.Wrap(t, kclient.New[*corev1.Service](c))
    	sec := clienttest.Wrap(t, kclient.New[*istioclient.ServiceEntry](c))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			},
    		},
    	})
    	g.AddPod(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "pod2-node2", Namespace: "ns1"},
    		Spec: corev1.PodSpec{
    			NodeName: "node2",
    			Volumes: []corev1.Volume{
    				{VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "node1-node2-only"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    func PodRedirectionActive(pod *corev1.Pod) bool {
    	return pod.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled
    }
    
    func podHasSidecar(pod *corev1.Pod) bool {
    	if _, f := pod.GetAnnotations()[annotation.SidecarStatus.Name]; f {
    		return true
    	}
    	return false
    }
    
    func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/apis/discovery/v1beta1/conversion_test.go

    					"key1":                   "val1",
    					corev1.LabelTopologyZone: "zone1",
    				},
    			},
    			internal: discovery.Endpoint{
    				DeprecatedTopology: map[string]string{
    					"key1": "val1",
    				},
    				Zone: utilpointer.String("zone1"),
    			},
    		},
    		{
    			desc: "only zone in topology map",
    			external: v1beta1.Endpoint{
    				Topology: map[string]string{
    					corev1.LabelTopologyZone: "zone1",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/legacytokentracking/controller_test.go

    		existingConfigMap *corev1.ConfigMap
    
    		expectedErr     error
    		expectedActions []core.Action
    	}{
    		{
    			name:          "create configmap [no cache, no live object]",
    			clientObjects: []runtime.Object{},
    			expectedActions: []core.Action{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 19 17:33:34 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test.go

    	makeDetectPod := func(name string, terminationMessage string, exitCode int) *corev1.Pod {
    		return makePod(makePodArgs{
    			PodName:     name,
    			Annotations: map[string]string{"sidecar.istio.io/status": "something"},
    			InitContainerStatus: &corev1.ContainerStatus{
    				Name: constants.ValidationContainerName,
    				State: corev1.ContainerState{
    					Waiting: &corev1.ContainerStateWaiting{
    						Reason:  "CrashLoopBackOff",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    		network:   networkID,
    		index:     idx.(*index),
    		fx:        up,
    		pc:        clienttest.NewDirectClient[*corev1.Pod, corev1.Pod, *corev1.PodList](t, cl),
    		sc:        clienttest.NewDirectClient[*corev1.Service, corev1.Service, *corev1.ServiceList](t, cl),
    		ns:        clienttest.NewWriter[*corev1.Namespace](t, cl),
    		grc:       clienttest.NewWriter[*k8sbeta.Gateway](t, cl),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/instancecount.go

    	r.reconcilingLock.Lock()
    	defer r.reconcilingLock.Unlock()
    
    	if r.stopReconcilingCalled {
    		return nil
    	}
    
    	e, err := r.epAdapter.Get(metav1.NamespaceDefault, serviceName, metav1.GetOptions{})
    	if err != nil {
    		e = &corev1.Endpoints{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      serviceName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/utils.go

    	// clone all annotations but EndpointsLastChangeTriggerTime and LastAppliedConfigAnnotation
    	for annotation, val := range endpoints.Annotations {
    		if annotation == corev1.EndpointsLastChangeTriggerTime || annotation == corev1.LastAppliedConfigAnnotation {
    			continue
    		}
    		epSlice.Annotations[annotation] = val
    	}
    
    	if sliceName == "" {
    		epSlice.GenerateName = getEndpointSlicePrefix(endpoints.Name)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go

    	}
    
    	testcases := []struct {
    		description   string
    		cacheInput    []*corev1.ResourceQuota
    		clientInput   []runtime.Object
    		ttl           time.Duration
    		namespace     string
    		expectedQuota *corev1.ResourceQuota
    	}{
    		{
    			description:   "object is found via cache",
    			cacheInput:    []*corev1.ResourceQuota{resourceQuota},
    			ttl:           30 * time.Second,
    			namespace:     namespace,
    			expectedQuota: resourceQuota,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top