Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for outboundTrafficPolicy (0.3 sec)

  1. pilot/pkg/networking/util/util.go

    }
    
    // IsAllowAnyOutbound checks if allow_any is enabled for outbound traffic
    func IsAllowAnyOutbound(node *model.Proxy) bool {
    	return node.SidecarScope != nil &&
    		node.SidecarScope.OutboundTrafficPolicy != nil &&
    		node.SidecarScope.OutboundTrafficPolicy.Mode == networking.OutboundTrafficPolicy_ALLOW_ANY
    }
    
    func StringToExactMatch(in []string) []*matcher.StringMatcher {
    	return pm.StringToExactMatch(in)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    				}
    			}
    		}
    
    		errs = AppendValidation(errs, validateSidecarOutboundTrafficPolicy(rule.OutboundTrafficPolicy))
    
    		return errs.Unwrap()
    	})
    
    func validateSidecarOutboundTrafficPolicy(tp *networking.OutboundTrafficPolicy) (errs error) {
    	if tp == nil {
    		return
    	}
    	mode := tp.GetMode()
    	if tp.EgressProxy != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    	} {
    		t.Run(tp.String(), func(t *testing.T) {
    			o := xds.FakeOptions{
    				MeshConfig: func() *meshconfig.MeshConfig {
    					m := mesh.DefaultMeshConfig()
    					m.OutboundTrafficPolicy.Mode = tp
    					return m
    				}(),
    			}
    			expectedCluster := map[meshconfig.MeshConfig_OutboundTrafficPolicy_Mode]string{
    				meshconfig.MeshConfig_OutboundTrafficPolicy_REGISTRY_ONLY: util.BlackHoleCluster,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top