Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for envName (0.12 sec)

  1. cmd/update_test.go

    		},
    	}
    
    	for i, testCase := range testCases {
    		if testCase.envName != "" {
    			t.Setenv(testCase.envName, testCase.envValue)
    			if testCase.envName == "MESOS_CONTAINER_NAME" {
    				t.Setenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION", "mesos-1111")
    			}
    		}
    
    		str := getUserAgent(testCase.mode)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("maven.properties");
            Files.writeString(propsPath, "${includes} = default.properties,?env-${env.envName}.properties\n");
            Path defPath = userDirectory.resolve("default.properties");
            Files.writeString(defPath, "foo=bar");
            Path envPath = userDirectory.resolve("env-ci.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. internal/logger/config.go

    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    	return cfg
    }
    
    func getCfgVal(envName, key, defaultValue string) string {
    	if key != config.Default {
    		envName = envName + config.Default + key
    	}
    	return env.Get(envName, defaultValue)
    }
    
    func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config {
    	cfg := NewConfig()
    	switch subSys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        public static Path getJavaScriptPath(final String... names) {
            return getPath(StringUtil.EMPTY, "js", names);
        }
    
        public static Path getEnvPath(final String envName, final String... names) {
            return getPath("WEB-INF/", "env/" + envName, names);
        }
    
        protected static Path getPath(final String root, final String base, final String... names) {
    
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. internal/config/config.go

    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    	for _, e := range env.List(envname) {
    		tgt := strings.TrimPrefix(e, envname+Default)
    		if tgt == envname {
    			tgt = Default
    		}
    		newCfgKVS[tgt] = defaultKVS
    	}
    	for tgt, kv := range cfgKVS {
    		newCfgKVS[tgt] = kv
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    	env.Register(envName, defaultValue, usage)
    	bindViper(name)
    }
    
    func bindViper(name string) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    mvn.resolve("maven.properties"),
                    "${includes} = env-${envName}.properties\nfro = ${bar}z\n" + "bar = chti${java.version}\n");
            Files.writeString(mvn.resolve("env-test.properties"), "\n");
    
            // Arrange
            CliRequest request = new CliRequest(
                    new String[] {
                        "-DenvName=test",
                        "-Dfoo=bar",
                        "-DvalFound=s${foo}i",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    		var foundObjects bool
    		err := readDirFn(pathJoin(f.root, folder.name), func(entName string, typ os.FileMode) error {
    			// Parse
    			entName = pathClean(pathJoin(folder.name, entName))
    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/request-forms.md

    ///
    
    ## Sobre "Campos de formulário"
    
    A forma como os formulários HTML (`<form></form>`) enviam os dados para o servidor normalmente usa uma codificação "especial" para esses dados, é diferente do JSON.
    
    O **FastAPI** fará a leitura desses dados no lugar certo em vez de JSON.
    
    /// note | "Detalhes técnicos"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/http-basic-auth.md

    ### Ataques de Temporização
    
    Mas o que é um "timing attack" (ataque de temporização)?
    
    Vamos imaginar que alguns invasores estão tentando adivinhar o usuário e a senha.
    
    E eles enviam uma requisição com um usuário `johndoe` e uma senha `love123`.
    
    Então o código Python em sua aplicação seria equivalente a algo como:
    
    ```Python
    if "johndoe" == "stanleyjobson" and "love123" == "swordfish":
        ...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top