Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSidecarScope (0.16 sec)

  1. pilot/pkg/model/context.go

    	sidecarScope := node.SidecarScope
    
    	switch node.Type {
    	case SidecarProxy:
    		node.SidecarScope = ps.getSidecarScope(node, node.Labels)
    	case Router, Waypoint:
    		// Gateways should just have a default scope with egress: */*
    		node.SidecarScope = ps.getSidecarScope(node, nil)
    	}
    	node.PrevSidecarScope = sidecarScope
    }
    
    func (node *Proxy) VersionGreaterAndEqual(inv *IstioVersion) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    			out = append(out, delegate.HashCode())
    		}
    	}
    	return out
    }
    
    // getSidecarScope returns a SidecarScope object associated with the
    // proxy. The SidecarScope object is a semi-processed view of the service
    // registry, and config state associated with the sidecar crd. The scope contains
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    			sidecar:  "istio-system/default-sidecar",
    			describe: "gateway sidecar scope",
    		},
    	}
    	for _, c := range cases {
    		t.Run(c.describe, func(t *testing.T) {
    			scope := ps.getSidecarScope(c.proxy, c.labels)
    			if c.sidecar != scopeToSidecar(scope) {
    				t.Errorf("should get sidecar %s but got %s", c.sidecar, scopeToSidecar(scope))
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top