- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Cobra (0.03 sec)
-
istioctl/pkg/dashboard/dashboard.go
} func Dashboard(cliContext cli.Context) *cobra.Command { dashboardCmd := &cobra.Command{ Use: "dashboard", Aliases: []string{"dash", "d"}, Short: "Access to Istio web UIs", Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown dashboard %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K 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/admin/istiodconfig.go
validationPattern = `^\w+:(debug|error|warn|info|debug)` ) func istiodLogCmd(ctx cli.Context) *cobra.Command { var controlzPort int var opts clioptions.ControlPlaneOptions outputLogLevel := "" stackTraceLevel := "" // output format (yaml or short) outputFormat := "short" logCmd := &cobra.Command{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
defaultWebhookName = "sidecar-injector.istio.io" ) func InjectCommand(cliContext cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions var centralOpts clioptions.CentralControlPlaneOptions injectCmd := &cobra.Command{ Use: "kube-inject", Short: "Inject Istio sidecar into Kubernetes pod resources", Long: `
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 21K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
ignoreUnknown bool revisionSpecified string remoteContexts []string fileExtensions = []string{".json", ".yaml", ".yml"} ) // Analyze command func Analyze(ctx cli.Context) *cobra.Command { var verbose bool analysisCmd := &cobra.Command{ Use: "analyze <file>...", Short: "Analyze Istio configuration and print validation messages", Long: fmt.Sprintf("Analyze Istio configuration and print validation messages.\n"+
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0)