Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 163 for NamespacedName (0.32 sec)

  1. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    // If the configmap is not found, it will be created.
    // If the namespace is filtered out by discovery selector, the configmap will be deleted.
    func (nc *NamespaceController) reconcileCACert(o types.NamespacedName) error {
    	ns := o.Namespace
    	if ns == "" {
    		// For Namespace object, it will not have o.Namespace field set
    		ns = o.Name
    	}
    
    	meta := metav1.ObjectMeta{
    		Name:      CACertNamespaceConfigMap,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    func TestClusterLocal(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.11").
    		Run(func(t framework.TestContext) {
    			serviceA = match.ServiceName(echo.NamespacedName{Name: common.ServiceA, Namespace: echos.Namespace})
    			serviceB = match.ServiceName(echo.NamespacedName{Name: common.ServiceB, Namespace: echos.Namespace})
    			// Don't export service B in any cluster. All requests should stay in-cluster.
    			for _, ht := range hostTypes {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    type fakeCompiler struct {
    	ValidateFuncs map[types.NamespacedName]validating.Validator
    
    	lock        sync.Mutex
    	NumCompiles map[types.NamespacedName]int
    }
    
    func (f *fakeCompiler) getNumCompiles(p *validating.Policy) int {
    	f.lock.Lock()
    	defer f.lock.Unlock()
    	return f.NumCompiles[types.NamespacedName{
    		Name:      p.Name,
    		Namespace: p.Namespace,
    	}]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_test.go

    			actual := getInterval(tc.input, tc.defaultVal)
    			assert.Equal(t, tc.expected, actual)
    		})
    	}
    }
    
    func Test_appendApplicableTelemetries(t *testing.T) {
    	namespacedName := types.NamespacedName{
    		Name:      "my-telemetry",
    		Namespace: "my-namespace",
    	}
    	emptyStackDriverTracing := &tpb.Tracing{
    		Match: &tpb.Tracing_TracingSelector{
    			Mode: tpb.WorkloadMode_CLIENT,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	for key, watcher := range wm {
    		delete(wm, key)
    		done(watcher)
    	}
    }
    
    type indexedWatchers struct {
    	allWatchers   map[namespacedName]watchersMap
    	valueWatchers map[string]watchersMap
    }
    
    func (i *indexedWatchers) addWatcher(w *cacheWatcher, number int, scope namespacedName, value string, supported bool) {
    	if supported {
    		if _, ok := i.valueWatchers[value]; !ok {
    			i.valueWatchers[value] = watchersMap{}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context_test.go

    			expectedNamespacedFrom: map[string][]types.NamespacedName{
    				app1DestinationRule.Meta.Name:      {app1DestinationRule.NamespacedName(), namespaceDestinationRule.NamespacedName()},
    				app2DestinationRule.Meta.Name:      {app2DestinationRule.NamespacedName(), app3DestinationRule.NamespacedName(), namespaceDestinationRule.NamespacedName()},
    				namespaceDestinationRule.Meta.Name: {namespaceDestinationRule.NamespacedName()},
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/echotest/filters_test.go

    func (f fakeInstance) Instances() echo.Instances {
    	return echo.Instances{f}
    }
    
    func (f fakeInstance) ID() resource.ID {
    	panic("implement me")
    }
    
    func (f fakeInstance) NamespacedName() echo.NamespacedName {
    	return f.Config().NamespacedName()
    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. tests/integration/security/file_mounted_certs/main_test.go

    	return nil
    }
    
    func createCustomInstances(apps *deployment.SingleNamespaceView) error {
    	for index, namespacedName := range apps.EchoNamespace.All.NamespacedNames() {
    		switch {
    		case namespacedName.Name == "client":
    			client = apps.EchoNamespace.All[index]
    		case namespacedName.Name == "server":
    			server = apps.EchoNamespace.All[index]
    		}
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/instance.go

    func (c *instance) Instances() echo.Instances {
    	return echo.Instances{c}
    }
    
    func (c *instance) Close() (err error) {
    	return c.workloadMgr.Close()
    }
    
    func (c *instance) NamespacedName() echo.NamespacedName {
    	return c.cfg.NamespacedName()
    }
    
    func (c *instance) PortForName(name string) echo.Port {
    	return c.cfg.Ports.MustForName(name)
    }
    
    func (c *instance) ServiceName() string {
    	return c.cfg.Service
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	policies atomic.Pointer[[]PolicyHook[P, B, E]]
    	// Whether the cache of policies is dirty and needs to be recompiled
    	policiesDirty atomic.Bool
    
    	lock             sync.Mutex
    	compiledPolicies map[types.NamespacedName]compiledPolicyEntry[E]
    
    	// Temporary until we use the dynamic informer factory
    	paramsCRDControllers map[schema.GroupVersionKind]*paramInfo
    }
    
    type paramInfo struct {
    	mapping meta.RESTMapping
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top