Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for isDryRun (0.24 sec)

  1. pkg/registry/core/service/storage/storage.go

    	// is called at the end of this process, and we want the fully-formed
    	// object.
    	r.defaultOnReadService(svc)
    
    	// Only perform the cleanup if this is a non-dryrun deletion
    	if !dryrun.IsDryRun(options.DryRun) {
    		// It would be better if we had the caller context, but that changes
    		// this hook signature.
    		ctx := genericapirequest.WithNamespace(genericapirequest.NewContext(), svc.Namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go

    					Reason:  "InstanceDeletionPending",
    					Message: "CustomResourceDefinition marked for deletion; CustomResource deletion will begin soon",
    				})
    				return existingCRD, nil
    			}),
    			dryrun.IsDryRun(options.DryRun),
    			nil,
    		)
    
    		if err != nil {
    			err = storageerr.InterpretGetError(err, apiextensions.Resource("customresourcedefinitions"), name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    			admission.Create,
    			patchToCreateOptions(options),
    			dryrun.IsDryRun(options.DryRun),
    			userInfo)
    		staticUpdateAttributes := admission.NewAttributesRecord(
    			nil,
    			nil,
    			scope.Kind,
    			namespace,
    			name,
    			scope.Resource,
    			scope.Subresource,
    			admission.Update,
    			patchToUpdateOptions(options),
    			dryrun.IsDryRun(options.DryRun),
    			userInfo,
    		)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/eviction.go

    			// If it was false already, or if it becomes false during the course of our retries,
    			// raise an error marked as a 429.
    			if err = r.checkAndDecrement(pod.Namespace, pod.Name, *pdb, dryrun.IsDryRun(originalDeleteOptions.DryRun)); err != nil {
    				refresh = true
    				return err
    			}
    			return nil
    		})
    		return err
    	}()
    	if err == wait.ErrWaitTimeout {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    func ConnectResource(connecter rest.Connecter, scope *RequestScope, admit admission.Interface, restPath string, isSubresource bool) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		if isDryRun(req.URL) {
    			scope.err(errors.NewBadRequest("dryRun is not supported"), w, req)
    			return
    		}
    
    		namespace, name, err := scope.Namer.Name(req)
    		if err != nil {
    			scope.err(err, w, req)
    			return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/StartParameterResolutionOverride.java

                return new WriteDependencyVerificationFile(verificationsFile, buildOperationExecutor, checksums, checksumService, signatureVerificationServiceFactory, startParameter.isDryRun(), startParameter.isExportKeys());
            }
    
            if (!verificationsFile.exists() ||
                startParameter.getDependencyVerificationMode() == DependencyVerificationMode.OFF
            ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

            this.resultProcessor = resultProcessorActor.getProxy(TestResultProcessor.class);
            applicationClassLoader = Thread.currentThread().getContextClassLoader();
            if (spec.isDryRun()) {
                System.setProperty("testng.mode.dryrun", "true");
            }
        }
    
        @Override
        public void processTestClass(TestClassRunInfo testClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	ttl, err := e.calculateTTL(obj, 0, false)
    	if err != nil {
    		return nil, err
    	}
    	out := e.NewFunc()
    	if err := e.Storage.Create(ctx, key, obj, out, ttl, dryrun.IsDryRun(options.DryRun)); err != nil {
    		err = storeerr.InterpretCreateError(err, qualifiedResource, name)
    		err = rest.CheckGeneratedNameError(ctx, e.CreateStrategy, err, obj)
    		if !apierrors.IsAlreadyExists(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	// has occurred in any aspects.
    	if err := etcdphase.CreateLocalEtcdStaticPodManifestFile(pathMgr.TempManifestDir(), pathMgr.PatchesDir(), cfg.NodeRegistration.Name, &cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, false /* isDryRun */); err != nil {
    		return true, errors.Wrap(err, "error creating local etcd static pod manifest file")
    	}
    
    	retries := 10
    	retryInterval := 15 * time.Second
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

            return dryRun ? TestOutcome.SKIPPED : TestOutcome.FAILED
        }
    
        final List<String> getTestTaskArguments() {
            return dryRun ? ['--test-dry-run'] : []
        }
    
        boolean isDryRun() {
            return false
        }
    
        def succeedsWithTestTaskArguments(String... args) {
            succeeds((args + testTaskArguments) as String[])
        }
    
        def failsWithTestTaskArguments(String... args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top