- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for selectCar (0.44 sec)
-
istioctl/pkg/util/handlers/handlers.go
} pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy) if err != nil { return "", "", fmt.Errorf("no pods match %q", resname) } return pod.Name, namespace, nil } // SelectorsForObject is a fork of upstream function to add additional Istio type support func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) { switch t := object.(type) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
nsMatchedLabels := make([]string, 0) podMatchedLabels := make([]string, 0) extractMatchLabels := func(selector *metav1.LabelSelector) []string { if selector == nil { return nil } labels := make([]string, 0) for _, me := range selector.MatchExpressions { if me.Operator != metav1.LabelSelectorOpIn { continue } for _, v := range me.Values {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
"XDS Endpoint") cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"), "XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector") cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"), "Istiod pod port") cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30, "The duration to wait before failing")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
t.Errorf("%s: unexpected request: %s %#v\n%#v", p, req.Method, req.URL, req) return nil, fmt.Errorf("unexpected request") } }), } getFirstPodFunc = func(client corev1client.PodsGetter, namespace string, selector string, timeout time.Duration, sortBy func([]*corev1.Pod) sort.Interface) ( *corev1.Pod, int, error, ) { return attachPod(namespace), 1, nil } for _, tt := range tests {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector") envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.") dashboardCmd.AddCommand(envoy) proxy := proxyDashCmd(cliContext) proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// GetFirstPod returns a pod matching the namespace and label selector // and the number of all pods that match the label selector. // This is forked from polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found func GetFirstPod(client v1.CoreV1Interface, namespace string, selector string) (*corev1.Pod, error) { options := metav1.ListOptions{LabelSelector: selector}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found") } if len(pl.Items) > 1 { log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name) } // only use the first pod in the list
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
levelToString[OffLevel]) logCmd.PersistentFlags().BoolVarP(&reset, "reset", "r", reset, "Reset levels to default value (warning).") logCmd.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector") logCmd.PersistentFlags().StringVar(&loggerLevelString, "level", loggerLevelString, fmt.Sprintf("Comma-separated minimum per-logger level of messages to output, in the form of"+
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard_test.go
WantException: true, }, { // case 7 Args: strings.Split("jaeger --browser=false", " "), ExpectedOutput: "Error: no pods found with selector app=jaeger\n", WantException: true, }, { // case 8 Args: strings.Split("kiali --browser=false", " "), ExpectedOutput: "Error: no pods found with selector app=kiali\n",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
}, { k8sConfigs: []runtime.Object{ &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "productpage", Namespace: "default", }, Spec: corev1.ServiceSpec{ Selector: map[string]string{ "app": "productpage", }, Ports: []corev1.ServicePort{ { Name: "http", Port: 9080, TargetPort: intstr.FromInt32(9080), },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0)