Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for autor (0.13 sec)

  1. internal/crypto/auto-encryption.go

    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    // LookupAutoEncryption returns true if and only if
    // the MINIO_KMS_AUTO_ENCRYPTION env. variable is
    // set to "on".
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tests/embedded_struct_test.go

    	}
    
    	if hnPost.Author.Name != NewPost.Author.Name {
    		t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name)
    	}
    
    	if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
    		t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content)
    	}
    
    	if hnPost.Author.ContentPtr != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    		Name: "Profile", Type: schema.HasMany, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"ID", "User", "UserRefer", "Profile", "", true}},
    	})
    }
    
    type Author struct {
    	gorm.Model
    }
    
    type Book struct {
    	gorm.Model
    	Author   Author
    	AuthorID uint
    }
    
    func (Book) TableName() string {
    	return "my_schema.a_very_very_very_very_very_very_very_very_long_table_name"
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. internal/event/target/amqp.go

    	AmqpMandatory         = "mandatory"
    	AmqpImmediate         = "immediate"
    	AmqpDurable           = "durable"
    	AmqpInternal          = "internal"
    	AmqpNoWait            = "no_wait"
    	AmqpAutoDeleted       = "auto_deleted"
    	AmqpArguments         = "arguments"
    	AmqpPublisherConfirms = "publisher_confirms"
    
    	EnvAMQPEnable            = "MINIO_NOTIFY_AMQP_ENABLE"
    	EnvAMQPURL               = "MINIO_NOTIFY_AMQP_URL"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top