Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for withSource (0.52 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go

    	b.Name = &value
    	return b
    }
    
    // WithSource sets the Source 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 Source field is set to the value of the last call.
    func (b *PodResourceClaimApplyConfiguration) WithSource(value *ClaimSourceApplyConfiguration) *PodResourceClaimApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:22:42 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ModuleSources.java

    public interface ModuleSources {
        <T extends ModuleSource> Optional<T> getSource(Class<T> sourceType);
    
        void withSources(Consumer<ModuleSource> consumer);
    
        /**
         * Executes an action on the first source found of the following type, if any.
         */
        default <T extends ModuleSource, R> R withSource(Class<T> sourceType, Function<Optional<T>, R> action) {
            return action.apply(getSource(sourceType));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutor.java

        }
    
        private static Transformer<Object, ModuleComponentResolveMetadata> getKeyToSnapshotableTransformer() {
            return moduleMetadata -> moduleMetadata.getSources().withSource(ModuleDescriptorHashModuleSource.class, source -> {
                return source.map(metadataFileSource -> metadataFileSource.getDescriptorHash().toString() + moduleMetadata.getVariantDerivationStrategy().getClass().getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) ServeHTTP(http.ResponseWriter, *http.Request) {
    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) WithSource(source Source) ResourceManager {
    	panic("unimplemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go

    	return &ProjectedVolumeSourceApplyConfiguration{}
    }
    
    // WithSources adds the given value to the Sources field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    // If called multiple times, values provided by each call will be appended to the Sources field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ImmutableModuleSources.java

            if (sources instanceof ImmutableModuleSources) {
                return new ImmutableModuleSources((ImmutableModuleSources) sources, source);
            }
            List<ModuleSource> all = new ArrayList<>();
            sources.withSources(all::add);
            all.add(source);
            return of(all.toArray(new ModuleSource[0]));
        }
    
        public static ImmutableModuleSources of(ModuleSources sources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactVariantReselectionIntegrationTest.groovy

                    }
                }
    
                java {
                    sourceSets {
                        withSources
                    }
                    registerFeature("withSources") {
                        usingSourceSet(sourceSets.withSources)
                        withSourcesJar()
                    }
                }
    
                java {
                    sourceSets {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 19:46:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ModuleComponentResolveMetadata.java

         */
        MutableModuleComponentResolveMetadata asMutable();
    
        /**
         * Creates a copy of this meta-data with the given sources.
         */
        ModuleComponentResolveMetadata withSources(ModuleSources sources);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/MutableModuleSources.java

            }
            MutableModuleSources mutableModuleSources = new MutableModuleSources();
            if (sources == null) {
                return mutableModuleSources;
            }
            sources.withSources(mutableModuleSources::add);
            return mutableModuleSources;
        }
    
        @Override
        public <T extends ModuleSource> Optional<T> getSource(Class<T> sourceType) {
            if (moduleSources == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleSourcesSerializer.java

            this.moduleSourceCodecs = moduleSourceCodecs;
        }
    
        @Override
        public void write(Encoder encoder, ModuleSources value) throws IOException {
            value.withSources(source -> {
                try {
                    if (source instanceof PersistentModuleSource) {
                        PersistentModuleSource persistentModuleSource = (PersistentModuleSource) source;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top