Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for foundName (0.11 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go

    	}
    
    	if lvl == rootLevel {
    		// metadata is a shallow copy. We can mutate it.
    		_, foundName := s.Properties["name"]
    		_, foundGenerateName := s.Properties["generateName"]
    		if foundName && foundGenerateName && len(s.Properties) == 2 {
    			s.Properties = nil
    		} else if (foundName || foundGenerateName) && len(s.Properties) == 1 {
    			s.Properties = nil
    		}
    		s.Type = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    				ew := heap.Pop(&fec.waiters).(eventWaiter)
    				fec.clientWG.Add(1)
    				go func(f eventclock.EventFunc, now time.Time) {
    					f(now)
    					fec.clientWG.Add(-1)
    				}(ew.f, now)
    				foundSome = true
    			}
    		}()
    		if !foundSome {
    			break
    		}
    		fec.clientWG.Wait()
    	}
    }
    
    // Sleep returns after the given duration has passed.
    // Sleep must only be invoked in a goroutine that is counted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    				t.Fatal("unexpected number of items")
    			}
    			foundNames := sets.String{}
    			for _, u := range obj.Items {
    				foundNames.Insert(u.GetName())
    				verifyMultiVersionObject(t, listVersion.Name, &u)
    			}
    			if !foundNames.Equal(names) {
    				t.Errorf("unexpected set of returned items: %s", foundNames.Difference(names))
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
Back to top