Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 372 for createdAt (0.15 sec)

  1. .github/actions/people/app/main.py

                url
              }
              title
              createdAt
              comments(first: 100) {
                nodes {
                  createdAt
                  author {
                    login
                    avatarUrl
                    url
                  }
                  isAnswer
                  replies(first: 10) {
                    nodes {
                      createdAt
                      author {
                        login
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  2. cmd/object-api-interface_gen.go

    			z.ForceCreate, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ForceCreate")
    				return
    			}
    		case "CreatedAt":
    			z.CreatedAt, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedAt")
    				return
    			}
    		case "NoLock":
    			z.NoLock, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NoLock")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-site-replication.go

    	var err error
    	switch operation {
    	default:
    		err = errSRInvalidRequest(errInvalidArgument)
    	case madmin.MakeWithVersioningBktOp:
    		createdAt, cerr := time.Parse(time.RFC3339Nano, strings.TrimSpace(r.Form.Get("createdAt")))
    		if cerr != nil {
    			createdAt = timeSentinel
    		}
    
    		opts := MakeBucketOptions{
    			LockEnabled:       r.Form.Get("lockEnabled") == "true",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    }
    
    // SetCreatedAt preserves the CreatedAt time for bucket across sites in site replication. It defaults to
    // creation time of bucket on this cluster in all other cases.
    func (b *BucketMetadata) SetCreatedAt(createdAt time.Time) {
    	if b.Created.IsZero() {
    		b.Created = UTCNow()
    	}
    	if !createdAt.IsZero() {
    		b.Created = createdAt.UTC()
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. schema/schema_test.go

    		{Name: "CreatedAt", DBName: "created_at", BindNames: []string{"Model", "CreatedAt"}, DataType: schema.Time},
    		{Name: "UpdatedAt", DBName: "updated_at", BindNames: []string{"Model", "UpdatedAt"}, DataType: schema.Time},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. 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)
  7. internal/kms/kms.go

    		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)
  8. 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)
  9. tests/query_test.go

    	for idx, tv := range ptrtimes {
    		AssertEqual(t, tv, users[idx].CreatedAt)
    	}
    
    	var nulltimes []sql.NullTime
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Pluck("created_at", &nulltimes).Error; err != nil {
    		t.Errorf("got error when pluck time: %v", err)
    	}
    
    	for idx, tv := range nulltimes {
    		AssertEqual(t, tv.Time, users[idx].CreatedAt)
    	}
    }
    
    func TestSelect(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    	}
    	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
    }
    
    // GetPolicyConfig returns configured bucket policy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top