- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 183 for cobra (0.04 sec)
-
pkg/version/cobra.go
// CobraCommand returns a command used to print version information. func CobraCommand() *cobra.Command { return CobraCommandWithOptions(CobraOptions{}) } // CobraCommandWithOptions returns a command used to print version information. // It accepts an CobraOptions argument that might modify its behavior func CobraCommandWithOptions(options CobraOptions) *cobra.Command { var ( short bool output string remote bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/collateral/cobra.go
John Howard <******@****.***> 1704858696 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 679 bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
return nil, cobra.ShellCompDirectiveNoFileComp } return nsName, cobra.ShellCompDirectiveNoFileComp } func ValidServiceAccountArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { if len(args) != 0 { return nil, cobra.ShellCompDirectiveNoFileComp } client, err := ctx.CLIClient() if err != nil { return nil, cobra.ShellCompDirectiveNoFileComp }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
} func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump", Short: "Dumps the Istio operator controller manifest.", Long: "The dump subcommand dumps the Istio operator controller manifest.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.6K bytes - Viewed (0) -
istioctl/cmd/root.go
_ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) { return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete) }) _ = rootCmd.RegisterFlagCompletionFunc(cli.FlagNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/runner_test.go
fail: []string{"one", "two"}, args: cobra.ExactArgs(3), }, }, cmd: &cobra.Command{ Use: "init", Args: cobra.ExactArgs(3), }, }, { name: "container cmd expect none, custom arg check for leaf", runner: Runner{ Phases: []Phase{phaseBuilder6("foo", cobra.NoArgs, phaseBuilder6("bar", cobra.ExactArgs(1)), phaseBuilder6("baz", customArgs), )},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 20:03:45 UTC 2023 - 15.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/config.go
"k8s.io/kubernetes/cmd/kubeadm/app/util/output" utilruntime "k8s.io/kubernetes/cmd/kubeadm/app/util/runtime" ) // newCmdConfig returns cobra.Command for "kubeadm config" command func newCmdConfig(out io.Writer) *cobra.Command { var kubeConfigFile string cmd := &cobra.Command{ Use: "config", Short: "Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster", Long: fmt.Sprintf(dedent.Dedent(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 18.9K bytes - Viewed (0) -
pkg/ctrlz/options.go
Port: 9876, Address: "localhost", } } // AttachCobraFlags attaches a set of Cobra flags to the given Cobra command. // // Cobra is the command-line processor that Istio uses. This command attaches // the necessary set of flags to expose a CLI to let the user control all // introspection options. func (o *Options) AttachCobraFlags(cmd *cobra.Command) { cmd.PersistentFlags().Uint16Var(&o.Port, "ctrlz_port", o.Port,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 11 21:42:29 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
err := cw.Prime(debug) if err != nil { return nil, err } return cw, nil } func clusterConfigCmd(ctx cli.Context) *cobra.Command { var podName, podNamespace string clusterConfigCmd := &cobra.Command{ Use: "cluster [<type>/]<name>[.<namespace>]", Short: "Retrieves cluster configuration for the Envoy in the specified pod",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 03:28:36 UTC 2024 - 48K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/request.go
package app import ( "net/http" "time" "github.com/spf13/cobra" "istio.io/istio/pilot/pkg/request" ) var requestCmd = &cobra.Command{ Use: "request <method> <path> [<body>]", Short: "Makes an HTTP request to Pilot metrics/debug endpoint", Args: cobra.MinimumNArgs(2), RunE: func(c *cobra.Command, args []string) error { command := &request.Command{ Address: "127.0.0.1:15014",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 28 03:44:33 UTC 2021 - 1.1K bytes - Viewed (0)