- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for fmt (0.13 sec)
-
istioctl/pkg/waypoint/waypoint.go
break } if time.Since(startTime) > waitTimeout { errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name) if err != nil { errorMsg += fmt.Sprintf(": %s", err) } return fmt.Errorf(errorMsg) } } } fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v applied\n", gw.Namespace, gw.Name)
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/tag.go
if len(args) == 0 { return fmt.Errorf("must provide a tag for modification") } if len(args) > 1 { return fmt.Errorf("must provide a single tag for creation") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) }
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) -
cni/pkg/config/config.go
b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n") b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n") b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n") b.WriteString("AmbientIPv6: " + fmt.Sprint(c.AmbientIPv6) + "\n") return b.String() } func (c RepairConfig) String() string { var b strings.Builder
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
}) for _, match := range matches { if includeConfigType { name := fmt.Sprintf("listener/%s", l.Name) fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination) } else { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination) } } } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
case redirectModeREDIRECT: case redirectModeTPROXY: default: return fmt.Errorf("interceptionMode invalid: %v", mode) } return nil } func validateCIDRList(cidrs string) error { if len(cidrs) > 0 { for _, cidr := range strings.Split(cidrs, ",") { if _, err := netip.ParsePrefix(cidr); err != nil { return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err) } } } return nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
} func (pi PodInfo) String() string { var b strings.Builder b.WriteString(fmt.Sprintf(" Containers: %v\n", sets.SortedList(pi.Containers))) b.WriteString(fmt.Sprintf(" Labels: %+v\n", pi.Labels)) b.WriteString(fmt.Sprintf(" Annotations: %+v\n", pi.Annotations)) b.WriteString(fmt.Sprintf(" Envs: %+v\n", pi.ProxyEnvironments)) b.WriteString(fmt.Sprintf(" ProxyConfig: %+v\n", pi.ProxyEnvironments)) return b.String()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
sb strings.Builder ) fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch()) if label, ok := md[buildLabelKey]; ok { fmt.Fprintf(&sb, "-%s", label.GetStringValue()) } if status, ok := md[statusKey]; ok { fmt.Fprintf(&sb, "/%s", status.GetStringValue()) } if typ, ok := md[buildTypeKey]; ok { fmt.Fprintf(&sb, "/%s", typ.GetStringValue()) }
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/writer/ztunnel/configdump/certificates.go
package configdump import ( "encoding/json" "fmt" "math/big" "strings" "text/tabwriter" "time" "sigs.k8s.io/yaml" "istio.io/istio/pkg/log" ) // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintSecretDump(outputFormat string) error { if c.ztunnelDump == nil { return fmt.Errorf("config writer has not been primed") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if nsMatched && podMatched { if nsLabel != "" && podLabel != "" { return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true } else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
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) -
operator/cmd/mesh/profile-diff_test.go
shouldFail: true, }, { args: fmt.Sprintf("profile diff default unknown-profile --manifests %s", snapshotCharts), shouldFail: true, }, { args: fmt.Sprintf("profile diff default default --manifests %s", snapshotCharts), expectedString: "Profiles are identical", }, { args: fmt.Sprintf("profile diff demo demo --manifests %s", snapshotCharts),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1)