- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Append (0.15 sec)
-
cni/pkg/iptables/iptables_linux.go
} func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error { var rules []*netlink.Rule families := []int{unix.AF_INET} if cfg.EnableIPv6 { families = append(families, unix.AF_INET6) } for _, family := range families { // Equiv: // ip rule add fwmark 0x111/0xfff pref 32764 lookup 100 // // Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
w := c.tabwriter() zDump := c.ztunnelDump verifiedWorkloads := make([]*ZtunnelWorkload, 0, len(zDump.Workloads)) for _, wl := range zDump.Workloads { if filter.Verify(wl) { verifiedWorkloads = append(verifiedWorkloads, wl) } } // Sort by name, node sort.Slice(verifiedWorkloads, func(i, j int) bool { in := verifiedWorkloads[i].Namespace + "." + verifiedWorkloads[i].Name
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
log.Warnf("failed to sync host IPset: %v", err) consErr = append(consErr, err) } podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID) if err := s.buildZtunnelSnapshot(podsByUID); err != nil { log.Warnf("failed to construct initial ztunnel snapshot: %v", err) consErr = append(consErr, err) } return errors.Join(consErr...) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/ipset/nldeps_linux.go
} var delErrs []error for _, entry := range res.Entries { if entry.IP.Equal(delIP) { err := netlink.IpsetDel(name, &entry) if err != nil { delErrs = append(delErrs, fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err)) } } } return errors.Join(delErrs...) } func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
} var delErrs []error iptablesVariant := []dep.IptablesVersion{} iptablesVariant = append(iptablesVariant, cfg.iptV) if cfg.cfg.EnableIPv6 { iptablesVariant = append(iptablesVariant, cfg.ipt6V) } for _, iptVer := range iptablesVariant { for _, cmd := range deleteCmds { delErrs = append(delErrs, cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...)) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
operator/cmd/mesh/install.go
} if enabled { enabledComponents = append(enabledComponents, name.UserFacingComponentName(c)) } } for _, c := range iop.Spec.Components.IngressGateways { if c.Enabled.GetValue() { enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName)) break } }
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/waypoint/waypoint.go
}) filteredGws := make([]gateway.Gateway, 0) for _, gw := range gws.Items { if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName { continue } filteredGws = append(filteredGws, gw) } if allNamespaces { fmt.Fprintln(w, "NAMESPACE\tNAME\tREVISION\tPROGRAMMED") } else { fmt.Fprintln(w, "NAME\tREVISION\tPROGRAMMED") } for _, gw := range filteredGws {
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) -
cni/pkg/plugin/plugin_test.go
Labels: map[string]string{}, }, } return fakePod, fakeNS } func (mrdir *mockInterceptRuleMgr) Program(podName, netns string, redirect *Redirect) error { mrdir.lastRedirect = append(mrdir.lastRedirect, redirect) return nil } // returns the test server URL and a dispose func for the test server func setupCNIEventClientWithMockServer(serverErr bool) (string, func() bool) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml
{{- end }} {{- end }} {{- end }} {{- $containers := list }} {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}} metadata: labels: {{/* security.istio.io/tlsMode: istio must be set by user, if gRPC is using mTLS initialization code. We can't set it automatically. */}}
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 26 16:51:17 GMT 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
if ns == nil { log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name) } if !util.IsZtunnelPod(s.systemNamespace, pod) && util.PodRedirectionEnabled(ns, pod) { pods = append(pods, pod) } } return pods } // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0)