- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 471 for dryrun (0.11 sec)
-
tools/bug-report/pkg/kubectlcmd/kubectlcmd.go
// RunCmd runs the given command in kubectl, adding -n namespace if namespace is not empty. func (r *Runner) RunCmd(command, namespace, kubeConfig, kubeContext string, dryRun bool) (string, error) { return r.Run(strings.Split(command, " "), &Options{ Namespace: namespace, DryRun: dryRun, Kubeconfig: kubeConfig, Context: kubeContext, }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset.go
inputReader: in, outputWriter: out, cfg: initCfg, resetCfg: resetCfg, dryRun: cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, resetCfg.DryRun, opts.externalcfg.DryRun).(bool), forceReset: cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.ForceReset, resetCfg.Force, opts.externalcfg.Force).(bool),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 12:26:58 UTC 2023 - 11.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
if err != nil { return nil, err } dryRun, ok := cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, upgradeCfg.Node.DryRun, &nodeOptions.dryRun).(*bool) if !ok { return nil, cmdutil.TypeMismatchErr("dryRun", "bool") } client, err := getClient(nodeOptions.kubeConfigPath, *dryRun) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestFramework.java
this.filter = filter; this.useImplementationDependencies = useImplementationDependencies; this.options = options; this.testTaskTemporaryDir = testTaskTemporaryDir; this.detector = new JUnitDetector(new ClassFileExtractionManager(testTaskTemporaryDir)); this.dryRun = dryRun; } @UsedByScanPlugin("test-retry")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
dirsToClean = append(dirsToClean, tempDir) } resetConfigDir(kubeadmconstants.KubernetesDir, dirsToClean, r.DryRun()) if r.Cfg() != nil && features.Enabled(r.Cfg().FeatureGates, features.RootlessControlPlane) { if !r.DryRun() { klog.V(1).Infoln("[reset] Removing users and groups created for rootless control-plane") if err := users.RemoveUsersAndGroups(); 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) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go
allErrs = append(allErrs, ValidateDryRun(field.NewPath("dryRun"), options.DryRun)...) return allErrs } func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList { allErrs := field.ErrorList{} allErrs = append(allErrs, ValidateFieldManager(options.FieldManager, field.NewPath("fieldManager"))...) allErrs = append(allErrs, ValidateDryRun(field.NewPath("dryRun"), options.DryRun)...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 13.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/kubeletconfig.go
cfg := data.InitCfg() dryRun := data.DryRun() // Write the configuration for the kubelet down to disk and print the generated manifests instead if dry-running. // If not dry-running, the kubelet config file will be backed up to /etc/kubernetes/tmp/ dir, so that it could be // recovered if there is anything goes wrong. err := upgrade.WriteKubeletConfigFiles(cfg, data.PatchesDir(), dryRun, data.OutputWriter()) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction.go
return &metav1.DeleteOptions{DryRun: options.DryRun}, nil } if len(eviction.DeleteOptions.DryRun) == 0 { eviction.DeleteOptions.DryRun = options.DryRun return eviction.DeleteOptions, nil } if len(options.DryRun) == 0 { return eviction.DeleteOptions, nil } if !reflect.DeepEqual(options.DryRun, eviction.DeleteOptions.DryRun) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 11:58:48 UTC 2023 - 18.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
} return &initData{ cfg: cfg, certificatesDir: cfg.CertificatesDir, skipTokenPrint: initOptions.skipTokenPrint, dryRun: cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, cfg.DryRun, initOptions.dryRun).(bool), dryRunDir: dryRunDir, kubeconfigDir: initOptions.kubeconfigDir, kubeconfigPath: initOptions.kubeconfigPath,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
cfg := data.InitCfg() client := data.Client() dryRun := data.DryRun() etcdUpgrade := data.EtcdUpgrade() renewCerts := data.RenewCerts() patchesDir := data.PatchesDir() // Upgrade the control plane and etcd if installed on this node fmt.Printf("[upgrade] Upgrading your Static Pod-hosted control plane instance to version %q...\n", cfg.KubernetesVersion) if dryRun { return upgrade.DryRunStaticPodUpgrade(patchesDir, cfg)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 2.8K bytes - Viewed (0)