- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for selectCar (0.24 sec)
-
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/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) -
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) -
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/describe/describe.go
if err != nil { return err } matchingServices := make([]corev1.Service, 0, len(svcs.Items)) for _, svc := range svcs.Items { if len(svc.Spec.Selector) > 0 { svcSelector := klabels.SelectorFromSet(svc.Spec.Selector) if svcSelector.Matches(podLabels) { matchingServices = append(matchingServices, svc) } } } // Validate Istio's "Service association" requirement
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K 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/proxyconfig/proxyconfig_test.go
wantException: true, // "istioctl proxy-config listeners invalid" should fail }, { // logging empty args: strings.Split("log", " "), expectedString: "Error: log requires pod name or --selector", wantException: true, // "istioctl proxy-config logging empty" should fail }, { // logging invalid args: strings.Split("log invalid", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K 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)