- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,674 for factory (0.1 sec)
-
istioctl/pkg/util/handlers/handlers.go
} func InferPodsFromTypedResource(name, defaultNS string, factory cmdutil.Factory) ([]string, string, error) { resname, ns := inferNsInfo(name, defaultNS) if !strings.Contains(resname, "/") { return []string{resname}, ns, nil } client, podName, namespace, selector, err := getClientForResource(resname, ns, factory) if err != nil { return []string{}, "", err } if podName != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 06 15:01:41 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy
when: ExecResult result = factory.javaexec { spec -> spec.classpath(files as Object[]) spec.mainClass = SomeMain.name spec.args testFile.absolutePath } then: testFile.isFile() result.exitValue == 0 } def javaexecWithNonZeroExitValueShouldThrowException() { when: factory.javaexec { spec ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 15 17:11:21 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java
private final ProjectStateRegistry projectStateRegistry; private final LocalComponentGraphResolveStateFactory localResolveStateFactory; private final DefaultRootComponentMetadataBuilder.Factory factory; /** * Use {@link Factory#create} to create instances. */ private DefaultRootComponentMetadataBuilder( DependencyMetaDataProvider metadataProvider, ComponentIdentifierFactory componentIdentifierFactory,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
super(rules); this.factory = factory; } @Override public Factory<? extends T> getFactory() { return factory; } } private static class ParameterizedExtractedRuleSource<T> extends DefaultExtractedRuleSource<T> implements GeneratedViewState, Factory<T> { @Nullable private final ModelProperty<?> targetProperty;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultDirectoryFileTreeFactory.java
import org.gradle.api.tasks.util.PatternSet; import org.gradle.internal.Factory; import org.gradle.internal.nativeintegration.filesystem.FileSystem; import org.gradle.internal.nativeintegration.services.FileSystems; import java.io.File; public class DefaultDirectoryFileTreeFactory implements DirectoryFileTreeFactory { private final Factory<PatternSet> patternSetFactory; private final FileSystem fileSystem;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/SubscribableBuildActionExecutor.java
private final BuildEventListenerFactory factory; public SubscribableBuildActionExecutor(ListenerManager listenerManager, BuildOperationListenerManager buildOperationListenerManager, BuildEventListenerFactory factory, BuildEventConsumer eventConsumer,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingSet.java
private final Function<E, E> factory; public AccessTrackingSet(Set<? extends E> delegate, Listener listener) { this(delegate, listener, Function.identity()); } public AccessTrackingSet(Set<? extends E> delegate, Listener listener, Function<E, E> factory) { this.delegate = delegate; this.listener = listener; this.factory = factory; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationLoggerTest.groovy
events[1].message.startsWith('nag') } def "does not log warning while disabled with factory"() { given: Factory<String> factory = Mock(Factory) when: def result = DeprecationLogger.whileDisabled(factory) then: result == 'result' and: 1 * factory.create() >> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:06:10 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateFactoryTest.groovy
def "generates from template within sourceSet"() { setup: def targetAsFile = new File(target) def settings = createInitSettings("") def factory = new TemplateFactory(settings, language, templateOperationFactory) when: factory.fromSourceTemplate("someTemplate/SomeClazz.somelang.template", sourceSet) then: 1 * targetDir.file(target) >> targetFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 20:26:42 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts
gradlePluginPortal() } // tag::object-factory[] tasks.register("myObjectFactoryTask") { doLast { val objectFactory = project.objects val myProperty = objectFactory.property(String::class) myProperty.set("Hello, Gradle!") println(myProperty.get()) } } // end::object-factory[] // tag::object-factory-inject[] abstract class MyObjectFactoryTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.4K bytes - Viewed (0)