- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AddCommand (0.08 sec)
-
istioctl/cmd/root.go
} rootCmd.AddCommand(experimentalCmd) rootCmd.AddCommand(proxyconfig.ProxyConfig(ctx)) rootCmd.AddCommand(admin.Cmd(ctx)) experimentalCmd.AddCommand(injector.Cmd(ctx)) rootCmd.AddCommand(mesh.UninstallCmd(ctx)) experimentalCmd.AddCommand(authz.AuthZ(ctx)) rootCmd.AddCommand(seeExperimentalCmd("authz")) experimentalCmd.AddCommand(metrics.Cmd(ctx)) experimentalCmd.AddCommand(describe.Cmd(ctx))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
istioctl/cmd/root_test.go
parent.SetOut(&out) parent.SetErr(&out) child := &cobra.Command{ Use: "child", Run: func(c *cobra.Command, args []string) {}, } _ = parent.PersistentFlags().String(childFlag2, "", childFlag2) parent.AddCommand(child) // verify both parent flags and the child flag are visible by default parent.SetArgs([]string{"child", "--help"}) if err := parent.Execute(); err != nil { t.Fatal(err) } got := out.String()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
istioctl/pkg/admin/admin.go
} return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } istiodLog := istiodLogCmd(ctx) adminCmd.AddCommand(istiodLog) adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector") return adminCmd
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/config/config.go
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{ Use: "list", Short: "List istio configurable defaults", Args: cobra.ExactArgs(0),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Jul 30 12:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
func AuthZ(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "authz", Short: "Inspect Istio AuthorizationPolicy", } cmd.AddCommand(checkCmd(ctx)) cmd.Long += "\n\n" + util.ExperimentalMsg return cmd
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0)