- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for genrule (0.31 sec)
-
tools/istio-iptables/pkg/capture/run_linux.go
families := []int{unix.AF_INET} if cfg.EnableIPv6 { families = append(families, unix.AF_INET6) } for _, family := range families { r := netlink.NewRule() r.Family = family r.Table = tproxyTable r.Mark = tproxyMark if err := netlink.RuleAdd(r); err != nil { return fmt.Errorf("failed to configure netlink rule: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
matches, matchObjErr := a.objectMatcher.MatchObjectSelector(h, attr) if !matches && matchObjErr == nil { return nil, nil } var invocation *WebhookInvocation for _, r := range h.GetRules() { m := rules.Matcher{Rule: r, Attr: attr} if m.Matches() { invocation = &WebhookInvocation{ Webhook: h, Resource: attr.GetResource(), Subresource: attr.GetSubresource(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
// A very similar mechanism is used for sidecar TPROXY. // // TODO largely identical/copied from tools/istio-iptables/pkg/capture/run_linux.go inpodMarkRule := netlink.NewRule() inpodMarkRule.Family = family inpodMarkRule.Table = RouteTableInbound inpodMarkRule.Mark = InpodTProxyMark inpodMarkRule.Mask = InpodTProxyMask inpodMarkRule.Priority = 32764
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.3K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_waypoint.go
clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build()) } cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule() if cfg != nil { destinationRule := cfg.Spec.(*networking.DestinationRule) for _, ss := range destinationRule.Subsets { if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0) -
pilot/pkg/model/destination_rule.go
if len(l.from) != len(r.from) { return false } for i, v := range l.from { if v != r.from[i] { return false } } return true } func (l *ConsolidatedDestRule) GetRule() *config.Config { if l == nil { return nil } return l.rule } func (l *ConsolidatedDestRule) GetFrom() []types.NamespacedName { if l == nil { return nil } return l.from
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 07:22:29 UTC 2024 - 6.1K bytes - Viewed (0)