Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withState (0.17 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go

    	return &ExampleStatusApplyConfiguration{}
    }
    
    // WithState sets the State field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the State field is set to the value of the last call.
    func (b *ExampleStatusApplyConfiguration) WithState(value v1.ExampleState) *ExampleStatusApplyConfiguration {
    	b.State = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/plugins/CompositeBuildPluginResolverContributor.java

                    return PluginResult.NO_INCLUDED_BUILDS;
                }
                for (IncludedBuildState build : includedBuilds) {
                    Optional<PluginResolution> pluginResolution = build.withState(gradleInternal -> LocalPluginResolution.resolvePlugin(gradleInternal, requestedPluginId));
                    if (pluginResolution.isPresent()) {
                        return new ResolvedPlugin(pluginResolution.get());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/IncludedBuildState.java

        String getName();
    
        File getRootDirectory();
    
        boolean isPluginBuild();
    
        Action<? super DependencySubstitutions> getRegisteredDependencySubstitutions();
    
        <T> T withState(Transformer<T, ? super GradleInternal> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 14 21:39:25 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go

    	b.Name = &value
    	return b
    }
    
    // WithState sets the State field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the State field is set to the value of the last call.
    func (b *ContainerStatusApplyConfiguration) WithState(value *ContainerStateApplyConfiguration) *ContainerStatusApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTest.groovy

            id.projectName == projectId.projectName
        }
    
        def "can run action against build state"() {
            def action = Mock(Transformer)
    
            when:
            def result = build.withState(action)
    
            then:
            result == "result"
            1 * action.transform(gradle) >> "result"
            0 * action._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 22 14:22:44 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuild.java

        @Override
        public Action<? super DependencySubstitutions> getRegisteredDependencySubstitutions() {
            return buildDefinition.getDependencySubstitutions();
        }
    
        @Override
        public <T> T withState(Transformer<T, ? super GradleInternal> action) {
            // This should apply some locking, but most access to the build state does not happen via this method yet
            return action.transform(getMutableModel());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 15:09:14 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top