Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newContainers (0.18 sec)

  1. pkg/apis/core/v1/helper/qos/qos_test.go

    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    				newContainer("burstable", getResourceList("1", ""), getResourceList("2", "")),
    			}),
    			expected: v1.PodQOSBurstable,
    		},
    		{
    			pod: newPod("best-effort-guaranteed", []v1.Container{
    				newContainer("best-effort", getResourceList("", ""), getResourceList("", "")),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 14:47:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. test/typeparam/issue48337b.dir/a.go

    package a
    
    type Container[T any] struct {
    	X T
    }
    
    func NewContainer[T any](x T) *Container[T] {
    	return &Container[T]{x}
    }
    
    type MetaContainer struct {
    	C *Container[Value]
    }
    
    type Value struct{}
    
    func NewMetaContainer() *MetaContainer {
    	c := NewContainer(Value{})
    	// c := &Container[Value]{Value{}} // <-- this works
    	return &MetaContainer{c}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 14 23:07:15 UTC 2021
    - 508 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

            // not checked because running in containers
        }
    
        def "can use a read-only cache within a container"() {
            given:
            exposeServerToContainers()
            def container = newContainer()
            def testBuildDir = createContainerBuild()
    
            when:
            synchronizer.expect("build")
            // The HEAD requests are because the URL of the repository is different
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/handler.go

    	nonGoRestfulMux := mux.NewPathRecorderMux(name)
    	if notFoundHandler != nil {
    		nonGoRestfulMux.NotFoundHandler(notFoundHandler)
    	}
    
    	gorestfulContainer := restful.NewContainer()
    	gorestfulContainer.ServeMux = http.NewServeMux()
    	gorestfulContainer.Router(restful.CurlyRouter{}) // e.g. for proxy/{kind}/{name}/{*}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 14 17:10:00 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top