Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for related (0.18 sec)

  1. cmd/batch-expire.go

    //
    //     - type: deleted # objects with delete marker as their latest version
    //       name: NAME # match object names that satisfy the wildcard expression.
    //       olderThan: 10h # match objects older than this value (e.g. 7d10h31s)
    //       createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
    //       purge:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  2. tests/upsert_test.go

    	}
    
    	if user1.Name != "find or create" || user1.ID == 0 || user1.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    	DB.Where(&User{Name: "find or create", Age: 33}).FirstOrCreate(&user2)
    	if user1.ID != user2.ID || user2.Name != "find or create" || user2.ID == 0 || user2.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    	DB.FirstOrCreate(&user3, map[string]interface{}{"name": "find or create 2"})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  3. cmd/batch-rotate.go

    //     newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    //     olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    //     metadata:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/dsync/dsync_test.go

    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    
    	dm2nd.Lock(id, source)
    
    	// fmt.Printf("2nd lock obtained after 1st lock is released\n")
    	time.Sleep(testDrwMutexRefreshCallTimeout * 2)
    
    	dm2nd.Unlock(context.Background())
    }
    
    // Test three locks for same resource, one succeeds, one fails (after timeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. chainable_api.go

    // By default, GORM uses soft deletion, marking records as "deleted"
    // by setting a timestamp on a specific field (e.g., `deleted_at`).
    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    //    // Retrieves all users, including deleted ones.
    func (db *DB) Unscoped() (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  6. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  7. cmd/erasure-healing-common_test.go

    	// the FileInfo which has read quorum.
    	fi1 := FileInfo{
    		Volume:         "mybucket",
    		Name:           "myobject",
    		VersionID:      "",
    		IsLatest:       true,
    		Deleted:        false,
    		ExpireRestored: false,
    		DataDir:        "4a01d9dd-0c5e-4103-88f8-b307c57d212e",
    		XLV1:           false,
    		ModTime:        time.Date(2023, time.March, 15, 11, 18, 4, 989906961, time.UTC),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  8. internal/kms/kes.go

    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/env"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/pkg/v2/certs"
    )
    
    const (
    	tlsClientSessionCacheSize = 100
    )
    
    // Config contains various KMS-related configuration
    // parameters - like KMS endpoints or authentication
    // credentials.
    type Config struct {
    	// Endpoints contains a list of KMS server
    	// HTTP endpoints.
    	Endpoints []string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. tests/hooks_test.go

    		t.Fatalf("After delete callbacks should be invoked successfully, %v", p.GetCallTimes())
    	}
    
    	if DB.Where("Code = ?", "unique_code").First(&p).Error == nil {
    		t.Fatalf("Can't find a deleted record")
    	}
    
    	beforeCallTimes := p.AfterFindCallTimes
    	if DB.Where("Code = ?", "unique_code").Find(&p).Error != nil {
    		t.Fatalf("Find don't raise error when record not found")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    	// MinIO Multipart meta prefix.
    	minioMetaMultipartBucket = minioMetaBucket + SlashSeparator + mpartMetaPrefix
    	// MinIO tmp meta prefix.
    	minioMetaTmpBucket = minioMetaBucket + "/tmp"
    	// MinIO tmp meta prefix for deleted objects.
    	minioMetaTmpDeletedBucket = minioMetaTmpBucket + "/.trash"
    
    	// DNS separator (period), used for bucket name validation.
    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    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)
Back to top