Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for IsDryRun (0.12 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. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    				return
    			}
    
    			var attr admission.Attributes
    			if tt.IsCRD {
    				attr = webhooktesting.NewAttributeUnstructured(ns, tt.AdditionalLabels, tt.IsDryRun)
    			} else {
    				attr = webhooktesting.NewAttribute(ns, tt.AdditionalLabels, tt.IsDryRun)
    			}
    
    			b.ResetTimer()
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					wh.Admit(context.TODO(), attr, objectInterfaces)
    				}
    			})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    		},
    	}
    
    	return []DurationTest{
    		{
    			Name:                "duration test",
    			IsDryRun:            false,
    			InitContext:         true,
    			Webhooks:            webhooks,
    			ExpectedDurationSum: 500,
    			ExpectedDurationMax: 400,
    		},
    		{
    			Name:                "duration dry run",
    			IsDryRun:            true,
    			InitContext:         true,
    			Webhooks:            webhooks,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriteDependencyVerificationFile.java

            boolean isDryRun,
            boolean exportKeyRing
        ) {
            this.buildOperationExecutor = buildOperationExecutor;
            this.checksums = checksums;
            this.checksumService = checksumService;
            this.verificationFile = verificationFile;
            this.signatureVerificationServiceFactory = signatureVerificationServiceFactory;
            this.isDryRun = isDryRun;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    					}
    				} else {
    					if mutatingAdmission.Handles(admission.Update) {
    						return newObj, mutatingAdmission.Admit(ctx, admission.NewAttributesRecord(newObj, oldObj, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Update, options, dryrun.IsDryRun(options.DryRun), userInfo), scope)
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go

    			if err = wh.ValidateInitialization(); err != nil {
    				b.Errorf("%s: failed to validate initialization: %v", tt.Name, err)
    				return
    			}
    
    			attr := webhooktesting.NewAttribute(ns, nil, tt.IsDryRun)
    
    			b.ResetTimer()
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					wh.Validate(context.TODO(), attr, objectInterfaces)
    				}
    			})
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/controlplane/manifests.go

    func CreateInitStaticPodManifestFiles(manifestDir, patchesDir string, cfg *kubeadmapi.InitConfiguration, isDryRun bool) error {
    	klog.V(1).Infoln("[control-plane] creating static Pod files")
    	return CreateStaticPodFiles(manifestDir, patchesDir, &cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, isDryRun, kubeadmconstants.KubeAPIServer, kubeadmconstants.KubeControllerManager, kubeadmconstants.KubeScheduler)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go

    		wasDeleted := true
    		userInfo, _ := request.UserFrom(ctx)
    		staticAdmissionAttrs := admission.NewAttributesRecord(nil, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Delete, options, dryrun.IsDryRun(options.DryRun), userInfo)
    		result, err := finisher.FinishRequest(ctx, func() (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. callbacks/create.go

    			db.Statement.AddClauseIfNotExists(clause.Insert{})
    			db.Statement.AddClause(ConvertToCreateValues(db.Statement))
    
    			db.Statement.Build(db.Statement.BuildClauses...)
    		}
    
    		isDryRun := !db.DryRun && db.Error == nil
    		if !isDryRun {
    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top