Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for setEnv (0.34 sec)

  1. cmd/common-main.go

    		isprel := globalBrowserConfig.IsHSTSPreload()
    		os.Setenv("CONSOLE_SECURE_STS_SECONDS", strconv.Itoa(hstsSeconds))
    		os.Setenv("CONSOLE_SECURE_STS_INCLUDE_SUB_DOMAINS", isubdom)
    		os.Setenv("CONSOLE_SECURE_STS_PRELOAD", isprel)
    	}
    
    	if valueRefer := globalBrowserConfig.GetReferPolicy(); valueRefer != "" {
    		os.Setenv("CONSOLE_SECURE_REFERRER_POLICY", valueRefer)
    	}
    
    	globalSubnetConfig.ApplyEnv()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. schema/field.go

    				}
    			case **int32:
    				if data != nil && *data != nil {
    					field.ReflectValueOf(ctx, value).SetInt(int64(**data))
    				}
    			case int64:
    				field.ReflectValueOf(ctx, value).SetInt(data)
    			case int:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int16:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  3. cni/pkg/cmd/root.go

    		SkipTLSVerify:      viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    		K8sServiceHost:     os.Getenv("KUBERNETES_SERVICE_HOST"),
    		K8sServicePort:     os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:        os.Getenv("KUBERNETES_NODE_NAME"),
    
    		CNIBinSourceDir:   constants.CNIBinDir,
    		CNIBinTargetDirs:  []string{constants.HostCNIBinDir},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread {
            return Thread(runnable, "$name-${nextId++}")
          }
        }
      }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. settings.gradle.kts

    include(":samples:static-server")
    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. pdm_build.py

    import os
    from typing import Any, Dict, List
    
    from pdm.backend.hooks import Context
    
    TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi")
    
    
    def pdm_build_initialize(context: Context) -> None:
        metadata = context.config.metadata
        # Get custom config for the current package, from the env var
        config: Dict[str, Any] = context.config.data["tool"]["tiangolo"][
            "_internal-slim-build"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	c.mustListObjects(ctx, lisaClient, "projectaorb")
    	c.mustNotListObjects(ctx, lisaClient, "other")
    }
    
    func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) {
    	openIDServer := os.Getenv(EnvTestOpenIDServer)
    	openIDServer2 := os.Getenv(EnvTestOpenIDServer2)
    	if openIDServer == "" || openIDServer2 == "" {
    		t.Skip("Skipping OpenID test as enough OpenID servers are not provided.")
    	}
    	testApps := testClientApps
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                    Lookup lookup) {
                super(session, repositorySystem, repositories, resolverRepositories, lookup);
                systemProperties = System.getenv().entrySet().stream()
                        .collect(Collectors.toMap(e -> "env." + e.getKey(), e -> e.getValue()));
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
        if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) {
            val rootProjectName = rootProject.name
            val isInBuildLogic = rootProjectName == "build-logic"
            gradle.taskGraph.whenReady {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/settings.md

    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    !!! tip
        The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top