Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 354 for dryrun (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/registry/core/service/storage/alloc.go

    }
    
    func (al *Allocators) txnAllocClusterIPs(service *api.Service, dryRun bool) (transaction, error) {
    	// clusterIPs that were allocated may need to be released in case of
    	// failure at a higher level.
    	allocated, err := al.allocClusterIPs(service, dryRun)
    	if err != nil {
    		return nil, err
    	}
    
    	txn := callbackTransaction{
    		revert: func() {
    			if dryRun {
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  6. 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)
  7. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    		Run:     runKubeletStart,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.NodeName,
    			options.Patches,
    			options.DryRun,
    		},
    	}
    }
    
    // runKubeletStart executes kubelet start logic.
    func runKubeletStart(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K 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/phases/upgrade/postupgrade_test.go

    	if _, err := isPrivileged.Check(); err != nil {
    		return
    	}
    	testCases := []struct {
    		name       string
    		dryrun     bool
    		patchesDir string
    		errPattern string
    		cfg        *kubeadmapi.InitConfiguration
    	}{
    		// Be careful that if the dryrun is set to false and the test is run on a live cluster, the kubelet config file might be overwritten.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 11:40:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. 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)
Back to top