Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for pushContext (0.15 sec)

  1. pilot/pkg/model/push_context.go

    		DuplicatedClusters,
    		ProxyStatusClusterNoInstances,
    		DuplicatedDomains,
    		DuplicatedSubsets,
    	}
    )
    
    // NewPushContext creates a new PushContext structure to track push status.
    func NewPushContext() *PushContext {
    	return &PushContext{
    		ServiceIndex:            newServiceIndex(),
    		virtualServiceIndex:     newVirtualServiceIndex(),
    		destinationRuleIndex:    newDestinationRuleIndex(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fuzz_test.go

    		to := fuzz.Struct[TestOptions](fg)
    		cg := NewConfigGenTest(t, to)
    		req := fuzz.Struct[*model.PushRequest](fg)
    		req.Push = cg.PushContext()
    		NewListenerBuilder(proxy, cg.env.PushContext()).buildSidecarOutboundListeners(cg.SetupProxy(proxy), cg.env.PushContext())
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/fake.go

    	}
    	return out
    }
    
    func (f *ConfigGenTest) Routes(p *model.Proxy) []*route.RouteConfiguration {
    	return f.RoutesFromListeners(p, f.Listeners(p))
    }
    
    func (f *ConfigGenTest) PushContext() *model.PushContext {
    	return f.env.PushContext()
    }
    
    func (f *ConfigGenTest) Env() *model.Environment {
    	return f.env
    }
    
    func (f *ConfigGenTest) Store() model.ConfigStoreController {
    	return f.store
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/accesslog_test.go

    	env := model.NewEnvironment()
    	env.ServiceDiscovery = serviceDiscovery
    	env.ConfigStore = configStore
    	env.Watcher = mesh.NewFixedWatcher(meshConfig)
    
    	pushContext := model.NewPushContext()
    	env.Init()
    	pushContext.InitContext(env, nil, nil)
    	env.SetPushContext(pushContext)
    
    	return env
    }
    
    var (
    	defaultJSONLabelsOut = &fileaccesslog.FileAccessLog{
    		Path: model.DevStdout,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/configgen.go

    	// BuildNameTable returns list of hostnames and the associated IPs
    	BuildNameTable(node *model.Proxy, push *model.PushContext) *dnsProto.NameTable
    
    	// BuildExtensionConfiguration returns the list of extension configuration for the given proxy and list of names. This is the ECDS output.
    	BuildExtensionConfiguration(node *model.Proxy, push *model.PushContext, extensionConfigNames []string,
    		pullSecrets map[string][]byte) []*core.TypedExtensionConfig
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/rds.go

    // This mode is indicated by using names containing full host:port instead of just port.
    // Returns true of the request is of this type.
    func (g *GrpcConfigGenerator) BuildHTTPRoutes(node *model.Proxy, push *model.PushContext, routeNames []string) model.Resources {
    	resp := model.Resources{}
    	for _, routeName := range routeNames {
    		if rc := buildHTTPRoute(node, push, routeName); rc != nil {
    			resp = append(resp, &discovery.Resource{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/fuzz_test.go

    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzBuildHTTP(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		bundle := fuzz.Struct[trustdomain.Bundle](fg)
    		push := fuzz.Struct[*model.PushContext](fg, validatePush)
    		node := fuzz.Struct[*model.Proxy](fg)
    		selectionOpts := model.PolicyMatcherForProxy(node)
    		policies := push.AuthzPolicies.ListAuthorizationPolicies(selectionOpts)
    		option := fuzz.Struct[Option](fg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. architecture/networking/pilot.md

    First, we have a concept of a `Full` push. Only `Full` pushes will recompute `PushContext` on change; otherwise this is skipped and the last `PushContext` is re-used. Note: even when `Full`, we try to copy as much from the previous `PushContext` as possible. For example, if only a `WasmPlugin` changed, we would not recompute services indexes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/bench_test.go

    	initPushContext(s.Env(), proxy)
    	return s, proxy
    }
    
    func initPushContext(env *model.Environment, proxy *model.Proxy) {
    	pushContext := env.PushContext()
    	pushContext.InitContext(env, nil, nil)
    	proxy.SetSidecarScope(pushContext)
    	proxy.SetGatewaysForProxy(pushContext)
    	proxy.SetServiceTargets(env.ServiceDiscovery)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/mtls_checker.go

    )
    
    // TODO this logic is probably done elsewhere in XDS, possible code-reuse + perf improvements
    type mtlsChecker struct {
    	push            *model.PushContext
    	svcPort         int
    	destinationRule *networkingapi.ClientTLSSettings_TLSmode
    }
    
    func newMtlsChecker(push *model.PushContext, svcPort int, dr *config.Config, subset string) *mtlsChecker {
    	return &mtlsChecker{
    		push:            push,
    		svcPort:         svcPort,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top