- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 616 for injecting (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go
defer conn.Close() //nolint:errcheck <-stopServerChan })) defer spdyServer.Close() // Create UpgradeAwareProxy handler, with url/transport pointing to upstream SPDY. Then // create TunnelingHandler by injecting upgrade handler. Create TunnelingServer. url, err := url.Parse(spdyServer.URL) require.NoError(t, err) transport, err := fakeTransport() require.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 02:21:50 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
NumAllNodes: 1, Diagnosis: framework.Diagnosis{ NodeToStatusMap: framework.NodeToStatusMap{ "3": framework.NewStatus(framework.Unschedulable, "injecting failure for pod test-filter").WithPlugin("FakeFilter"), }, UnschedulablePlugins: sets.New("FakeFilter"), }, }, }, { name: "test with extender which filters out some Nodes",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache.go
} func (cache *cacheImpl) FinishBinding(logger klog.Logger, pod *v1.Pod) error { return cache.finishBinding(logger, pod, time.Now()) } // finishBinding exists to make tests deterministic by injecting now as an argument func (cache *cacheImpl) finishBinding(logger klog.Logger, pod *v1.Pod, now time.Time) error { key, err := framework.GetPodKey(pod) if err != nil { return err } cache.mu.RLock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 09:56:48 UTC 2023 - 24.9K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
// symbolizer. See issue #23576. if runtime.GOOS == "windows" { // On Windows if we get an exception in C code, we let // the Windows exception handler unwind it, rather // than injecting a sigpanic. t.Skip("no sigpanic in C on windows") } if runtime.GOOS == "ios" { testenv.SkipFlaky(t, 59912) } t.Parallel() got := runTestProg(t, "testprogcgo", "TracebackSigpanic") t.Log(got)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/framework_test.go
// Inject a hook before async operation starts ctrl.preOperationHook = func(operationName string) { // Inside the hook, run the function to inject klog.FromContext(ctx).V(4).Info("Reactor: scheduleOperation reached, injecting call") injectBeforeOperation(ctrl, reactor) } // Run the tested function (typically syncClaim/syncVolume) in a // separate goroutine. var testError error var testFinished int32
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc
An instance of the link:{javadocPath}/org/gradle/api/model/ObjectFactory.html[ObjectFactory] can be referenced from link:{javadocPath}/org/gradle/api/Project.html#getObjects--[Project.getObjects()] or by injecting `ObjectFactory` through a constructor or method.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.1K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
return 0, framework.NewStatus(framework.Code(inj.ScoreStatus), "injecting failure.") } return inj.ScoreRes, nil } func injectNormalizeRes(inj injectedResult, scores framework.NodeScoreList) *framework.Status { if framework.Code(inj.NormalizeStatus) != framework.Success { return framework.NewStatus(framework.Code(inj.NormalizeStatus), "injecting failure.") } for i := range scores {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc
This is supported by having a constructor in your implementation of `ComponentMetadataRule` accepting the parameters that were configured and the services that need injecting. Gradle enforces isolation of instances of `ComponentMetadataRule`. This means that all parameters must be `Serializable` or known Gradle types that can be isolated.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 33.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc
In Gradle 6.0, the `ProjectLayout` service was made available to worker actions via service injection. This service allowed for mutable state to leak into a worker action and introduced a way for dependencies to go undeclared in the worker action. `ProjectLayout` has been removed from the available services. Worker actions that were using `ProjectLayout` should switch to injecting the `projectDirectory` or `buildDirectory` as a parameter instead.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 44.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/injection.yaml
# Broken config in a yaml config file # # Namespace is explicitly enabled apiVersion: v1 kind: Namespace metadata: labels: istio-injection: enabled name: default --- # Namespace doesn't have the injection label, but is labeled for ambient apiVersion: v1 kind: Namespace metadata: labels: istio.io/dataplane-mode: ambient name: ambient --- # Namespace is explicitly disabled, Should not generate warning!
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 14:06:10 UTC 2023 - 4.1K bytes - Viewed (0)