- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for IsDryRun (0.52 sec)
-
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java
this.listeners = listeners; this.configFailurePolicy = configFailurePolicy; this.preserveOrder = preserveOrder; this.groupByInstances = groupByInstances; this.isDryRun = isDryRun; } public TestFilterSpec getFilter() { return filter; } public Set<String> getListeners() { return listeners; } public Set<String> getExcludeGroups() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 18 12:30:10 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/webhooks/validation/server/server.go
serve(w, r, wh.validate) } func (wh *Webhook) validate(request *kube.AdmissionRequest) *kube.AdmissionResponse { isDryRun := request.DryRun != nil && *request.DryRun addDryRunMessageIfNeeded := func(errStr string) error { err := fmt.Errorf("%s", errStr) if isDryRun { err = fmt.Errorf("%s (dry run)", err) } return err } switch request.Operation { case kube.Create, kube.Update:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 04 06:13:56 UTC 2024 - 9.3K bytes - Viewed (0) -
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) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
return containerRuntime.RemoveContainers(containers) } // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean. func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) { if !isDryRun { fmt.Printf("[reset] Deleting contents of directories: %v\n", dirsToClean) for _, dir := range dirsToClean { if err := CleanDir(dir); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)