Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for withEnvs (0.19 sec)

  1. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    				resource1: newContainerAllocateResponse(
    					withDevices(map[string]string{"/dev/r1": "/dev/r1"}),
    					withMounts(map[string]string{"/home/lib1": "/home/lib1"}),
    					withEnvs(map[string]string{"ENV1": "VALUE1"}),
    					withCDIDevices("vendor1.com/class1=device1", "vendor2.com/class2=device2"),
    				),
    			},
    			expected: &DeviceRunContainerOptions{
    				Devices: []kubecontainer.DeviceInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    func withMounts(mounts map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.mounts = mounts
    	}
    }
    
    // withEnvs sets the envs for the containerAllocateResponseBuilder
    func withEnvs(envs map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.envs = envs
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  3. Jenkinsfile

            stage('Build / Unit Test') {
                String jdkName = jenkinsEnv.jdkFromVersion(buildOs, buildJdk)
                String mvnName = jenkinsEnv.mvnFromVersion(buildOs, buildMvn)
                try {
                    withEnv(["JAVA_HOME=${ tool "$jdkName" }",
                             "PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
                             "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {                   
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. Jenkinsfile.its

      }
      parameters {
        string( defaultValue: 'master', description: 'Core Its branch (default master)',
                name: 'ITS_BRANCH' )
      }
      stages {
        stage("Build Maven Core") {
          steps {
            withEnv(["JAVA_HOME=${ tool "JDK 1.8 (latest)" }", "PATH+MAVEN=${tool 'Maven 3.6.3'}/bin:${env.JAVA_HOME}/bin"]) {
                sh "mvn -Drat.skip=true -T2 -B -V install -PversionlessMavenDist -Dmaven.repo.local=${env.WORKSPACE}/repo"
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Dec 26 16:42:35 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleInContainer.groovy

                started = false
                container.stop()
                monitor.interrupt()
            }
        }
    
        GradleInContainer withEnv(Map<String, ?> stringMap) {
            Map<String, String> env = [:]
            stringMap.each { k, v -> env[k] = v?.toString() }
            container.withEnv(env)
            this
        }
    
        ExecutionResult succeeds(String... tasks) {
            executer.withTasks(tasks)
            executer.run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. Jenkinsfile.s390x

            stage('Build / Unit Test') {
                String jdkName = jenkinsEnv.jdkFromVersion(buildOs, buildJdk)
                String mvnName = jenkinsEnv.mvnFromVersion(buildOs, buildMvn)
                try {
                    withEnv(["JAVA_HOME=${ tool "$jdkName" }",
                             "PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
                             "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {                   
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleContainerExecuter.groovy

            }
            result
        }
    
        @CompileDynamic
        private OutputScrapingExecutionResult executeInContainer() {
            def invocation = buildInvocation()
            container.withEnv(invocation.environmentVars.collectEntries { k, v -> [k, v]})
            def containerResult = container.execute(["/gradle-under-test/bin/gradle", *invocation.args] as String[])
            def result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            super.setUp();
    
            final int port = 9000;
            logger.info("Creating {}", IMAGE_NAME);
            minioServer = new GenericContainer<>(IMAGE_NAME)//
                    .withEnv("MINIO_ACCESS_KEY", ACCESS_KEY)//
                    .withEnv("MINIO_SECRET_KEY", SECRET_KEY)//
                    .withExposedPorts(port)//
                    .withCommand("server /data")//
                    .waitingFor(new HttpWaitStrategy()//
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go

    	}
    	return b
    }
    
    // WithEnv adds the given value to the Env 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 Env field.
    func (b *EphemeralContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 21:39:35 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go

    	}
    	return b
    }
    
    // WithEnv adds the given value to the Env 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 Env field.
    func (b *ContainerApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *ContainerApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 21:39:35 UTC 2023
    - 14.4K bytes
    - Viewed (0)
Back to top