- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newRows (0.16 sec)
-
cmd/import-boss/main_test.go
t.Fatalf("expected 1 pkg result, got %d", len(pkgs)) } if pkgs[0].PkgPath != "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" { t.Fatalf("wrong PkgPath: %q", pkgs[0].PkgPath) } boss := newBoss(pkgs) errs := boss.Verify(pkgs[0]) expect := []string{ `"k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" -> "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/forbidden" is forbidden`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/kubelet/config/config.go
} // updatePodFunc is the local function which updates the pod cache *oldPods* with new pods *newPods*. // After updated, new pod will be stored in the pod cache *pods*. // Notice that *pods* and *oldPods* could be the same cache. updatePodsFunc := func(newPods []*v1.Pod, oldPods, pods map[types.UID]*v1.Pod) { filtered := filterInvalidPods(newPods, source, s.recorder) for _, ref := range filtered {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 16.7K bytes - Viewed (0) -
cmd/import-boss/main.go
pflag.CommandLine.AddGoFlagSet(flag.CommandLine) pflag.Parse() pkgs, err := loadPkgs(pflag.Args()...) if err != nil { klog.Errorf("failed to load packages: %v", err) } pkgs = massage(pkgs) boss := newBoss(pkgs) var allErrs []error for _, pkg := range pkgs { if pkgErrs := boss.Verify(pkg); pkgErrs != nil { allErrs = append(allErrs, pkgErrs...) } } fail := false for _, err := range allErrs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 14.7K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
} type activePodsStub struct { activePods []*v1.Pod } func (a *activePodsStub) getActivePods() []*v1.Pod { return a.activePods } func (a *activePodsStub) updateActivePods(newPods []*v1.Pod) { a.activePods = newPods } type MockEndpoint struct { getPreferredAllocationFunc func(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0)