Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for tags (0.13 sec)

  1. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. Makefile

    docker-hotfix-push: docker-hotfix
    	@docker push -q $(TAG) && echo "Published new container $(TAG)"
    
    docker-hotfix: hotfix-push checks ## builds minio docker container with hotfix tags
    	@echo "Building minio docker image '$(TAG)'"
    	@docker build -q --no-cache -t $(TAG) --build-arg RELEASE=$(VERSION) . -f Dockerfile.hotfix
    
    docker: build ## builds minio docker container
    	@echo "Building minio docker image '$(TAG)'"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  3. cmd/batch-replicate_gen.go

    				return
    			}
    		case "Tags":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Tags")
    				return
    			}
    			if cap(z.Tags) >= int(zb0002) {
    				z.Tags = (z.Tags)[:zb0002]
    			} else {
    				z.Tags = make([]BatchJobKV, zb0002)
    			}
    			for za0001 := range z.Tags {
    				err = z.Tags[za0001].DecodeMsg(dc)
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	if ok {
    		tags := make(map[string]interface{}, 4)
    		tags["set"] = er.setIndex
    		tags["pool"] = er.poolIndex
    		tags["merrs"] = joinErrs(errs)
    		tags["derrs"] = joinErrs(dataErrs)
    		if m.IsValid() {
    			tags["size"] = m.Size
    			tags["mtime"] = m.ModTime.Format(http.TimeFormat)
    			tags["data"] = m.Erasure.DataBlocks
    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/object-handlers.go

    	}
    
    	otags := &objectTagging{
    		TagSet: &ObjectTagSet{},
    	}
    
    	var list []tags.Tag
    	for k, v := range ot.ToMap() {
    		list = append(list, tags.Tag{
    			Key:   k,
    			Value: v,
    		})
    	}
    	// Always return in sorted order for tags.
    	sort.Slice(list, func(i, j int) bool {
    		return list[i].Key < list[j].Key
    	})
    	otags.TagSet.Tags = list
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    tagVal2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Value' | sed 's/"//g')
    if [ "${prefix}" != "myprefix" ]; then
    	echo "BUG: ILM expiry rules prefix not replicated to 'siteb'"
    	exit 1
    fi
    if [ "${tagName1}" != "tag1" ] || [ "${tagVal1}" != "val1" ] || [ "${tagName2}" != "tag2" ] || [ "${tagVal2}" != "val2" ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle-audit.go

    	)
    	tags := make(map[string]interface{}, 5)
    	if src > lcEventSrc_None {
    		tags[ilmSrc] = src.String()
    	}
    	tags[ilmAction] = event.Action.String()
    	tags[ilmRuleID] = event.RuleID
    
    	if !event.Due.IsZero() {
    		tags[ilmDue] = event.Due
    	}
    
    	// rule with Transition/NoncurrentVersionTransition in effect
    	if event.StorageClass != "" {
    		tags[ilmTier] = event.StorageClass
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    }
    
    // PutObjectTags - replace or add tags to an existing object
    func (z *erasureServerPools) PutObjectTags(ctx context.Context, bucket, object string, tags string, opts ObjectOptions) (ObjectInfo, error) {
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    		return z.serverPools[0].PutObjectTags(ctx, bucket, object, tags, opts)
    	}
    
    	opts.MetadataChg = true
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. internal/logger/reqinfo.go

    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    	for _, tag := range r.tags {
    		if tag.Key == key {
    			tag.Val = val
    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/filter.go

    				var and And
    				if err = d.DecodeElement(&and, &se); err != nil {
    					return err
    				}
    				f.And = and
    				f.andSet = true
    			case "Tag":
    				var tag Tag
    				if err = d.DecodeElement(&tag, &se); err != nil {
    					return err
    				}
    				f.Tag = tag
    				f.tagSet = true
    			case "ObjectSizeLessThan":
    				var sz int64
    				if err = d.DecodeElement(&sz, &se); err != nil {
    					return err
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top