Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for hugger (0.14 sec)

  1. cmd/bucket-quota.go

    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/logger"
    )
    
    // BucketQuotaSys - map of bucket and quota configuration.
    type BucketQuotaSys struct{}
    
    // Get - Get quota configuration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. logger/sql.go

    package logger
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. 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)
  4. cmd/speedtest.go

    				totalPut += result.Uploads
    				totalGet += result.Downloads
    			}
    
    			if totalGet < throughputHighestGet {
    				// Following check is for situations
    				// when Writes() scale higher than Reads()
    				// - practically speaking this never happens
    				// and should never happen - however it has
    				// been seen recently due to hardware issues
    				// causes Reads() to go slower than Writes().
    				//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K 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. cmd/bucket-policy.go

    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // PolicySys - policy subsystem.
    type PolicySys struct{}
    
    // Get returns stored bucket policy
    func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. 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)
  8. internal/logger/reqinfo.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Key used for Get/SetReqInfo
    type contextKeyType string
    
    const contextLogKey = contextKeyType("miniolog")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  10. cmd/os-reliable.go

    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    				nbaseDir := path.Dir(baseDir)
    				if baseDir != "" && nbaseDir != "" && nbaseDir != SlashSeparator {
    					baseDir = nbaseDir
    				}
    				continue
    			}
    		}
    		break
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top