- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for configs (0.15 sec)
-
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,
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/logger/legacy.go
return } scfg[config.AuditWebhookSubSys][k] = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOn, }, config.KV{ Key: Endpoint, Value: args.Endpoint.String(), }, config.KV{ Key: AuthToken, Value: args.AuthToken, }, } } // SetLoggerHTTP helper for migrating older config to newer KV format.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 03 09:47:07 GMT 2023 - 2K bytes - Viewed (1) -
internal/config/storageclass/legacy.go
import ( "github.com/minio/minio/internal/config" ) // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass. func SetStorageClass(s config.Config, cfg Config) { 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{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.3K bytes - Viewed (0) -
internal/config/notify/legacy.go
func SetNotifyES(s config.Config, esName string, cfg target.ElasticsearchArgs) error { if !cfg.Enable { return nil } if err := cfg.Validate(); err != nil { return err } s[config.NotifyESSubSys][esName] = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOn, }, config.KV{ Key: target.ElasticFormat, Value: cfg.Format, },
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 19 04:37:54 GMT 2024 - 13.1K bytes - Viewed (0) -
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,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 1.8K bytes - Viewed (0) -
internal/config/policy/opa/legacy.go
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) -
internal/config/legacy.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config // One time migration code section // 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)