Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for do (0.32 sec)

  1. internal/logger/legacy.go

    )
    
    // SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    	scfg[config.AuditWebhookSubSys][k] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Endpoint,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 03 09:47:07 GMT 2023
    - 2K bytes
    - Viewed (1)
  2. internal/config/storageclass/legacy.go

    // 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{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		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)
  3. internal/config/policy/opa/legacy.go

    // SetPolicyOPAConfig - One time migration code needed, for migrating from older config to new for PolicyOPAConfig.
    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,
    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)
Back to top