- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for Pound (0.12 sec)
-
istioctl/pkg/writer/envoy/configdump/cluster.go
err = c.Cluster.UnmarshalTo(clusterTyped) if err != nil { return nil, err } clusters = append(clusters, clusterTyped) } } if len(clusters) == 0 { return nil, fmt.Errorf("no clusters found") } sort.Slice(clusters, func(i, j int) bool { iDirection, iSubset, iName, iPort := safelyParseSubsetKey(clusters[i].Name) jDirection, jSubset, jName, jPort := safelyParseSubsetKey(clusters[j].Name)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
if err != nil { return err } if len(secretDump.DynamicActiveSecrets) == 0 && len(secretDump.DynamicWarmingSecrets) == 0 { fmt.Fprintln(c.Stdout, "No active or warming secrets found.") return nil } secretItems, err := sdscompare.GetEnvoySecrets(c.configDump) if err != nil { return err } secretWriter := sdscompare.NewSDSWriter(c.Stdout, sdscompare.TABULAR)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// 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
if err != nil { return nil, "", fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return nil, "", errors.New("no pods found") } for _, pod := range pl.Items { podNames = append(podNames, pod.Name) } ns = pl.Items[0].Namespace return podNames, ns, nil } func ecdsConfigCmd(ctx cli.Context) *cobra.Command {
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
ExpectedOutput: "Error: no pods found with selector app=kiali\n", WantException: true, }, { // case 9 Args: strings.Split("prometheus --browser=false", " "), ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=prometheus\n", WantException: true, }, { // case 10 Args: strings.Split("zipkin --browser=false", " "), ExpectedOutput: "Error: no pods found with selector app=zipkin\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/waypoint/waypoint.go
List(context.Background(), metav1.ListOptions{}) if err != nil { return err } if len(gws.Items) == 0 { fmt.Fprintln(writer, "No waypoints found.") return nil } w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0) slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int { if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d", tc.numWebhooks, len(wh.Webhooks)) } tag, exists := wh.ObjectMeta.Labels[IstioTagLabel] if !exists { t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel) } if tag != tc.tagName { t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
args: strings.Split("po not-a-pod", " "), expectedString: "pods \"not-a-pod\" not found", wantException: true, // "istioctl experimental describe pod not-a-pod" should fail }, { // case 8 unknown service args: strings.Split("service not-a-service", " "), expectedString: "services \"not-a-service\" not found", wantException: true, // "istioctl experimental describe service not-a-service" should fail },
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) -
istioctl/pkg/tag/tag.go
func buildDeleteTagConfirmation(tag string, taggedNamespaces []string) string { var sb strings.Builder base := fmt.Sprintf("Caution, found %d namespace(s) still injected by tag %q:", len(taggedNamespaces), tag) sb.WriteString(base) for _, ns := range taggedNamespaces { sb.WriteString(" " + ns) } sb.WriteString("\nProceed with operation? [y/N]")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0)