- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ret (0.13 sec)
-
istioctl/pkg/xds/google.go
ret := map[string]string{ "x-goog-user-project": c.project, } if err := updateAuthHdrs(ctx, uri, "k8s", c.k8sCreds, ret, "x-mesh-authorization"); err != nil { return nil, err } if err := updateAuthHdrs(ctx, uri, "gcp", c.gcpCreds, ret, "authorization"); err != nil { return nil, err } return ret, nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Nov 14 20:23:34 GMT 2022 - 3.4K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
Netns: ns, } pods.pods = map[string]WorkloadInfo{ string(pod.UID): workload, } ret := connectWithPods(ctx, pods) return struct { ztunClient *net.UnixConn ztunServer *ztunnelServer uid string }{ztunClient: ret.ztunClient, ztunServer: ret.ztunServer, uid: string(pod.UID)} } func connectWithPods(ctx context.Context, pods PodNetnsCache) struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
operator/cmd/mesh/install.go
opts.ProgressLog.SetState(progress.StateComplete) return nil } func savedIOPName(iop *v1alpha12.IstioOperator) string { ret := "installed-state" if iop.Name != "" { ret += "-" + iop.Name } if iop.Spec.Revision != "" { ret += "-" + iop.Spec.Revision } return ret } // detectIstioVersionDiff will show warning if istioctl version and control plane version are different // nolint: interfacer
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
istioctl/pkg/multixds/google.go
return strings.HasSuffix(u.Host, ".googleapis.com") || strings.HasSuffix(u.Host, ".googleapis.com:443") } func parseMCPAddr(u *url.URL) (*xdsAddr, error) { ret := &xdsAddr{host: u.Host} if !strings.HasSuffix(ret.host, ":443") { ret.host += ":443" } const projSeg = "/projects/" i := strings.Index(u.Path, projSeg) if i == -1 { return nil, fmt.Errorf("webhook URL %s doesn't contain the projects segment", u)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 1.5K bytes - Viewed (1) -
cni/pkg/nodeagent/ztunnelserver.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
shouldDelete.Insert(h) } } // Filter from original list to keep original order ret := make([]string, 0, len(domains)) for _, h := range domains { if !shouldDelete.Contains(h) { ret = append(ret, h) } } return ret } func describeManagement(metadata *core.Metadata) string { if metadata == nil { return "" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/netns.go
netns io.Closer fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error { if n.netns == nil { return nil } ret := n.netns.Close() // set fd to invalid value, so if something uses it by mistake it will err uintZero := uintptr(0) n.fd = ^uintZero return ret } func (n *NetnsWithFd) Fd() uintptr { return n.fd } func (n *NetnsWithFd) Inode() uint64 { return n.inode
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.2K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
func (o *ObjectSet) kind(kind string) *ObjectSet { ret := &ObjectSet{} for k, v := range o.objMap { objKind, _, _ := object.FromHash(k) if objKind == kind { ret.append(v) } } return ret } // labels returns a subset of o where the object's labels match all the given labels. func (o *ObjectSet) labels(labels ...string) *ObjectSet { ret := &ObjectSet{} for _, obj := range o.objMap {
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/wait/wait_test.go
}) k, err := cl.CLIClient() if err != nil { t.Fatal(err) } fc := k.Dynamic().(*dynamicfake.FakeDynamicClient) fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := fc.Tracker().Watch(gvr, ns) if err != nil { return false, nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1)