Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for action1 (0.43 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    By this it is also possible to add user provided code as an input, e.g. by annotating an `@link:{javadocPath}/org/gradle/api/Action.html[Action]` property with `@link:{javadocPath}/org/gradle/api/tasks/Nested.html[Nested]`.
    Note that any inputs to such actions should be tracked, either by annotated properties on the action or by manually registering them with the task.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/replica_calculator_test.go

    	fakeCMClient := &cmfake.FakeCustomMetricsClient{}
    	fakeCMClient.AddReactor("get", "*", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		getForAction, wasGetFor := action.(cmfake.GetForAction)
    		if !wasGetFor {
    			return true, nil, fmt.Errorf("expected a get-for action, got %v instead", action)
    		}
    
    		if tc.metric == nil {
    			return true, nil, fmt.Errorf("no custom metrics specified in test client")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    	}
    }
    
    func createListReactor(tracker cgotesting.ObjectTracker, kind string) func(action cgotesting.Action) (handled bool, ret apiruntime.Object, err error) {
    	return func(action cgotesting.Action) (handled bool, ret apiruntime.Object, err error) {
    		// listAction := action.(cgotesting.ListAction)
    		gvr := action.GetResource()
    		ns := action.GetNamespace()
    		gvr.Resource += "es"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            description                 | mutation
            "outputs.cacheIf { false }" | "outputs.cacheIf { false }"
            "eachFile(Closure)"         | "eachFile {}"
            "eachFile(Action)"          | "eachFile(org.gradle.internal.Actions.doNothing())"
            "expand(Map)"               | "expand([:])"
            "filter(Closure)"           | "filter {}"
            "filter(Class)"             | "filter(PushbackReader)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    === Deprecations
    
    [[java_lamdba_action]]
    ==== Using Java lambdas as task actions
    
    When using a Java lambda to implement a task action, Gradle cannot track the implementation and the task will never be up-to-date or served from the build cache.
    Since it is easy to add such a task action, using task actions implemented by Java lambdas is now deprecated.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * You can no longer cast `FileCollection` objects to other types using the `as` keyword or the `asType()` method.
     * You can no longer pass `null` as the configuration action of link:{javadocPath}/org/gradle/api/file/CopySpec.html#from-java.lang.Object-org.gradle.api.Action-[CopySpec.from(Object, Action)].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    	// the first non-empty line that is not a build constraint.
    	var action string
    	for actionSrc := src; action == "" && actionSrc != ""; {
    		var line string
    		line, actionSrc, _ = strings.Cut(actionSrc, "\n")
    		if constraint.IsGoBuild(line) || constraint.IsPlusBuild(line) {
    			continue
    		}
    		action = strings.TrimSpace(strings.TrimPrefix(line, "//"))
    	}
    	if action == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. pkg/apis/admissionregistration/types.go

    	//
    	// Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according
    	// to these actions only if the FailurePolicy is set to Fail, otherwise the failures are
    	// ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
    	//
    	// validationActions is declared as a set of action values. Order does
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                    return factory.create().length()
                }
    
                @Provides
                Factory<String> createString(Callable<String> action) {
                    return { action.call() } as Factory
                }
    
                @Provides
                Callable<String> createAction() {
                    return { "hi" }
                }
            })
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    			PathSeparatedPrefix: "/route/v1",
    		}))
    		g.Expect(routes[0].Action.(*envoyroute.Route_Route).Route.ClusterNotFoundResponseCode).
    			To(Equal(envoyroute.RouteAction_INTERNAL_SERVER_ERROR))
    		g.Expect(routes[1].Match.PathSpecifier).To(Equal(&envoyroute.RouteMatch_Prefix{
    			Prefix: "/",
    		}))
    		g.Expect(routes[1].Action.(*envoyroute.Route_Route).Route.ClusterNotFoundResponseCode).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top