- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Cobra (0.02 sec)
-
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
needsRestart int } func Cmd(cliContext cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "injector", Short: "List sidecar injector and sidecar versions", Long: `List sidecar injector and sidecar versions`, Example: ` istioctl experimental injector list`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
_ = cmd.MarkPersistentFlagRequired("revision") return cmd } func tagListCommand(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "list", Short: "List existing revision tags", Example: " istioctl tag list", Aliases: []string{"show"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("tag list command does not accept arguments")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
cni/pkg/cmd/root.go
o := ctrlz.DefaultOptions() o.EnablePprof = true return o }() ) var rootCmd = &cobra.Command{ Use: "install-cni", Short: "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.", SilenceUsage: true, PreRunE: func(c *cobra.Command, args []string) error { if err := istiolog.Configure(logOptions); err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 15:33:47 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
"istio.io/istio/pkg/slices" ) const ( jsonOutput = "json" yamlOutput = "yaml" summaryOutput = "short" defaultProxyAdminPort = 15000 ) func ZtunnelConfig(ctx cli.Context) *cobra.Command { configCmd := &cobra.Command{ Use: "ztunnel-config", Short: "Update or retrieve current Ztunnel configuration.", Long: "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
# Show the status of the waypoint in a specific namespace istioctl waypoint status --namespace default`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
} func groupCommand(ctx cli.Context) *cobra.Command { groupCmd := &cobra.Command{ Use: "group", Short: "Commands dealing with WorkloadGroup resources", Example: " istioctl x workload group create --name foo --namespace bar --labels app=foobar", } groupCmd.AddCommand(createCommand(ctx)) return groupCmd } func entryCommand(ctx cli.Context) *cobra.Command { entryCmd := &cobra.Command{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 25.3K bytes - Viewed (0) -
istioctl/pkg/version/version.go
"istio.io/istio/pilot/pkg/xds" "istio.io/istio/pkg/proxy" istioVersion "istio.io/istio/pkg/version" ) func NewVersionCommand(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var versionCmd *cobra.Command versionCmd = istioVersion.CobraCommandWithOptions(istioVersion.CobraOptions{ GetRemoteVersion: getRemoteInfoWrapper(ctx, &versionCmd, &opts), GetProxyVersions: getProxyInfoWrapper(ctx, &opts), })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return "" } return injectionStatus.Revision } func Cmd(ctx cli.Context) *cobra.Command { describeCmd := &cobra.Command{ Use: "describe", Aliases: []string{"des"}, Short: "Describe resource and related Istio configuration", Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown resource type %q", args[0]) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0)