- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for kvs (0.13 sec)
-
internal/config/cache/cache.go
} // LookupConfig - lookup config and override with valid environment settings if any. func LookupConfig(kvs config.KVS, transport http.RoundTripper) (cfg Config, err error) { cfg.Enable = env.Get(EnvEnable, kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" { objectSize, err := humanize.ParseBytes(d) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.6K bytes - Viewed (0) -
internal/s3select/csv/record.go
// WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { var kvs jstream.KVS = make([]jstream.KV, 0, len(r.columnNames)) for i, cn := range r.columnNames { if i < len(r.csvRecord) { kvs = append(kvs, jstream.KV{Key: cn, Value: r.csvRecord[i]}) } } return json.NewEncoder(writer).Encode(kvs) } // Raw - returns the underlying data with format info.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Sep 13 00:00:59 GMT 2022 - 4.1K bytes - Viewed (0) -
internal/config/policy/plugin/config.go
} // AuthZPlugin - implements opa policy agent calls. type AuthZPlugin struct { args Args client *http.Client } // Enabled returns if AuthZPlugin is enabled. func Enabled(kvs config.KVS) bool { return kvs.Get(URL) != "" } // LookupConfig lookup AuthZPlugin from config, override with any ENVs. func LookupConfig(s config.Config, httpSettings xhttp.ConnSettings, closeRespFn func(io.ReadCloser)) (Args, error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 14 21:50:16 GMT 2023 - 5.8K bytes - Viewed (0) -
cmd/postpolicyform.go
d := jstream.NewDecoder(r, 0).ObjectAsKVS() sset := set.NewStringSet() for mv := range d.Stream() { var kvs jstream.KVS if mv.ValueType == jstream.Object { // This is a JSON object type (that preserves key order) kvs = mv.Value.(jstream.KVS) for _, kv := range kvs { if sset.Contains(kv.Key) { // Reject duplicate conditions or expiration.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 12.2K bytes - Viewed (0) -
internal/logger/config.go
) var ( errInvalidQueueSize = errors.New("invalid queue_size value") errInvalidBatchSize = errors.New("invalid batch_size value") ) // Default KVS for loggerHTTP and loggerAuditHTTP var ( DefaultLoggerWebhookKVS = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOff, }, config.KV{ Key: Endpoint, Value: "", }, config.KV{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 15.8K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
shutdownCtx context.Context serviceMetrics *metrics } // Enabled returns if AuthNPlugin is enabled. func Enabled(kvs config.KVS) bool { return kvs.Get(URL) != "" } // LookupConfig lookup AuthNPlugin from config, override with any ENVs. func LookupConfig(kv config.KVS, transport *http.Transport, closeRespFn func(io.ReadCloser), serverRegion string) (Args, error) { args := Args{}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 13.3K bytes - Viewed (3) -
internal/config/help.go
// Indicates if sub-sys supports multiple targets. MultipleTargets bool `json:"multipleTargets"` } // HelpKVS - implement order of keys help messages. type HelpKVS []HelpKV // Lookup - lookup a key from help kvs. func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) { for _, hkv := range hkvs { if hkv.Key == key { return hkv, true } } return HelpKV{}, false } // DefaultComment used across all sub-systems.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 2.8K bytes - Viewed (0) -
internal/config/legacy.go
// SetRegion - One time migration code needed, for migrating from older config to new for server Region. func SetRegion(c Config, name string) { if name == "" { return } c[RegionSubSys][Default] = KVS{ KV{ Key: RegionName, Value: name, }, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Dec 19 20:27:06 GMT 2022 - 1.1K bytes - Viewed (0) -
internal/config/identity/ldap/legacy.go
func SetIdentityLDAP(s config.Config, ldapArgs LegacyConfig) { if !ldapArgs.Enabled { // ldap not enabled no need to preserve it in new settings. return } s[config.IdentityLDAPSubSys][config.Default] = config.KVS{ config.KV{ Key: ServerAddr, Value: ldapArgs.ServerAddr, }, config.KV{ Key: GroupSearchFilter, Value: ldapArgs.GroupSearchFilter, }, config.KV{ Key: GroupSearchBaseDN,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 08 05:12:36 GMT 2022 - 2.2K bytes - Viewed (0) -
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, }, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.4K bytes - Viewed (0)