Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 479 for Pods (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go

    			case metav1.SchemeGroupVersion:
    				listMeta = list.(*metav1.PartialObjectMetadataList).ListMeta
    			}
    			if !reflect.DeepEqual(pods.ListMeta, listMeta) {
    				t.Errorf("unexpected list metadata: %v, expected: %v", listMeta, pods.ListMeta)
    			}
    		})
    	}
    }
    
    func TestWatchEncoderIdentifier(t *testing.T) {
    	eventFields := reflect.VisibleFields(reflect.TypeOf(metav1.WatchEvent{}))
    	if len(eventFields) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 09:07:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/testdata/operator/output/operator-init.yaml

      resources:
      - leases
      verbs:
      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    ---
    kind: ClusterRoleBinding
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    		apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion),
    		newPod,
    		newPodList,
    		prefix,
    		"/pods",
    		schema.GroupResource{Resource: "pods"},
    		identity.NewEncryptCheckTransformer(),
    		etcd3.NewDefaultLeaseManagerConfig())
    	return server, storage
    }
    
    func computePodKey(obj *example.Pod) string {
    	return fmt.Sprintf("/pods/%s/%s", obj.Namespace, obj.Name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/queuesort/priority_sort.go

    var _ framework.QueueSortPlugin = &PrioritySort{}
    
    // Name returns name of the plugin.
    func (pl *PrioritySort) Name() string {
    	return Name
    }
    
    // Less is the function used by the activeQ heap algorithm to sort pods.
    // It sorts pods based on their priority. When priorities are equal, it uses
    // PodQueueInfo.timestamp.
    func (pl *PrioritySort) Less(pInfo1, pInfo2 *framework.QueuedPodInfo) bool {
    	p1 := corev1helpers.PodPriority(pInfo1.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    	pod := newPod(namespace)
    	err = admissiontesting.WithReinvocationTesting(t, handler).Admit(context.TODO(), admission.NewAttributesRecord(&pod, nil, api.Kind("Pod").WithVersion("version"), pod.Namespace, pod.Name, api.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    	if err != nil {
    		t.Errorf("unexpected error returned from admission handler")
    	}
    	if !hasCreateNamespaceAction(mockClient) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go

    			},
    		},
    		"namespaced resource": {
    			Verb: "PUT",
    			Path: "/api/v1/namespaces/myns/pods/mypod",
    			ExpectedAttributes: &authorizer.AttributesRecord{
    				Verb:            "update",
    				Path:            "/api/v1/namespaces/myns/pods/mypod",
    				ResourceRequest: true,
    				Namespace:       "myns",
    				Resource:        "pods",
    				APIVersion:      "v1",
    				Name:            "mypod",
    			},
    		},
    		"API group resource": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/cmd/internal/cov/read_test.go

    type visitor struct {
    	metaFileCount    int
    	counterFileCount int
    	funcCounterData  int
    	metaFuncCount    int
    }
    
    func (v *visitor) BeginPod(p pods.Pod) {}
    func (v *visitor) EndPod(p pods.Pod)   {}
    func (v *visitor) VisitMetaDataFile(mdf string, mfr *decodemeta.CoverageMetaFileReader) {
    	v.metaFileCount++
    }
    func (v *visitor) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    	v.counterFileCount++
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/covdata/merge.go

    	}
    	if *outdirflag == "" {
    		m.Usage("select output directory with '-o' option")
    	}
    	m.mm.SetModeMergePolicy(cmerge.ModeMergeRelaxed)
    }
    
    func (m *mstate) BeginPod(p pods.Pod) {
    	m.mm.beginPod()
    }
    
    func (m *mstate) EndPod(p pods.Pod) {
    	m.mm.endPod(*pcombineflag)
    }
    
    func (m *mstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/scheduling/v1alpha1/generated.proto

      // value represents the integer value of this priority class. This is the actual priority that pods
      // receive when they have the name of this class in their pod spec.
      optional int32 value = 2;
    
      // globalDefault specifies whether this PriorityClass should be considered as
      // the default priority for pods that do not have any priority class.
      // Only one PriorityClass can be marked as `globalDefault`. However, if more than
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/scheduling/v1/types.go

    	// value represents the integer value of this priority class. This is the actual priority that pods
    	// receive when they have the name of this class in their pod spec.
    	Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
    
    	// globalDefault specifies whether this PriorityClass should be considered as
    	// the default priority for pods that do not have any priority class.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top