Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IsDryRun (0.27 sec)

  1. cmd/kubeadm/app/phases/etcd/local.go

    	if cfg.Etcd.External != nil {
    		return errors.New("etcd static pod manifest cannot be generated for cluster using external etcd")
    	}
    
    	if err := prepareAndWriteEtcdStaticPod(manifestDir, patchesDir, cfg, endpoint, nodeName, []etcdutil.Member{}, isDryRun); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  2. cmd/kubeadm/app/cmd/upgrade/common.go

    	}
    
    	// `dryRun` should be always be `false` for `kubeadm plan`.
    	isDryRun := ptr.To(false)
    	printConfigCfg := upgradeCfg.Plan.PrintConfig
    	ignoreErrCfg := upgradeCfg.Plan.IgnorePreflightErrors
    	ok := false
    	if upgradeApply {
    		printConfigCfg = upgradeCfg.Apply.PrintConfig
    		ignoreErrCfg = upgradeCfg.Apply.IgnorePreflightErrors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/etcd/local_test.go

    		// Execute createStaticPodFunction
    		manifestPath := filepath.Join(tmpdir, kubeadmconstants.ManifestsSubDirName)
    		err := CreateLocalEtcdStaticPodManifestFile(manifestPath, "", "", test.cfg, &kubeadmapi.APIEndpoint{}, false /* IsDryRun */)
    
    		if !test.expectedError {
    			if err != nil {
    				t.Errorf("CreateLocalEtcdStaticPodManifestFile failed when not expected: %v", err)
    			}
    			// Assert expected files are there
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

                TestExecutionListener executionListener = new JUnitPlatformTestExecutionListener(resultProcessor, clock, idGenerator);
                Launcher launcher = launcherSession.getLauncher();
                if (spec.isDryRun()) {
                    TestPlan testPlan = launcher.discover(discoveryRequest);
                    executeDryRun(testPlan, executionListener);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			if err != nil {
    				t.Fatalf("couldn't run CreateInitStaticPodManifestFiles: %v", err)
    			}
    			err = etcdphase.CreateLocalEtcdStaticPodManifestFile(pathMgr.RealManifestDir(), pathMgr.PatchesDir(), oldcfg.NodeRegistration.Name, &oldcfg.ClusterConfiguration, &oldcfg.LocalAPIEndpoint, false /* isDryRun */)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	configurationName := invocation.Webhook.GetConfigurationName()
    	changed := false
    	defer func() { annotator.addMutationAnnotation(changed) }()
    	if attr.Attributes.IsDryRun() {
    		if h.SideEffects == nil {
    			return false, &webhookutil.ErrCallingWebhook{WebhookName: h.Name, Reason: fmt.Errorf("Webhook SideEffects is nil"), Status: apierrors.NewBadRequest("Webhook SideEffects is nil")}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top