- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for noArgs (0.12 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
ArgsValidator: cobra.NoArgs, }, newEtcdLocalSubphase(), newMarkControlPlaneSubphase(), }, } } func newEtcdLocalSubphase() workflow.Phase { return workflow.Phase{ Name: "etcd", Short: "Add a new local etcd member", Run: runEtcdPhase, InheritFlags: getControlPlaneJoinPhaseFlags("etcd"), ArgsValidator: cobra.NoArgs, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/config.go
groups, err := mapLegacyKindsToGroups(kinds) if err != nil { return err } return runConfigPrintActionDefaults(out, groups, configBytesProc) }, Args: cobra.NoArgs, } if action == "init" { cmd.Flags().StringSliceVar(&kinds, "component-configs", kinds,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 18.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
cmd := &cobra.Command{ Use: "generate-csr", Short: "Generate keys and certificate signing requests", Long: generateCSRLongDesc, Example: generateCSRExample, Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { if err := config.load(); err != nil { return err } return runGenCSR(out, config) }, } config.addFlagSet(cmd.Flags())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/version.go
cmd := &cobra.Command{ Use: "version", Short: "Print the version of kubeadm", RunE: func(cmd *cobra.Command, args []string) error { return RunVersion(out, cmd) }, Args: cobra.NoArgs, } cmd.Flags().StringP("output", "o", "", "Output format; available options are 'yaml', 'json' and 'short'") return cmd } // RunVersion provides the version information of kubeadm in format depending on arguments
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/runner_test.go
runner: Runner{ Phases: []Phase{phaseBuilder6("foo", cobra.NoArgs, phaseBuilder6("bar", cobra.ExactArgs(1)), phaseBuilder6("baz", customArgs), )}, }, testCases: map[string]argTest{ "phase foo": { pass: []string{}, fail: []string{"one"}, args: cobra.NoArgs, }, "phase foo bar": { pass: []string{"one"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 20:03:45 UTC 2023 - 15.2K bytes - Viewed (0) -
istioctl/pkg/config/config.go
} // Cmd represents the config subcommand command func Cmd() *cobra.Command { configCmd := &cobra.Command{ Use: "config SUBCOMMAND", Short: "Configure istioctl defaults", Args: cobra.NoArgs, Example: ` # list configuration parameters istioctl experimental config list`, } configCmd.AddCommand(listCommand()) return configCmd } func listCommand() *cobra.Command { listCmd := &cobra.Command{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Jul 30 12:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig.go
} // Otherwise, write a kubeconfig file with a generate client cert return kubeconfigphase.WriteKubeConfigWithClientCert(out, internalCfg, clientName, organizations, notAfter) }, Args: cobra.NoArgs, } options.AddConfigFlag(cmd.Flags(), &cfgPath) // Add command specific flags
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.6K bytes - Viewed (0) -
src/text/template/parse/lex_test.go
tRight, tEOF, }}, {"pipeline", `intro {{echo hi 1.2 |noargs|args 1 "hi"}} outro`, []item{ mkItem(itemText, "intro "), tLeft, mkItem(itemIdentifier, "echo"), tSpace, mkItem(itemIdentifier, "hi"), tSpace, mkItem(itemNumber, "1.2"), tSpace, tPipe, mkItem(itemIdentifier, "noargs"), tPipe, mkItem(itemIdentifier, "args"), tSpace, mkItem(itemNumber, "1"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
printer, err := outputFlags.ToPrinter() if err != nil { return errors.Wrap(err, "could not construct output printer") } return RunListTokens(out, errW, client, printer) }, Args: cobra.NoArgs, } outputFlags.AddFlags(listCmd) tokenCmd.AddCommand(listCmd) deleteCmd := &cobra.Command{ Use: "delete [token-value] ...", DisableFlagsInUseLine: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0)