Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for kvs (0.01 sec)

  1. internal/config/policy/opa/legacy.go

    func SetPolicyOPAConfig(s config.Config, opaArgs Args) {
    	if opaArgs.URL == nil || opaArgs.URL.String() == "" {
    		// Do not enable if opaArgs was empty.
    		return
    	}
    	s[config.PolicyOPASubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: opaArgs.URL.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: opaArgs.AuthToken,
    		},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. internal/config/storageclass/legacy.go

    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    	s[config.StorageClassSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: cfg.RRS.String(),
    		},
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. internal/config/compress/legacy.go

    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    			Key:   MimeTypes,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:37:10 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. cmd/etcd.go

    	if err != nil {
    		etcdLogOnceIf(ctx, err, "etcd-retrieve-keys")
    		return nil, etcdErrToErr(err, client.Endpoints())
    	}
    	if resp.Count == 0 {
    		return nil, errConfigNotFound
    	}
    	for _, ev := range resp.Kvs {
    		if string(ev.Key) == key {
    			return ev.Value, nil
    		}
    	}
    	return nil, errConfigNotFound
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/config.go

    )
    
    func listServerConfigHistory(ctx context.Context, objAPI ObjectLayer, withData bool, count int) (
    	[]madmin.ConfigHistoryEntry, error,
    ) {
    	var configHistory []madmin.ConfigHistoryEntry
    
    	// List all kvs
    	marker := ""
    	for {
    		res, err := objAPI.ListObjects(ctx, minioMetaBucket, minioConfigHistoryPrefix, marker, "", maxObjectList)
    		if err != nil {
    			return nil, err
    		}
    		for _, obj := range res.Objects {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    	alias := tableAlias
    	if tableAlias == "" {
    		alias = baseTableName
    	}
    	pathExpr := e.StripTableAlias(alias)
    	_, rawVal := r.Raw()
    	switch rowVal := rawVal.(type) {
    	case jstream.KVS, simdjson.Object:
    		if len(pathExpr) == 0 {
    			pathExpr = []*JSONPathElement{{Key: &ObjectKey{ID: e.BaseKey}}}
    		}
    
    		result, _, err := jsonpathEval(pathExpr, rowVal)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt_test.go

    }
    
    func TestKeycloakProviderInitialization(t *testing.T) {
    	testConfig := providerCfg{
    		DiscoveryDoc: DiscoveryDoc{
    			TokenEndpoint: "http://keycloak.test/token/endpoint",
    		},
    	}
    	testKvs := config.KVS{}
    	testKvs.Set(Vendor, "keycloak")
    	testKvs.Set(KeyCloakRealm, "TestRealm")
    	testKvs.Set(KeyCloakAdminURL, "http://keycloak.test/auth/admin")
    	cfgGet := func(param string) string {
    		return testKvs.Get(param)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. internal/config/dns/etcd_dns.go

    		// only if we are looking at `domain` as true
    		// we should return error here.
    		if domain && r.Count == 0 {
    			return nil, ErrDomainMissing
    		}
    	}
    
    	var srvRecords []SrvRecord
    	for _, n := range r.Kvs {
    		var srvRecord SrvRecord
    		if err = json.Unmarshal(n.Value, &srvRecord); err != nil {
    			return nil, err
    		}
    		srvRecord.Key = strings.TrimPrefix(string(n.Key), key)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Joiner.java

          public Joiner useForNull(String nullText) {
            throw new UnsupportedOperationException("already specified skipNulls");
          }
    
          @Override
          public MapJoiner withKeyValueSeparator(String kvs) {
            throw new UnsupportedOperationException("can't use .skipNulls() with maps");
          }
        };
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    // It will attempt to read it from env variable and fall back to drives/2.
    func ecDrivesNoConfig(setDriveCount int) (int, error) {
    	sc, err := storageclass.LookupConfig(config.KVS{}, setDriveCount)
    	if err != nil {
    		return 0, err
    	}
    	return sc.GetParityForSC(storageclass.STANDARD), nil
    }
    
    // Initialize a new set of set formats which will be written to all disks.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top