- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Bool (0.14 sec)
-
cni/pkg/cmd/root.go
func registerIntegerParameter(name string, value int, usage string) { rootCmd.Flags().Int(name, value, usage) registerEnvironment(name, value, usage) } func registerBooleanParameter(name string, value bool, usage string) { rootCmd.Flags().Bool(name, value, usage) registerEnvironment(name, value, usage) } func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
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.") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/cmd/root.go
rootCmd.AddCommand(validateCmd) rootCmd.AddCommand(optionsCommand(rootCmd)) // BFS applies the flag error function to all subcommands seenCommands := make(map[*cobra.Command]bool) var commandStack []*cobra.Command commandStack = append(commandStack, rootCmd) for len(commandStack) > 0 { n := len(commandStack) - 1 curCmd := commandStack[n] commandStack = commandStack[:n]
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0)