Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,439 for untainer (0.17 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/LazyAdditionToDomainObjectCollectionIntegrationTest.groovy

                container.withType(Base) {
                    println "withType(Base) called on " + it
                }
                container.addLater(provider { create(Base) })
            """
            expect:
            succeeds("help")
            outputContains("withType(Base) called on ")
        }
        def "addLater(Base) triggers configuration with eager withType(Sub)"() {
            buildFile << """
                container.withType(Sub) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 10 20:36:26 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ContainerTest.groovy

            Container container = createContainer()
            container.nativeLibraryLocation += 'x'
    
            expect:
            container != createContainer()
        }
    
        private Container createContainer() {
            Container container = new Container('somePath')
            container.exported = true
            container.nativeLibraryLocation = 'mynative'
            container.accessRules += [new AccessRule('nonaccessible', 'secret**')]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectSetTest.groovy

            def action = Mock(Action)
            container.beforeCollectionChanges(action)
    
            when:
            container.removeAll(["a", "b"])
    
            then:
            1 * action.execute(null)
            0 * _
        }
    
        def callsVetoActionOnceBeforeCollectionIsIntersected() {
            def action = Mock(Action)
            container.add("a")
            container.add("b")
            container.beforeCollectionChanges(action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 23:50:58 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt

            }
    
            // regular syntax
            container.getByName("alice") {
                foo = "alice-foo"
            }
            container.create("bob") {
                foo = "bob-foo"
            }
            container.maybeCreate("john")
    
            container.named("marty")
            container.register("doc")
    
            // invoke syntax
            container {
                getByName("alice") {
                    foo = "alice-foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 22:58:28 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/labels_test.go

    		PodTerminationGracePeriod: pod.Spec.TerminationGracePeriodSeconds,
    		Hash:                      kubecontainer.HashContainer(container),
    		RestartCount:              restartCount,
    		TerminationMessagePath:    container.TerminationMessagePath,
    		PreStopHandler:            container.Lifecycle.PreStop,
    	}
    
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.InPlacePodVerticalScaling, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/resource_allocation_test.go

    						{}, {},
    					},
    				},
    			},
    			// should accumulate once per container without a request
    			expected: map[v1.ResourceName]int64{
    				v1.ResourceCPU:    2 * util.DefaultMilliCPURequest,
    				v1.ResourceMemory: 2 * util.DefaultMemoryRequest,
    			},
    		},
    		{
    			name: "request container + requestless container",
    			pod: v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultArtifactRepositoryContainerTest.groovy

            def repo2 = Mock(ArtifactRepository) { getName() >> "b" }
    
            when:
            container.addFirst(repo1)
            container.addFirst(repo2)
    
            then:
            container == [repo2, repo1]
            container.collect { it } == [repo2, repo1]
            container.matching { true } == [repo2, repo1]
            container.matching { true }.collect { it } == [repo2, repo1]
        }
    
        def testAddLast() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/fake_memory_manager.go

    	return NewPolicyNone()
    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("Add container", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. pkg/kubelet/prober/prober.go

    // recordContainerEvent should be used by the prober for all container related events.
    func (pb *prober) recordContainerEvent(pod *v1.Pod, container *v1.Container, eventType, reason, message string, args ...interface{}) {
    	ref, err := kubecontainer.GenerateContainerRef(pod, container)
    	if err != nil {
    		klog.ErrorS(err, "Can't make a ref to pod and container", "pod", klog.KObj(pod), "containerName", container.Name)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseClasspathContainer container = project.classpathContainers.find { it.path == 'whenMergedContainerPath' }
    
            then:
            container != null
            container.exported == false
        }
    
        def "Classpath container can be configured"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top