Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for clusterLocal (0.48 sec)

  1. pilot/pkg/model/cluster_local_test.go

    		t.Run(c.name, func(t *testing.T) {
    			g := NewWithT(t)
    
    			env := &model.Environment{Watcher: mesh.NewFixedWatcher(c.m)}
    			env.Init()
    
    			clusterLocal := env.ClusterLocal().GetClusterLocalHosts().IsClusterLocal(host.Name(c.host))
    			g.Expect(clusterLocal).To(Equal(c.expected))
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller_test.go

    		Client:       client,
    		ClusterID:    "",
    		DomainSuffix: env.DomainSuffix,
    		ClusterLocal: env.ClusterLocal(),
    	})
    
    	stop := test.NewStop(t)
    	client.RunAndWait(stop)
    	go sc.Run(stop)
    
    	t.Run("exportable", func(t *testing.T) {
    		createSimpleService(t, client, "exportable-ns", "foo")
    		assertServiceExport(t, client, "exportable-ns", "foo", true)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 06 16:02:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    }
    
    // autoServiceExportOptions provide options for creating a autoServiceExportController.
    type autoServiceExportOptions struct {
    	Client       kube.Client
    	ClusterID    cluster.ID
    	DomainSuffix string
    	ClusterLocal model.ClusterLocalProvider
    }
    
    // newAutoServiceExportController creates a new autoServiceExportController.
    func newAutoServiceExportController(opts autoServiceExportOptions) *autoServiceExportController {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/servicecontroller.go

    		args.RegistryOptions.KubeOptions,
    		s.serviceEntryController,
    		s.configController,
    		s.istiodCertBundleWatcher,
    		args.Revision,
    		s.shouldStartNsController(),
    		s.environment.ClusterLocal(),
    		s.server,
    		s.multiclusterController)
    
    	return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tests/integration/pilot/multicluster_test.go

    				setup func(t framework.TestContext)
    			}{
    				{
    					"MeshConfig.serviceSettings",
    					func(t framework.TestContext) {
    						i.PatchMeshConfigOrFail(t, t, fmt.Sprintf(`
    serviceSettings: 
    - settings:
        clusterLocal: true
      hosts:
      - "%s"
    `, apps.B.Config().ClusterLocalFQDN()))
    					},
    				},
    				{
    					"subsets",
    					func(t framework.TestContext) {
    						cfg := tmpl.EvaluateOrFail(t, `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/cluster_local.go

    Zhonghu Xu <******@****.***> 1687265650 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top