Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for Snover (0.14 sec)

  1. internal/logger/target/kafka/kafka.go

    	if h.producer != nil {
    		h.producer.Close()
    		h.client.Close()
    	}
    
    	// Wait for messages to be sent...
    	h.wg.Wait()
    }
    
    // New initializes a new logger target which
    // sends log over http to the specified endpoint
    func New(config Config) *Target {
    	target := &Target{
    		logCh:   make(chan interface{}, config.QueueSize),
    		kconfig: config,
    		status:  statusOffline,
    	}
    	return target
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  2. cmd/tier.go

    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    		config.Tiers[tier] = cfg
    	}
    	config.lastRefreshedAt = UTCNow()
    	return nil
    }
    
    // Save saves tier configuration onto objAPI
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    		}
    		for _, op := range ops {
    			switch op {
    			case madmin.CredentialsUpdateType:
    				if !globalSiteReplicationSys.isEnabled() {
    					// credentials update is possible only in bucket replication. User will never
    					// know the site replicator creds.
    					tgt.Credentials = target.Credentials
    					tgt.TargetBucket = target.TargetBucket
    					tgt.Secure = target.Secure
    					tgt.Endpoint = target.Endpoint
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    
    	b.ResetTimer()
    
    	// List the buckets over and over and over.
    	for i := 0; i < b.N; i++ {
    		_, err = obj.ListObjects(context.Background(), bucket, "", "obj9000", "", -1)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    // decryption succeeded.
    //
    // DecryptObjectInfo also returns whether the object is encrypted or not.
    func DecryptObjectInfo(info *ObjectInfo, r *http.Request) (encrypted bool, err error) {
    	// Directories are never encrypted.
    	if info.IsDir {
    		return false, nil
    	}
    	if r == nil {
    		return false, errInvalidArgument
    	}
    
    	headers := r.Header
    
    	// disallow X-Amz-Server-Side-Encryption header on HEAD and GET
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    // of transition workers.
    func (t *transitionState) Init(objAPI ObjectLayer) {
    	n := globalAPIConfig.getTransitionWorkers()
    	// Prefer ilm.transition_workers over now deprecated api.transition_workers
    	if tw := globalILMConfig.getTransitionWorkers(); tw > 0 {
    		n = tw
    	}
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	t.objAPI = objAPI
    	t.updateWorkers(n)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	buf, _, err := s.readAllData(ctx, volume, volumeDir, pathJoin(filePath, xlStorageFormatFile), true)
    	if err != nil {
    		if !errors.Is(err, errFileNotFound) {
    			return err
    		}
    		metaDataPoolPut(buf) // Never used, return it
    		if fi.Deleted && forceDelMarker {
    			// Create a new xl.meta with a delete marker in it
    			return s.WriteMetadata(ctx, "", volume, path, fi)
    		}
    
    		s.RLock()
    		legacy := s.formatLegacy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    var errDiskStale = errors.New("drive stale")
    
    // To abstract a disk over network.
    type storageRESTServer struct {
    	endpoint Endpoint
    }
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    func splitZipExtensionPath(input string) (zipPath, object string, err error) {
    	idx := strings.Index(input, archivePattern)
    	if idx < 0 {
    		// Should never happen
    		return "", "", errors.New("unable to parse zip path")
    	}
    	return input[:idx+len(archivePattern)-1], input[idx+len(archivePattern):], nil
    }
    
    // getObjectInArchiveFileHandler - GET Object in the archive file
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top