- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Itoa (0.02 sec)
-
cni/pkg/repair/netns.go
"github.com/prometheus/procfs" corev1 "k8s.io/api/core/v1" "istio.io/istio/pkg/log" ) func getPidNamespace(pid int) string { return "/host/proc/" + strconv.Itoa(pid) + "/ns/net" } func runInHost[T any](f func() (T, error)) (T, error) { var res T ns := getPidNamespace(1) err := netns.WithNetNSPath(ns, func(_ netns.NetNS) error { var err error res, err = f()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
addrs = append(addrs, a.GetAddress()) } result := make([]string, 0, len(addrs)) for _, addr := range addrs { if addr := addr.GetSocketAddress(); addr != nil { result = append(result, addr.Address+":"+strconv.Itoa(int(addr.GetPortValue()))) continue } if addr := addr.GetPipe(); addr != nil { result = append(result, addr.GetPath()) continue } if internal := addr.GetEnvoyInternalAddress(); internal != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} return strings.EqualFold(inject, "false") } func renderCounts(injectedRevision string, counts revisionCount) string { if counts.pods == 0 { return "<no pods>" } podText := strconv.Itoa(counts.pods) if counts.disabled > 0 { podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled) } if counts.needsRestart > 0 { podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
func getIstioVirtualServicePathForSvcFromRoute(cd *configdump.Wrapper, svc corev1.Service, port int32) (string, error) { sPort := strconv.Itoa(int(port)) // Routes know their destination Service name, namespace, and port, and the DR that configures them rcd, err := cd.GetDynamicRouteDump(false) if err != nil { return "", err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0)