Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for dryrun (0.15 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            this.filter = filter;
            this.objects = objects;
            this.testTaskTemporaryDir = testTaskTemporaryDir;
            this.htmlReport = htmlReport;
            this.options = options;
            this.detector = new TestNGDetector(new ClassFileExtractionManager(testTaskTemporaryDir));
            this.dryRun = dryRun;
    
            conventionMapOutputDirectory(options, htmlReport);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go

    		return err
    	}
    
    	return nil
    }
    
    // newControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up.
    func newControlPlaneWaiter(dryRun bool, timeout time.Duration, client clientset.Interface, out io.Writer) (apiclient.Waiter, error) {
    	if dryRun {
    		return dryrunutil.NewWaiter(), nil
    	}
    	return apiclient.NewKubeWaiter(client, timeout, out), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/reset_test.go

    					t.Error("Invalid forceReset")
    				}
    			},
    		},
    		{
    			name: "dryRun configured in the config file only",
    			flags: map[string]string{
    				options.CfgPath: configFilePath,
    			},
    			validate: func(t *testing.T, data *resetData) {
    				if data.dryRun != true {
    					t.Error("Invalid dryRun")
    				}
    			},
    		},
    		{
    			name: "--cert-dir flag is not allowed to mix with config",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	// TODO: think of a better place to move this call - e.g. a hidden phase.
    	if data.DryRun() {
    		if err := dryrunutil.PrintFilesIfDryRunning(true /* needPrintManifest */, data.ManifestDir(), data.OutputWriter()); err != nil {
    			return errors.Wrap(err, "error printing files on dryrun")
    		}
    	}
    
    	// Both Wait* calls below use a /healthz endpoint, thus a client without permissions works fine
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    }
    
    func writeFiles(dir string, files map[string]string, dryRun bool) {
    	defer logRuntime(time.Now(), "Done writing files for dir %v", dir)
    	for fname, text := range files {
    		writeFile(filepath.Join(dir, fname), text, dryRun)
    	}
    }
    
    func writeFile(path, text string, dryRun bool) {
    	if dryRun {
    		return
    	}
    	if strings.TrimSpace(text) == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate.go

    func RenderToDir(manifests name.ManifestMap, outputDir string, dryRun bool, l clog.Logger) error {
    	l.LogAndPrintf("Component dependencies tree: \n%s", helmreconciler.InstallTreeString())
    	l.LogAndPrintf("Rendering manifests to output dir %s", outputDir)
    	return renderRecursive(manifests, helmreconciler.InstallTree, outputDir, dryRun, l)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/shared.go

    type applyOptions struct {
    	// Path to the kubeconfig file.
    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/root.go

    )
    
    type RootArgs struct {
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    }
    
    func addFlags(cmd *cobra.Command, rootArgs *RootArgs) {
    	cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "",
    		false, "Console/log output only, make no changes.")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    			options.Patches,
    			options.DryRun,
    		}
    	case "download-certs":
    		flags = []string{
    			options.CfgPath,
    			options.ControlPlane,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.CertificateKey,
    			options.DryRun,
    		}
    	case "certs":
    		flags = []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/certs.go

    		if cert, err := pkiutil.TryLoadCertFromDisk(data.CertificateDir(), ca.BaseName); err == nil {
    			certsphase.CheckCertificatePeriodValidity(ca.BaseName, cert)
    
    			// If CA Cert existed while dryrun, copy CA Cert to dryrun dir for later use
    			if data.DryRun() {
    				err := kubeadmutil.CopyFile(filepath.Join(data.CertificateDir(), kubeadmconstants.CACertName), filepath.Join(data.CertificateWriteDir(), kubeadmconstants.CACertName))
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top