Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for NamespacedName (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go

    func (fb *FakeBinding) GetName() string {
    	return fb.Name
    }
    
    func (fb *FakeBinding) GetNamespace() string {
    	return fb.Namespace
    }
    
    func (fb *FakeBinding) GetPolicyName() types.NamespacedName {
    	return types.NamespacedName{
    		Name: fb.PolicyName,
    	}
    }
    
    func (fb *FakeBinding) GetMatchResources() *v1.MatchResources {
    	return nil
    }
    
    func (fb *FakeBinding) GetParamRef() *v1.ParamRef {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. 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)
  3. pkg/test/framework/components/echo/common/deployment/external.go

    		config.IPFamilies = "IPv6, IPv4"
    		config.IPFamilyPolicy = "RequireDualStack"
    	}
    	return b.WithConfig(config)
    }
    
    func (e *External) LoadValues(echos echo.Instances) {
    	e.All = match.ServiceName(echo.NamespacedName{Name: ExternalSvc, Namespace: e.Namespace}).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/kube/krt/singleton_test.go

    	ConfigMapNames := krt.NewSingleton[string](
    		func(ctx krt.HandlerContext) *string {
    			cms := krt.Fetch(ctx, ConfigMaps)
    			return ptr.Of(slices.Join(",", slices.Map(cms, func(c *corev1.ConfigMap) string {
    				return config.NamespacedName(c).String()
    			})...))
    		},
    	)
    	ConfigMapNames.AsCollection().Synced().WaitUntilSynced(stop)
    	tt := assert.NewTracker[string](t)
    	ConfigMapNames.Register(TrackerHandler[string](tt))
    	tt.WaitOrdered("add/")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. pkg/kube/watcher/configmapwatcher/configmapwatcher.go

    // HasSynced returns whether the underlying cache has synced and the callback has been called at least once.
    func (c *Controller) HasSynced() bool {
    	return c.queue.HasSynced()
    }
    
    func (c *Controller) processItem(name types.NamespacedName) error {
    	cm := c.configmaps.Get(name.Name, name.Namespace)
    	c.callback(cm)
    
    	c.hasSynced.Store(true)
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 07:11:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/revisions/tag_watcher.go

    }
    
    func NewTagWatcher(client kube.Client, revision string) TagWatcher {
    	p := &tagWatcher{
    		revision: revision,
    	}
    	p.queue = controllers.NewQueue("tag", controllers.WithReconciler(func(key types.NamespacedName) error {
    		p.notifyHandlers()
    		return nil
    	}))
    	p.webhooks = kclient.NewFiltered[*admissionregistrationv1.MutatingWebhookConfiguration](client, kubetypes.Filter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/ingress.go

    	_ ingress.Instance = &ingressImpl{}
    	_ io.Closer        = &ingressImpl{}
    )
    
    type ingressConfig struct {
    	// Service is the kubernetes Service name for the cluster
    	Service types.NamespacedName
    	// LabelSelector is the value for the label on the ingress kubernetes objects
    	LabelSelector string
    
    	// Cluster to be used in a multicluster environment
    	Cluster cluster.Cluster
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/connections.go

    }
    
    func newAdsConnections() *adsConnections {
    	return &adsConnections{byProxy: map[proxyKey]map[string]connection{}}
    }
    
    func (m *adsConnections) ConnectionsForGroup(wg types.NamespacedName) []connection {
    	// collect the proxies that should be disconnected (don't remove them, OnDisconnect will)
    	m.Lock()
    	defer m.Unlock()
    	var conns []connection
    	for key, connections := range m.byProxy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/services.go

    	}
    	sort.Stable(out)
    	return out
    }
    
    func (d Services) NamespacedNames() NamespacedNames {
    	out := make(NamespacedNames, 0, d.Len())
    	for _, svc := range d {
    		out = append(out, svc.NamespacedName())
    	}
    
    	sort.Stable(out)
    	return out
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. pkg/revisions/default_watcher.go

    // assumes externally locked.
    func (p *defaultWatcher) notifyHandlers() {
    	for _, handler := range p.handlers {
    		handler(p.defaultRevision)
    	}
    }
    
    func (p *defaultWatcher) setDefault(key types.NamespacedName) error {
    	revision := ""
    	wh := p.webhooks.Get(key.Name, "")
    	if wh != nil {
    		revision = wh.GetLabels()[label.IoIstioRev.Name]
    	}
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	p.defaultRevision = revision
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 09 02:22:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top