Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SubCmdRun (0.14 sec)

  1. cmd/kubeadm/app/cmd/config.go

    		// cobra will print usage information, but still exit cleanly.
    		// We want to return an error code in these cases so that the
    		// user knows that their command was invalid.
    		Run: cmdutil.SubCmdRun(),
    	}
    
    	options.AddKubeConfigFlag(cmd.PersistentFlags(), &kubeConfigFile)
    
    	kubeConfigFile = cmdutil.GetKubeConfigPath(kubeConfigFile)
    	cmd.AddCommand(newCmdConfigPrint(out))
    	cmd.AddCommand(newCmdConfigMigrate(out))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    func newCmdCertsUtility(out io.Writer) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:     "certs",
    		Aliases: []string{"certificates"},
    		Short:   "Commands related to handling kubernetes certificates",
    		Run:     cmdutil.SubCmdRun(),
    	}
    
    	cmd.AddCommand(newCmdCertsRenewal(out))
    	cmd.AddCommand(newCmdCertsExpiration(out, kubeadmconstants.KubernetesDir))
    	cmd.AddCommand(newCmdCertificateKey())
    	cmd.AddCommand(newCmdGenCSR(out))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/token.go

    		// cobra will print usage information, but still exit cleanly.
    		// We want to return an error code in these cases so that the
    		// user knows that their command was invalid.
    		Run: cmdutil.SubCmdRun(),
    	}
    
    	options.AddKubeConfigFlag(tokenCmd.PersistentFlags(), &kubeConfigFile)
    	tokenCmd.PersistentFlags().BoolVar(&dryRun,
    		options.DryRun, dryRun, "Whether to enable dry-run mode or not")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top