Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NewConfigGenerator (0.31 sec)

  1. pilot/pkg/networking/core/configgen.go

    	MeshConfigChanged(mesh *meshconfig.MeshConfig)
    }
    
    type ConfigGeneratorImpl struct {
    	Cache model.XdsCache
    }
    
    func NewConfigGenerator(cache model.XdsCache) *ConfigGeneratorImpl {
    	return &ConfigGeneratorImpl{
    		Cache: cache,
    	}
    }
    
    // MeshConfigChanged is called when mesh config is changed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fake.go

    		t:                    t,
    		store:                configController,
    		env:                  env,
    		initialConfigs:       configs,
    		stop:                 test.NewStop(t),
    		ConfigGen:            NewConfigGenerator(&model.DisabledCache{}),
    		MemRegistry:          msd,
    		MemServiceRegistry:   memserviceRegistry,
    		Registry:             serviceDiscovery,
    		ServiceEntryRegistry: se,
    	}
    	if !opts.SkipRun {
    		fake.Run()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. pilot/test/xds/fake.go

    	s.Env = cg.Env()
    	s.Env.GatewayAPIController = gwc
    	if err := s.Env.InitNetworksManager(s); err != nil {
    		t.Fatal(err)
    	}
    
    	bootstrap.InitGenerators(s, core.NewConfigGenerator(s.Cache), "istio-system", "", nil)
    	s.Generators[v3.SecretType] = xds.NewSecretGen(creds, s.Cache, opts.DefaultClusterName, nil)
    	s.Generators[v3.ExtensionConfigurationType].(*xds.EcdsGenerator).SetCredController(creds)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/server.go

    		fn(s)
    	}
    	// Initialize workload Trust Bundle before XDS Server
    	e.TrustBundle = s.workloadTrustBundle
    	s.XDSServer = xds.NewDiscoveryServer(e, args.RegistryOptions.KubeOptions.ClusterAliases)
    	configGen := core.NewConfigGenerator(s.XDSServer.Cache)
    
    	grpcprom.EnableHandlingTimeHistogram()
    
    	// make sure we have a readiness probe before serving HTTP to avoid marking ready too soon
    	s.initReadinessProbes()
    
    	s.initServers(args)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/gateway_test.go

    					protocol:         protocol.HTTPS,
    				},
    			},
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			cgi := NewConfigGenerator(&pilot_model.DisabledCache{})
    			tc.node.MergedGateway = &pilot_model.MergedGateway{TLSServerInfo: map[*networking.Server]*pilot_model.TLSServerInfo{
    				tc.server: {SNIHosts: pilot_model.GetSNIHostsForServer(tc.server)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
Back to top