Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for Greaves (0.22 sec)

  1. cmd/endpoint-ellipses.go

    		if err != nil {
    			return err
    		}
    		ctxt.Layout.pools = append(ctxt.Layout.pools, poolDisksLayout{cmdline: arg, layout: setArgs})
    	}
    	return
    }
    
    // CreateServerEndpoints - validates and creates new endpoints from input args, supports
    // both ellipses and without ellipses transparently.
    func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	wg.Wait()
    }
    
    // newMinioResourceCollector describes the collector
    // and returns reference of minio resource Collector
    // It creates the Prometheus Description which is used
    // to define Metric and  help string
    func newMinioResourceCollector(metricsGroups []*MetricsGroupV2) *minioResourceCollector {
    	return &minioResourceCollector{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		}
    		client.cancelFn(context.Canceled)
    		c.outgoing.Delete(client.MuxID)
    	}()
    	return client.traceRoundtrip(ctx, c.trace, h, req)
    }
    
    // NewStream creates a new stream.
    // Initial payload can be reused by the caller.
    func (c *Connection) NewStream(ctx context.Context, h HandlerID, payload []byte) (st *Stream, err error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	lastHealActivity time.Time
    
    	// Holds the request-info for logging
    	ctx context.Context
    
    	// used to lock this structure as it is concurrently accessed
    	mutex sync.RWMutex
    }
    
    // NewHealSequence - creates healSettings, assumes bucket and
    // objPrefix are already validated.
    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    	hs madmin.HealOpts, forceStart bool,
    ) *healSequence {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  6. cmd/site-replication.go

    		}
    
    		return c.annotatePeerErr(p.Name, deleteBucket, admClient.SRPeerBucketOps(ctx, bucket, op, nil))
    	},
    		deleteBucket,
    	)
    	return errors.Unwrap(cerr)
    }
    
    // PeerBucketMakeWithVersioningHandler - creates bucket and enables versioning.
    func (c *SiteReplicationSys) PeerBucketMakeWithVersioningHandler(ctx context.Context, bucket string, opts MakeBucketOptions) error {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/object-api-utils.go

    // registered for calling after usage of the reader.
    type ObjReaderFn func(inputReader io.Reader, h http.Header, cleanupFns ...func()) (r *GetObjectReader, err error)
    
    // NewGetObjectReader creates a new GetObjectReader. The cleanUpFns
    // are called on Close() in FIFO order as passed in ObjReadFn(). NOTE: It is
    // assumed that clean up functions do not panic (otherwise, they may
    // not all run!).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. cmd/bucket-replication.go

    	MRFWorkerAutoDefault = 4
    
    	// LargeWorkerCount is default number of workers assigned to large uploads ( >= 128MiB)
    	LargeWorkerCount = 10
    )
    
    // NewReplicationPool creates a pool of replication workers of specified size
    func NewReplicationPool(ctx context.Context, o ObjectLayer, opts replicationPoolOpts) *ReplicationPool {
    	var workers, failedWorkers int
    	priority := "auto"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  9. cmd/benchmark-utils_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"math"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  10. cmd/peer-s3-client.go

    	gridConn func() *grid.Connection
    }
    
    // S3PeerSys - S3 peer call system.
    type S3PeerSys struct {
    	peerClients []peerS3Client // Excludes self
    	poolsCount  int
    }
    
    // NewS3PeerSys - creates new S3 peer calls.
    func NewS3PeerSys(endpoints EndpointServerPools) *S3PeerSys {
    	return &S3PeerSys{
    		peerClients: newPeerS3Clients(endpoints),
    		poolsCount:  len(endpoints),
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top