Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for byNamespace (0.17 sec)

  1. pilot/pkg/model/sidecar.go

    // If there are more than one, pick the first alphabetically.
    func pickFirstVisibleNamespace(ps *PushContext, byNamespace map[string]*Service, configNamespace string) string {
    	nss := make([]string, 0, len(byNamespace))
    	for ns := range byNamespace {
    		if ps.IsServiceVisible(byNamespace[ns], configNamespace) {
    			nss = append(nss, ns)
    		}
    	}
    	if len(nss) > 0 {
    		sort.Strings(nss)
    		return nss[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	if !p.hasSynced() {
    		return nil, p.notReadyErr
    	}
    	return p.delegate.Get(name)
    }
    func (p *protectedLister) ByNamespace(namespace string) cache.GenericNamespaceLister {
    	return &protectedNamespaceLister{p.hasSynced, p.notReadyErr, p.delegate.ByNamespace(namespace)}
    }
    
    // protectedNamespaceLister returns notReadyError if hasSynced returns false, otherwise delegates to delegate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator_test.go

    	f.called++
    	return nil, errFakeLister
    }
    func (f *fakeLister) Get(name string) (runtime.Object, error) {
    	f.called++
    	return nil, errFakeLister
    }
    func (f *fakeLister) ByNamespace(namespace string) cache.GenericNamespaceLister {
    	panic("not implemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    			}
    
    			var lister cache.GenericNamespaceLister = informer.Lister()
    			if scope == meta.RESTScopeNamespace {
    				lister = informer.Lister().ByNamespace(objectMeta.GetNamespace())
    			}
    
    			fetched, err := lister.Get(objectMeta.GetName())
    			if err != nil {
    				if errors.IsNotFound(err) {
    					return false, nil
    				}
    				return true, err
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    				// match a cluster-scoped resource
    				return nil, fmt.Errorf("cannot use namespaced paramRef in policy binding that matches cluster-scoped resources")
    			}
    
    			paramStore = paramInformer.Lister().ByNamespace(paramsNamespace)
    		}
    
    		// If the param informer for this admission policy has not yet
    		// had time to perform an initial listing, don't attempt to use
    		// it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta1/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType `json:"type" protobuf:"bytes,1,opt,name=type"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta2/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType `json:"type" protobuf:"bytes,1,opt,name=type"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1beta3/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType `json:"type" protobuf:"bytes,1,opt,name=type"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1/types.go

    	// is dedicated to a tenant.
    	FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace"
    )
    
    // FlowDistinguisherMethod specifies the method of a flow distinguisher.
    type FlowDistinguisherMethod struct {
    	// `type` is the type of flow distinguisher method
    	// The supported types are "ByUser" and "ByNamespace".
    	// Required.
    	Type FlowDistinguisherMethodType `json:"type" protobuf:"bytes,1,opt,name=type"`
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top