- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for newFoo (0.21 sec)
-
cmd/kube-scheduler/app/server_test.go
{ name: "out-of-tree component configuration v1", flags: []string{ "--config", outOfTreePluginConfigFilev1, "--kubeconfig", configKubeconfig, }, registryOptions: []Option{WithPlugin("Foo", newFoo)}, wantPlugins: map[string]*config.Plugins{ "default-scheduler": func() *config.Plugins { plugins := defaults.ExpandedPluginsV1.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
for i := 0; i < count; i++ { newPod := newPod(fmt.Sprintf("pod-%v", rand.String(10)), job) newPod.Status = v1.PodStatus{Phase: status} newPod.Status.ContainerStatuses = []v1.ContainerStatus{ { State: v1.ContainerState{ Terminated: &v1.ContainerStateTerminated{ FinishedAt: testFinishedAt, }, }, }, } newPod.Finalizers = append(newPod.Finalizers, batch.JobTrackingFinalizer)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro_var.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Linkname "var" to reference newcoro is not allowed. package main import "unsafe" func main() { call(&newcoro) } //go:linkname newcoro runtime.newcoro var newcoro unsafe.Pointer //go:noinline func call(*unsafe.Pointer) { // not implemented
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 411 bytes - Viewed (0) -
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
crHash := strings.Join([]string{newIOP.Name, newIOP.Namespace, string(component), host}, "-") cache.RemoveCache(crHash) } } if oldIOP.GetDeletionTimestamp() != newIOP.GetDeletionTimestamp() { metrics.IncrementReconcileRequest("update_deletion_timestamp") return true } if oldIOP.GetGeneration() != newIOP.GetGeneration() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
prevPod: testutil.NewPod("pod1", ""), newPod: testutil.NewPod("pod1", "node1"), taintedNodes: map[string][]corev1.Taint{ "node1": {createNoExecuteTaint(1)}, }, expectDelete: true, }, { description: "scheduling onto tainted Node with toleration", prevPod: addToleration(testutil.NewPod("pod1", ""), 1, -1),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro_asm/main.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Assembly reference of newcoro is not allowed. package main func main() { newcoro() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 267 bytes - Viewed (0) -
pkg/api/pod/util_test.go
} DropDisabledPodFields(newPod, newPod) require.Equal(t, &test.pod, newPod, "unchanged pod should never be mutated") DropDisabledPodFields(newPod, nil) if enabled && fieldsEnabled { assert.Equal(t, &test.pod, newPod, "pod should not be mutated when both feature gates are enabled") return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
wantPreFilterStatus *framework.Status }{ { newPod: csiEBSOneVolPod, existingPods: []*v1.Pod{runningPod, csiEBSTwoVolPod}, filterName: "csi", maxVols: 4, driverNames: []string{ebsCSIDriverName}, test: "fits when node volume limit >= new pods CSI volume", limitSource: "node", }, { newPod: csiEBSOneVolPod,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.JobBackoffLimitPerIndex, tc.enableJobBackoffLimitPerIndex) newJob := tc.job.DeepCopy() tc.update(newJob) errs := Strategy.ValidateUpdate(ctx, newJob, tc.job) if diff := cmp.Diff(tc.wantErrs, errs, ignoreErrValueDetail); diff != "" { t.Errorf("Unexpected errors (-want,+got):\n%s", diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
// create a pod that has an active deadline newPod := validPod("allowed-pod", 1, getResourceRequirements(getResourceList("100m", "2Gi"), getResourceList("", ""))) activeDeadlineSeconds := int64(30) newPod.Spec.ActiveDeadlineSeconds = &activeDeadlineSeconds
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0)