Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Muto (0.13 sec)

  1. internal/config/api/api.go

    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  2. cmd/bucket-replication.go

    	// WorkerAutoDefault is default number of workers for "auto" mode
    	WorkerAutoDefault = 100
    
    	// MRFWorkerMaxLimit max number of mrf workers per node for "fast" mode
    	MRFWorkerMaxLimit = 8
    
    	// MRFWorkerMinLimit min number of mrf workers per node for "slow" mode
    	MRFWorkerMinLimit = 2
    
    	// MRFWorkerAutoDefault is default number of mrf workers for "auto" mode
    	MRFWorkerAutoDefault = 4
    
    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)
  3. cmd/api-router.go

    		// PutObjectLegalHold
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.PutObjectLegalHoldHandler)).
    			Queries("legal-hold", "")
    
    		// PutObject with auto-extract support for zip
    		router.Methods(http.MethodPut).Path("/{object:.+}").
    			HeadersRegexp(xhttp.AmzSnowballExtract, "true").
    			HandlerFunc(s3APIMiddleware(api.PutObjectExtractHandler, traceHdrsS3HFlag))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. migrator/migrator.go

    	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) {
    		queryTx, execTx := m.GetQueryAndExecTx()
    		if !queryTx.Migrator().HasTable(value) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  5. cmd/config-current.go

    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Invalid site configuration: %w", err))
    	}
    
    	globalAutoEncryption = crypto.LookupAutoEncryption() // Enable auto-encryption if enabled
    	if globalAutoEncryption && GlobalKMS == nil {
    		logger.Fatal(errors.New("no KMS configured"), "MINIO_KMS_AUTO_ENCRYPTION requires a valid KMS configuration")
    	}
    
    	transport := NewHTTPTransport()
    
    	bootstrapTraceMsg("initialize the event notification targets")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. tests/create_test.go

    	type EmptyStruct struct {
    		ID uint
    	}
    	DB.Migrator().DropTable(&EmptyStruct{})
    
    	if err := DB.AutoMigrate(&EmptyStruct{}); err != nil {
    		t.Errorf("no error should happen when auto migrate, but got %v", err)
    	}
    
    	if err := DB.Create(&EmptyStruct{}).Error; err != nil {
    		t.Errorf("No error should happen when creating user, but got %v", err)
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	if err := DB.AutoMigrate(&MigrateInt{}); err != nil {
    		t.Fatalf("Failed to auto migrate: error: %v", err)
    	}
    
    	// make new session to set custom logger tracer
    	session := DB.Session(&gorm.Session{Logger: tracer})
    
    	// The second AutoMigrate to catch an error
    	if err := session.AutoMigrate(&MigrateInt{}); err != nil {
    		t.Fatalf("Failed to auto migrate: error: %v", err)
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. callbacks/create.go

    			}
    			pkField = db.Statement.Schema.PrioritizedPrimaryField
    			pkFieldName = db.Statement.Schema.PrioritizedPrimaryField.DBName
    		}
    
    		// append @id column with value for auto-increment primary key
    		// the @id value is correct, when: 1. without setting auto-increment primary key, 2. database AutoIncrementIncrement = 1
    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiListQuorum,
    			Description: `set the acceptable quorum expected for list operations e.g. "optimal", "reduced", "disk", "strict", "auto"` + defaultHelpPostfix(apiListQuorum),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         apiReplicationPriority,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	if minor <= 21 {
    		// ENHANCED_RESOURCE_SCOPING
    		if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil {
    			return nil, err
    		}
    	}
    	if minor <= 20 {
    		// VERIFY_CERTIFICATE_AT_CLIENT and ENABLE_AUTO_SNI
    		if err := checkDestinationRuleTLS(cli, &messages); err != nil {
    			return nil, err
    		}
    		// ENABLE_EXTERNAL_NAME_ALIAS
    		if err := checkExternalNameAlias(cli, &messages); err != nil {
    			return nil, err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top