- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for withEnvs (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 21:39:35 UTC 2023 - 15.2K bytes - Viewed (0)