Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 417 for Are (0.15 sec)

  1. cmd/consolelogger.go

    	if err != nil {
    		logger.FatalIf(err, "Unable to start console logging subsystem")
    	}
    
    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/metacache-manager.go

    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    // localMetacacheMgr is the *local* manager for this peer.
    // It should never be used directly since buckets are
    // distributed deterministically.
    // Therefore no cluster locks are required.
    var localMetacacheMgr = &metacacheManager{
    	buckets: make(map[string]*bucketMetacache),
    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	// All object storage operations are registered as HTTP handlers on `objectAPIHandlers`.
    	// When the handlers get a HTTP request they use the underlying ObjectLayer to perform operations.
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = objLayer
    	globalObjLayerMutex.Unlock()
    
    	// When cache is enabled, Put and Get operations are passed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/handler-utils_test.go

    				"content-type": "image/png",
    			},
    			shouldFail: false,
    		},
    		// Validate if there are no keys to extract.
    		{
    			header: http.Header{
    				"Test-1": []string{"123"},
    			},
    			metadata:   map[string]string{},
    			shouldFail: false,
    		},
    		// Validate that there are all headers extracted
    		{
    			header: http.Header{
    				"X-Amz-Meta-Appid":   []string{"amz-meta"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	testenv    *envtest.Environment
    	testClient client.Client
    
    	allNamespacedGVKs = append(helmreconciler.NamespacedResources(),
    		schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Endpoints"})
    	// CRDs are not in the prune list, but must be considered for tests.
    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. src/archive/zip/struct.go

    	// Limits for non zip64 files.
    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    	// IDs 0..31 are reserved for official use by PKWARE.
    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump.go

    	if err != nil {
    		return "", err
    	}
    	return out2, nil
    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. cmd/metrics-v3-handler.go

    			gatherer := h.metricsData.mgGatherers[collectorPath]
    
    			// For Bucket metrics we need to set the buckets argument inside the
    			// metric group, so that it will affect collection. If no buckets
    			// are provided, we will not return bucket metrics.
    			if bmg, ok := h.metricsData.bucketMGMap[collectorPath]; ok {
    				if len(buckets) == 0 {
    					continue
    				}
    				unLocker := bmg.LockAndSetBuckets(buckets)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    		},
    	}
    )
    
    // Enabled returns if LDAP config is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ServerAddr) != ""
    }
    
    // Lookup - initializes LDAP config, overrides config, if any ENV values are set.
    func Lookup(s config.Config, rootCAs *x509.CertPool) (l Config, err error) {
    	l = Config{}
    
    	// Purge all removed keys first
    	kvs := s[config.IdentityLDAPSubSys][config.Default]
    	if len(kvs) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
Back to top