Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ValidPodsNameArgs (0.18 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				return cw.PrintSecretDump(common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	common.attach(cmd)
    
    	return cmd
    }
    
    func servicesCmd(ctx cli.Context) *cobra.Command {
    	var serviceNamespace string
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    				return configWriter.PrintClusterDump(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	clusterConfigCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o", summaryOutput, "Output format: one of json|yaml|short")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. istioctl/pkg/completion/completion.go

    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    	return podsName, nil
    }
    
    func ValidPodsNameArgs(ctx cli.Context) func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    	return func(_ *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/authz.go

    			}
    
    			analyzer, err := NewAnalyzer(configDump)
    			if err != nil {
    				return err
    			}
    			analyzer.Print(cmd.OutOrStdout())
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	cmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    		"The json file with Envoy config dump to be checked")
    	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)
  5. istioctl/pkg/proxystatus/proxystatus.go

    				return err
    			}
    			sw := pilot.XdsStatusWriter{
    				Writer:    c.OutOrStdout(),
    				Namespace: ctx.Namespace(),
    			}
    			return sw.PrintAll(xdsResponses)
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	opts.AttachControlPlaneFlags(statusCmd)
    	centralOpts.AttachControlPlaneFlags(statusCmd)
    	statusCmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    		"Envoy config dump JSON file")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/checkinject/checkinject.go

    				return err
    			}
    			checkResults := analyzeRunningWebhooks(whs.Items, podLabels, nsLabels)
    			return printCheckInjectorResults(cmd.OutOrStdout(), checkResults)
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	cmd.PersistentFlags().StringVarP(&labelPairs, "labels", "l", "",
    		"Check namespace and label pairs injection status, split multiple labels by commas")
    	return cmd
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return run(cmd, ctx, args)
    		},
    		DisableFlagsInUseLine: true,
    		ValidArgsFunction:     completion.ValidPodsNameArgs(ctx),
    	}
    
    	cmd.PersistentFlags().DurationVarP(&metricsDuration, "duration", "d", time.Minute, "Duration of query metrics, default value is 1m.")
    
    	return cmd
    }
    
    type workloadMetrics struct {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    			err = istiodConfigCmd.execute(logCmd.OutOrStdout())
    			if err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	opts.AttachControlPlaneFlags(logCmd)
    	logCmd.PersistentFlags().BoolVar(&istiodReset, "reset", istiodReset, "Reset levels to default value. (info)")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    			// Now look for ingress gateways
    			return printIngressInfo(writer, matchingServices, podsLabels, client.Kube(), configClient, kubeClient)
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	cmd.PersistentFlags().BoolVar(&ignoreUnmeshed, "ignoreUnmeshed", false,
    		"Suppress warnings for unmeshed pods")
    	cmd.Long += "\n\n" + istioctlutil.ExperimentalMsg
    	return cmd
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top