Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for off (0.14 sec)

  1. internal/config/identity/openid/openid.go

    			if kvsrc.Key != madmin.EnableKey {
    				continue
    			}
    			// for EnableKey we set an explicit on/off from live configuration
    			// if it is present.
    			if _, ok := r.ProviderCfgs[cfgName]; !ok {
    				// No live config is present
    				continue
    			}
    			if r.Enabled {
    				kvsrc.Value = "on"
    			} else {
    				kvsrc.Value = "off"
    			}
    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. internal/config/heal/help.go

    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Bitrot,
    			Description: `perform bitrot scan on drives when checking objects during scanner` + defaultHelpPostfix(Bitrot),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. internal/crypto/auto-encryption.go

    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    // the MINIO_KMS_AUTO_ENCRYPTION env. variable is
    // set to "on".
    func LookupAutoEncryption() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. internal/config/api/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    			Description: "turn 'off' root credential access for all API calls including s3, admin operations" + defaultHelpPostfix(apiRootAccess),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiSyncEvents,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. internal/config/bool-flag_test.go

    )
    
    // Test BoolFlag.String()
    func TestBoolFlagString(t *testing.T) {
    	var bf BoolFlag
    
    	testCases := []struct {
    		flag           BoolFlag
    		expectedResult string
    	}{
    		{bf, "off"},
    		{BoolFlag(true), "on"},
    		{BoolFlag(false), "off"},
    	}
    
    	for _, testCase := range testCases {
    		str := testCase.flag.String()
    		if testCase.expectedResult != str {
    			t.Fatalf("expected: %v, got: %v", testCase.expectedResult, str)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. internal/config/bool-flag.go

    	switch str {
    	case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On":
    		return true, nil
    	case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off":
    		return false, nil
    	}
    	if strings.EqualFold(str, "enabled") {
    		return true, nil
    	}
    	if strings.EqualFold(str, "disabled") {
    		return false, nil
    	}
    	return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 07 15:10:40 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-config-kv.go

    		for _, item := range cfgSubsysItems {
    			off := item.Config.Get(config.Enable) == config.EnableOff
    			switch hkv.Key {
    			case config.EtcdSubSys:
    				off = !etcd.Enabled(item.Config)
    			case config.StorageClassSubSys:
    				off = !storageclass.Enabled(item.Config)
    			case config.PolicyPluginSubSys:
    				off = !polplugin.Enabled(item.Config)
    			case config.IdentityOpenIDSubSys:
    				off = !openid.Enabled(item.Config)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils.go

    			val, ok = reqQueries[header]
    		}
    		if ok {
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = val
    			continue
    		}
    		switch header {
    		case "expect":
    			// Golang http server strips off 'Expect' header, if the
    			// client sent this as part of signed headers we need to
    			// handle otherwise we would see a signature mismatch.
    			// `aws-cli` sets this as part of signed headers.
    			//
    			// According to
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ServerInsecure,
    			Description: `allow plain text connection to AD/LDAP server` + defaultHelpPostfix(ServerInsecure),
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         ServerStartTLS,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. internal/config/identity/tls/config.go

    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   skipVerify,
    		Value: "off",
    	},
    }
    
    // Help is the help and description for the STS API K/V configuration.
    var Help = config.HelpKVS{
    	config.HelpKV{
    		Key:         skipVerify,
    		Description: `trust client certificates without verification (default: 'off')`,
    		Optional:    true,
    		Type:        "on|off",
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top