Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchesSingleNamespace (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	// if we're not already namespace-scoped, see if the field selector narrows the scope of the watch
    	if requestNamespace, _ := genericapirequest.NamespaceFrom(ctx); len(requestNamespace) == 0 {
    		if selectorNamespace, ok := p.MatchesSingleNamespace(); ok {
    			if len(validation.ValidateNamespaceName(selectorNamespace, false)) == 0 {
    				ctx = genericapirequest.WithNamespace(ctx, selectorNamespace)
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
Back to top