Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for hugger (0.24 sec)

  1. internal/config/storageclass/storage-class.go

    package storageclass
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Standard constants for all storage class
    const (
    	// Reduced redundancy storage class
    	RRS = "REDUCED_REDUNDANCY"
    	// Standard storage class
    	STANDARD = "STANDARD"
    )
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    		SSHHandshakeDeadline: 2 * time.Minute,
    		Logger:               new(sftpLogger),
    		SSHConfig:            sshConfig,
    		HandleSFTPSession:    handleSFTPSession,
    	})
    	if err != nil {
    		logger.Fatal(err, "Unable to start SFTP Server")
    	}
    
    	err = sftpServer.Listen()
    	if err != nil {
    		logger.Fatal(err, "SFTP Server had an unrecoverable error while accepting connections")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func mustGetUUID() string {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return u.String()
    }
    
    // mustGetUUIDBytes - get a random UUID as 16 bytes unencoded.
    func mustGetUUIDBytes() []byte {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return u[:]
    }
    
    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)
  4. cmd/admin-router.go

    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		// Update request context with `logger.ReqInfo`.
    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. migrator/migrator.go

    	queryTx = m.DB.Session(&gorm.Session{})
    	execTx = queryTx
    	if m.DB.DryRun {
    		queryTx.DryRun = false
    		execTx = m.DB.Session(&gorm.Session{Logger: &printSQLLogger{Interface: m.DB.Logger}})
    	}
    	return queryTx, execTx
    }
    
    // AutoMigrate auto migrate values
    func (m Migrator) AutoMigrate(values ...interface{}) error {
    	for _, value := range m.ReorderModels(values, true) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    	"time"
    
    	elasticsearch7 "github.com/elastic/go-elasticsearch/v7"
    	"github.com/minio/highwayhash"
    	"github.com/minio/minio/internal/event"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/pkg/errors"
    )
    
    // Elastic constants
    const (
    	ElasticFormat     = "format"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    	hs madmin.HealOpts, forceStart bool,
    ) *healSequence {
    	reqInfo := &logger.ReqInfo{RemoteHost: clientAddr, API: "Heal", BucketName: bucket}
    	reqInfo.AppendTags("prefix", objPrefix)
    	ctx, cancel := context.WithCancel(logger.SetReqInfo(ctx, reqInfo))
    
    	clientToken := mustGetUUID()
    
    	return &healSequence{
    		bucket:         bucket,
    		object:         objPrefix,
    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)
  8. internal/grid/connection.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/puzpuzpuz/xsync/v3"
    	"github.com/tinylib/msgp/msgp"
    	"github.com/zeebo/xxh3"
    )
    
    func gridLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "grid", err, errKind...)
    }
    
    func gridLogIfNot(ctx context.Context, err error, ignored ...error) {
    	logger.LogIfNot(ctx, "grid", err, ignored...)
    }
    
    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)
  9. cmd/peer-rest-client.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/grid"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/rest"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // client to talk to peer Nodes.
    type peerRESTClient struct {
    	host       *xnet.Host
    	restClient *rest.Client
    	gridHost   string
    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)
  10. cmd/common-main.go

    		err = mergeDisksLayoutFromArgs(serverCmdArgs(ctx), ctxt)
    	}
    
    	return err
    }
    
    func handleCommonArgs(ctxt serverCtxt) {
    	if ctxt.JSON {
    		logger.EnableJSON()
    	}
    	if ctxt.Quiet {
    		logger.EnableQuiet()
    	}
    	if ctxt.Anonymous {
    		logger.EnableAnonymous()
    	}
    
    	consoleAddr := ctxt.ConsoleAddr
    	addr := ctxt.Addr
    	configDir := ctxt.ConfigDir
    	configSet := ctxt.configDirSet
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top