Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 418 for getNodes (0.12 sec)

  1. pkg/kubelet/container/testing/mock_runtime_cache.go

    }
    
    // GetPods mocks base method.
    func (m *MockRuntimeCache) GetPods(arg0 context.Context) ([]*container.Pod, error) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetPods", arg0)
    	ret0, _ := ret[0].([]*container.Pod)
    	ret1, _ := ret[1].(error)
    	return ret0, ret1
    }
    
    // GetPods indicates an expected call of GetPods.
    func (mr *MockRuntimeCacheMockRecorder) GetPods(arg0 any) *gomock.Call {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if ((groupId == null) && (getModel().getParent() != null)) {
                groupId = getModel().getParent().getGroupId();
            }
    
            return groupId;
        }
    
        public void setArtifactId(String artifactId) {
            getModel().setArtifactId(artifactId);
        }
    
        public String getArtifactId() {
            return getModel().getArtifactId();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/UseOtherTypesToFetchProjectModel.java

            IdeaProject ideaProject = controller.getModel(IdeaProject.class);
            for (IdeaModule ideaModule : ideaProject.getModules()) {
                visit(ideaModule, controller, new HashMap<String, CustomModel>());
            }
    
            // Use an EclipseProject to reference a project
            EclipseProject eclipseProject = controller.getModel(EclipseProject.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/BuildControllerWithoutParameterSupportTest.groovy

            def model = new Object()
            def modelType = Object
            def buildResult = Stub(BuildResult) {
                getModel() >> model
            }
    
            when:
            def result = controller.getModel(null, modelType, null, null)
    
            then:
            1 * delegate.getModel(null, {it.name == Object.name}) >> buildResult
            0 * delegate._
    
            and:
            result == model
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/GradleTaskGetGroupCrossVersionSpec.groovy

    task test1(group:'task group 1')
    task test2(group:'task group 2')
    '''
    
            when:
            def gradleProject = withConnection { ProjectConnection connection ->
                connection.getModel(GradleProject)
            }
    
            then:
            gradleProject != null
            gradleProject.tasks.findAll { it.name.startsWith('test') }.each {
                assert it.group == "task group ${it.name-'test'}"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ParameterAwareBuildControllerAdapterTest.groovy

        def "unpacks unsupported model exception"() {
            def failure = new RuntimeException()
    
            given:
            _ * delegate.getModel(null, _, null) >> { throw new InternalUnsupportedModelException().initCause(failure) }
    
            when:
            controller.getModel(String)
    
            then:
            UnknownModelException e = thrown()
            e.message == /No model of type 'String' is available in this build./
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildController.java

         * @throws UnknownModelException When the default project does not support the requested model.
         * @since 1.8
         */
        <T> T getModel(Class<T> modelType) throws UnknownModelException;
    
        /**
         * Fetches a snapshot of the model of the given type, if available.
         *
         * <p>See {@link #getModel(Class)} for more details.</p>
         *
         * @param modelType The model type.
         * @param <T> The model type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r72/CompositeBuildCrossVersionSpec.groovy

    class CompositeBuildCrossVersionSpec extends ToolingApiSpecification {
        def "includes buildSrc builds in model"() {
            buildsWithBuildSrc()
    
            given:
            def model = withConnection {
                it.getModel(GradleBuild)
            }
    
            expect:
            model.includedBuilds.size() == 1
    
            def included = model.includedBuilds[0]
            included.buildIdentifier.rootDir == file("child")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy

            GradleProject model = withConnection { connection ->
                connection.getModel(GradleProject)
            }
            GradleTask taskT1 = model.tasks.find { it.name == 't1' }
            GradleTask taskBT2 = model.findByPath(':b').tasks.find { it.name == 't2' }
            BuildInvocations rootSelectors = withConnection { connection ->
                connection.getModel(BuildInvocations)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/BuildEnvironmentModelCrossVersionSpec.groovy

                "project.description = java.lang.management.ManagementFactory.runtimeMXBean.inputArguments.join('##')"
    
            when:
            BuildEnvironment env = withConnection { it.getModel(BuildEnvironment.class) }
            GradleProject project = withConnection { it.getModel(GradleProject.class) }
    
            then:
            def inputArgsInBuild = project.description.split('##') as List
            env.java.jvmArguments.each { inputArgsInBuild.contains(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top