Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tool (0.14 sec)

  1. internal/logger/config.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint   = "endpoint"
    	AuthToken  = "auth_token"
    	ClientCert = "client_cert"
    	ClientKey  = "client_key"
    	BatchSize  = "batch_size"
    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)
  2. internal/config/identity/plugin/config.go

    	h.lastFullMinute = h.currentMinute
    	h.currentMinute = serviceRTTMinuteStats{
    		statsTime: currReqMinute,
    	}
    }
    
    func (h *metrics) accumRequestRTT(reqStartTime time.Time, rttMs float64, isSuccess bool) {
    	h.Lock()
    	defer h.Unlock()
    
    	// Update connectivity times
    	if isSuccess {
    		if reqStartTime.After(h.LastCheckSuccess) {
    			h.LastCheckSuccess = reqStartTime
    		}
    	} else {
    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)
  3. internal/config/config.go

    		}
    	}
    }
    
    // LookupKV returns the KV by its key
    func (kvs KVS) LookupKV(key string) (KV, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv, true
    		}
    	}
    	return KV{}, false
    }
    
    // Lookup - lookup a key in a list of KVS
    func (kvs KVS) Lookup(key string) (string, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv.Value, true
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top