- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for selectCar (0.22 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) -
operator/cmd/mesh/manifest-generate_test.go
// Make sure default and revisions do not cross mustNotSelect(t, mustGetLabels(t, serviceRev, "spec.selector"), podLabels) mustNotSelect(t, mustGetLabels(t, service, "spec.selector"), podLabelsRev) mustNotSelect(t, mustGetLabels(t, pdbRev, "spec.selector.matchLabels"), podLabels) mustNotSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabelsRev) // Make sure the scaleTargetRef points to the correct Deployment
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
} func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) { t.Helper() kselector := labels2.Set(selector).AsSelectorPreValidated() if !kselector.Matches(labels2.Set(labels)) { t.Fatalf("%v does not select %v", selector, labels) } } func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) { t.Helper()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
abistr := p.get(scanner.Ident).String() if !p.allowABI { if issueError { p.errorf("ABI selector only permitted when compiling runtime, reference was to %q", name) } } else { theabi, valid := obj.ParseABI(abistr) if !valid { if issueError { p.errorf("malformed ABI selector %q in reference to %q", abistr, name) } } else { abi = theabi } } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
istioctl/pkg/admin/admin.go
cmd.HelpFunc()(cmd, args) return nil }, } istiodLog := istiodLogCmd(ctx) adminCmd.AddCommand(istiodLog) adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector") return adminCmd
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.4K bytes - Viewed (0)