Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for newSpec (1.96 sec)

  1. pkg/kube/util.go

    				})
    			}
    		}
    		oldSpec := pod.Spec
    		newSpec := corev1.PodSpec{
    			Containers:         containers,
    			ServiceAccountName: oldSpec.ServiceAccountName,
    			NodeName:           oldSpec.NodeName,
    			HostNetwork:        oldSpec.HostNetwork,
    			Hostname:           oldSpec.Hostname,
    			Subdomain:          oldSpec.Subdomain,
    		}
    		pod.Spec = newSpec
    		pod.Status.InitContainerStatuses = nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    			if err != nil {
    				return
    			}
    			if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    				return
    			}
    			opts.ServerSideEncryption = encrypt.SSECopy(sse)
    			return
    		}
    		return
    	}
    
    	if crypto.SSEC.IsRequested(header) {
    		clientKey, err = crypto.SSEC.ParseHTTP(header)
    		if err != nil {
    			return
    		}
    		if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil {
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonStarter.java

                try {
                    ExecHandle handle = new DaemonExecHandleBuilder().build(args, workingDir, outputConsumer, stdInput, execActionFactory.newExec());
    
                    handle.start();
                    LOGGER.debug("Gradle daemon process is starting. Waiting for the daemon to detach...");
                    handle.waitForFinish();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils_test.go

    	// nil inherits statefulset labels
    	pod := newPod()
    	statefulSet := newStatefulSet(1)
    	statefulSet.Spec.Selector.MatchLabels = nil
    	claims := getPersistentVolumeClaims(statefulSet, pod)
    	pvc := newPVC("datadir-foo-0")
    	resultClaims := map[string]v1.PersistentVolumeClaim{"datadir": pvc}
    
    	if !reflect.DeepEqual(claims, resultClaims) {
    		t.Fatalf("Unexpected pvc:\n %+v\n, desired pvc:\n %+v", claims, resultClaims)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    func (q *Quantity) Mul(y int64) bool {
    	q.s = ""
    	if q.d.Dec == nil && q.i.Mul(y) {
    		return true
    	}
    	return q.ToDec().d.Dec.Mul(q.d.Dec, inf.NewDec(y, inf.Scale(0))).UnscaledBig().IsInt64()
    }
    
    // Cmp returns 0 if the quantity is equal to y, -1 if the quantity is less than y, or 1 if the
    // quantity is greater than y.
    func (q *Quantity) Cmp(y Quantity) int {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *core.PersistentVolumeClaim, opts PersistentVolumeClaimSpecValidationOptions) field.ErrorList {
    	allErrs := ValidateObjectMetaUpdate(&newPvc.ObjectMeta, &oldPvc.ObjectMeta, field.NewPath("metadata"))
    	allErrs = append(allErrs, ValidatePersistentVolumeClaim(newPvc, opts)...)
    	newPvcClone := newPvc.DeepCopy()
    	oldPvcClone := oldPvc.DeepCopy()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
  7. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	bigMostNegative = big.NewInt(mostNegative)
    )
    
    func dec(i int64, exponent int) infDecAmount {
    	// See the below test-- scale is the negative of an exponent.
    	return infDecAmount{inf.NewDec(i, inf.Scale(-exponent))}
    }
    
    func bigDec(i *big.Int, exponent int) infDecAmount {
    	// See the below test-- scale is the negative of an exponent.
    	return infDecAmount{inf.NewDecBig(i, inf.Scale(-exponent))}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    		syncPeriod:          syncPeriod,
    		nftables:            nft,
    		masqueradeAll:       masqueradeAll,
    		masqueradeMark:      masqueradeMark,
    		conntrack:           conntrack.NewExec(utilexec.New()),
    		localDetector:       localDetector,
    		hostname:            hostname,
    		nodeIP:              nodeIP,
    		recorder:            recorder,
    		serviceHealthServer: serviceHealthServer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    		},
    		"status-update-with-old-pvc-valid-resourcestatus-newpvc-invalid-recovery-disabled": {
    			isExpectedFailure:          true,
    			oldClaim:                   validResizeStatusPVC,
    			newClaim:                   invalidResizeStatusPVC,
    			enableRecoverFromExpansion: false,
    		},
    		"status-update-with-old-pvc-valid-allocatedResource-newpvc-invalid-recovery-disabled": {
    			isExpectedFailure:          true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top