Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 151 for assign_id (0.15 sec)

  1. pkg/controller/nodeipam/ipam/range_allocator_test.go

    			// nothing further expected
    			return
    		}
    		for _, updatedNode := range tc.fakeNodeHandler.GetUpdatedNodesCopy() {
    			if len(updatedNode.Spec.PodCIDRs) == 0 {
    				continue // not assigned yet
    			}
    			//match
    			for podCIDRIdx, expectedPodCIDR := range tc.expectedAllocatedCIDR {
    				if updatedNode.Spec.PodCIDRs[podCIDRIdx] != expectedPodCIDR {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. plugin/pkg/admission/serviceaccount/admission_test.go

    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if pod.Spec.ServiceAccountName != DefaultServiceAccountName {
    		t.Errorf("Expected service account %s assigned, got %s", DefaultServiceAccountName, pod.Spec.ServiceAccountName)
    	}
    }
    
    func TestDeniesInvalidServiceAccount(t *testing.T) {
    	ns := "myns"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/riscv64/asm.go

    	}
    
    	// Generate a local text symbol for each relocation target, as the
    	// R_RISCV_PCREL_LO12_* relocations generated by elfreloc1 need it.
    	if ctxt.Textp == nil {
    		log.Fatal("genSymsLate called before Textp has been assigned")
    	}
    	var hi20Syms []loader.Sym
    	for _, s := range ctxt.Textp {
    		relocs := ldr.Relocs(s)
    		for ri := 0; ri < relocs.Count(); ri++ {
    			r := relocs.At(ri)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction_test.go

    		expectDelete bool
    	}{
    		{
    			description: "Creating Node matching already assigned Pod",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    			node:         testutil.NewNode("node1"),
    			expectPatch:  false,
    			expectDelete: false,
    		},
    		{
    			description: "Creating tainted Node matching already assigned Pod",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. pkg/controller/volume/persistentvolume/pv_controller_test.go

    	}{
    		// [Unit test set 15] - retroactive storage class assignment tests
    		{
    			storageClasses: []*storagev1.StorageClass{},
    			tests: []controllerTest{
    				{
    					name:            "15-1 - pvc storage class is not assigned retroactively if there are no default storage classes",
    					initialVolumes:  novolumes,
    					expectedVolumes: novolumes,
    					initialClaims:   newClaimArray("claim15-1", "uid15-1", "1Gi", "", v1.ClaimPending, nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  6. pkg/controller/podgc/gc_controller.go

    	if quit {
    		return
    	}
    	// Delete orphaned pods
    	for _, pod := range pods {
    		if !deletedNodesNames.Has(pod.Spec.NodeName) {
    			continue
    		}
    		logger.V(2).Info("Found orphaned Pod assigned to the Node, deleting", "pod", klog.KObj(pod), "node", klog.KRef("", pod.Spec.NodeName))
    		condition := &v1.PodCondition{
    			Type:    v1.DisruptionTarget,
    			Status:  v1.ConditionTrue,
    			Reason:  "DeletionByPodGC",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    Here is an example of a task that consumes the previous service via a property annotated with `@ServiceReference`:
    
    ====
    [source.multi-language-sample,java]
    .Download.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	"k8s.io/apiserver/pkg/cel/library"
    	"k8s.io/apiserver/pkg/cel/metrics"
    )
    
    const (
    	// ScopedVarName is the variable name assigned to the locally scoped data element of a CEL validation
    	// expression.
    	ScopedVarName = "self"
    
    	// OldScopedVarName is the variable name assigned to the existing value of the locally scoped data element of a
    	// CEL validation expression.
    	OldScopedVarName = "oldSelf"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

            // TPU ops such as tf.TPUReplicatedInput and tf.TPUPartitionedInput into
            // the island as well. These ops are brought in only if they do not
            // already have a cluster assigned to them (via `_replication_info`
            // attribute value).
            // `tf.Identity` op is also treated as special tpu ops since it can play
            // a role as connection between `tf.TPUReplicatedInput` or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    // n is the map indexing or delete Node (to provide Pos).
    func mapKeyArg(fast int, n, key ir.Node, assigned bool) ir.Node {
    	if fast == mapslow {
    		// standard version takes key by reference.
    		// orderState.expr made sure key is addressable.
    		return typecheck.NodAddr(key)
    	}
    	if assigned {
    		// mapassign does distinguish pointer vs. integer key.
    		return key
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top