Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Environ (0.57 sec)

  1. cmd/service.go

    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/admin-server-info.go

    		config.EnvSecretKey:         {},
    		config.EnvRootUser:          {},
    		config.EnvRootPassword:      {},
    		config.EnvMinIOSubnetAPIKey: {},
    		kms.EnvKMSSecretKey:         {},
    	}
    	for _, v := range os.Environ() {
    		if !strings.HasPrefix(v, "MINIO") && !strings.HasPrefix(v, "_MINIO") {
    			continue
    		}
    		split := strings.SplitN(v, "=", 2)
    		key := split[0]
    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. docs/sts/client_grants/__init__.py

            self.cid = cid
            self.csec = csec
            self.idp_ep = idp_ep
            self.sts_ep = sts_ep
    
            # Load CA certificates from SSL_CERT_FILE file if set
            ca_certs = os.environ.get('SSL_CERT_FILE')
            if not ca_certs:
                ca_certs = certifi.where()
    
            self._http = urllib3.PoolManager(
                timeout=urllib3.Timeout.DEFAULT_TIMEOUT,
                maxsize=10,
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Viewed (1)
  4. cmd/server-main.go

    		fmt.Println("Currently set environment settings:")
    		ks := []string{
    			config.EnvAccessKey,
    			config.EnvSecretKey,
    			config.EnvRootUser,
    			config.EnvRootPassword,
    		}
    		for _, v := range os.Environ() {
    			// Do not print sensitive creds in debug.
    			if slices.Contains(ks, strings.Split(v, "=")[0]) {
    				continue
    			}
    			fmt.Println(v)
    		}
    		fmt.Println("======")
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  5. cmd/common-main.go

    		if (quote == '"' || quote == '\'') && val[len(val)-1] == quote {
    			val = val[1 : len(val)-1]
    		}
    	}
    
    	return envKV{
    		Key:   key,
    		Value: val,
    	}, nil
    }
    
    // Similar to os.Environ returns a copy of strings representing
    // the environment values from a file, in the form "key, value".
    // in a structured form.
    func minioEnvironFromFile(envConfigFile string) ([]envKV, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
Back to top