Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for useTags (0.13 sec)

  1. cmd/object-api-datatypes_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "UserDefined", za0001)
    					return
    				}
    				z.UserDefined[za0001] = za0002
    			}
    		case "UserTags":
    			z.UserTags, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UserTags")
    				return
    			}
    		case "Parts":
    			var zb0003 uint32
    			zb0003, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    			// skip all objects that are created after the specified time.
    			return true
    		}
    
    		if hasTags {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := oi.UserTags
    			if len(tagStr) != 0 {
    				t, err := tags.ParseObjectTags(tagStr)
    				if err != nil {
    					return false
    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			opts := ObjectOpts{
    				Name:             tc.objectName,
    				UserTags:         tc.objectTags,
    				ModTime:          tc.objectModTime,
    				DeleteMarker:     tc.isDelMarker,
    				IsLatest:         !tc.isNoncurrent,
    				SuccessorModTime: tc.objectSuccessorModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. tests/query_test.go

    	}
    
    	DB.Create(&users)
    
    	var userAges []int
    	err := DB.Model(&User{}).Where("name like ?", "pluck_with_select%").Select("age + 1 as user_age").Pluck("user_age", &userAges).Error
    	if err != nil {
    		t.Fatalf("got error when pluck user_age: %v", err)
    	}
    
    	sort.Ints(userAges)
    
    	AssertEqual(t, userAges, []int{26, 27})
    }
    
    func TestSelectWithVariables(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)
  5. cmd/erasure-object.go

    	// GetObjectInfo will return tag value as well
    	oi, err := er.GetObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	return tags.ParseObjectTags(oi.UserTags)
    }
    
    // TransitionObject - transition object content to target tier.
    func (er erasureObjects) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	}
    
    	oi, _, err := z.getLatestObjectInfoWithIdx(ctx, bucket, object, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	return tags.ParseObjectTags(oi.UserTags)
    }
    
    // TransitionObject - transition object content to target tier.
    func (z *erasureServerPools) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top