Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for CreatedAt (0.13 sec)

  1. internal/kms/stub.go

    	if req.Prefix == "" {
    		req.Prefix = "*"
    	}
    	for _, keyName := range s.KeyNames {
    		if wildcard.MatchAsPatternPrefix(req.Prefix, keyName) {
    			matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy})
    		}
    	}
    
    	return matches, "", nil
    }
    
    // CreateKey creates a new key with the given name.
    func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	if opts.VersioningEnabled {
    		optsMap["versioningEnabled"] = "true"
    	}
    	if opts.ForceCreate {
    		optsMap["forceCreate"] = "true"
    	}
    	createdAt, _ := globalBucketMetadataSys.CreatedAt(bucket)
    	optsMap["createdAt"] = createdAt.UTC().Format(time.RFC3339Nano)
    	opts.CreatedAt = createdAt
    
    	// Create bucket and enable versioning on all peers.
    	makeBucketConcErr := c.concDo(
    		func() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    	if err != nil {
    		return nil, "", errListingKeysFailed(err)
    	}
    
    	keyInfos := make([]madmin.KMSKeyInfo, len(resp.Items))
    	for i, v := range resp.Items {
    		keyInfos[i].Name = v.Name
    		keyInfos[i].CreatedAt = v.CreatedAt
    		keyInfos[i].CreatedBy = string(v.CreatedBy)
    	}
    	return keyInfos, resp.ContinueAt, nil
    }
    
    func (c *kmsConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tests/query_test.go

    		ID        int64
    		Name      string
    		UpdatedAt time.Time
    		CreatedAt time.Time
    	}
    
    	var simpleUser SimpleUser
    	if err := DB.Table("users").Where("name = ?", user.Name).First(&simpleUser).Error; err != nil {
    		t.Fatalf("Failed to query smaller user, got error %v", err)
    	}
    
    	AssertObjEqual(t, user, simpleUser, "Name", "ID", "UpdatedAt", "CreatedAt")
    
    	var simpleUser2 SimpleUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    	}
    	if meta.sseConfig == nil {
    		return nil, time.Time{}, BucketSSEConfigNotFound{Bucket: bucket}
    	}
    	return meta.sseConfig, meta.EncryptionConfigUpdatedAt, nil
    }
    
    // CreatedAt returns the time of creation of bucket
    func (sys *BucketMetadataSys) CreatedAt(bucket string) (time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return time.Time{}, err
    	}
    	return meta.Created.UTC(), nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    	})
    	assertEqualSQL(t, `SELECT * FROM "users" WHERE "users"."name" = 'bar' AND "users"."age" = 12 ORDER BY name ASC,"users"."id" DESC LIMIT 1 OFFSET 5`, sql)
    
    	// create
    	user := &User{Name: "foo", Age: 20}
    	user.CreatedAt = date
    	user.UpdatedAt = date
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Create(user)
    	})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

      prefix="$(<<<"$IMAGE_VERSION" cut -d- -f1)"
      query="${TOOLS_REGISTRY_PROVIDER}/${PROJECT_ID}/${IMAGE_NAME}:${prefix}-*"
      latest="$("${CONTAINER_CLI}" images --filter=reference="${query}" --format "{{.CreatedAt|json}}~{{.Repository}}:{{.Tag}}~{{.CreatedSince}}" | sort -n -r | head -n1)"
      IMG="$(<<<"$latest" cut -d~ -f2)"
      if [[ "${IMG}" == "" ]]; then
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setDocId(DfTypeUtil.toString(source.get("docId")));
                result.setQueryId(DfTypeUtil.toString(source.get("queryId")));
                result.setUrl(DfTypeUtil.toString(source.get("url")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tests/scanner_valuer_test.go

    	}
    
    	var result2 ScannerValuerStruct
    	if err := DB.First(&result2, result.ID).Error; err != nil {
    		t.Errorf("got error %v when query with %v", err, result.ID)
    	}
    
    	AssertObjEqual(t, result2, result, "ID", "CreatedAt", "UpdatedAt", "Name", "Gender", "Age")
    }
    
    func TestInvalidValuer(t *testing.T) {
    	DB.Migrator().DropTable(&ScannerValuerStruct{})
    	if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsUserInfoBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setUpdatedAt(toLocalDateTime(source.get("updatedAt")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top