Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Tags (0.21 sec)

  1. cmd/batch-expire_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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. internal/bucket/replication/and.go

    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  3. cmd/batch-replicate.go

    	CreatedAfter  time.Time     `yaml:"createdAfter,omitempty" json:"createdAfter"`
    	CreatedBefore time.Time     `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV  `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV  `yaml:"metadata,omitempty" json:"metadata"`
    }
    
    // BatchJobReplicateFlags various configurations for replication job definition currently includes
    // - filter
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    			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 {
    				for t, v := range tagMap {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/batch-rotate_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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 27.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/and.go

    	x := make(map[string]struct{}, len(a.Tags))
    
    	for _, t := range a.Tags {
    		if _, has := x[t.Key]; has {
    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    	return false
    }
    
    // BySize returns true when sz satisfies a
    // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates
    // Note: And combines size and other predicates like Tags, Prefix, etc. This
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    	// ObjectTagging operations
    	PutObjectTags(context.Context, string, string, string, ObjectOptions) (ObjectInfo, error)
    	GetObjectTags(context.Context, string, string, ObjectOptions) (*tags.Tags, error)
    	DeleteObjectTags(context.Context, string, string, ObjectOptions) (ObjectInfo, error)
    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  8. internal/logger/audit.go

    		entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10)
    		// We hold the lock, so we cannot call reqInfo.GetTagsMap().
    		tags := make(map[string]interface{}, len(reqInfo.tags))
    		for _, t := range reqInfo.tags {
    			tags[t.Key] = t.Val
    		}
    		entry.Tags = tags
    		// ignore cases for ttfb when its zero.
    		if timeToFirstByte != 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/filter_test.go

    func TestTestTags(t *testing.T) {
    	noTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{},
    		},
    		andSet: true,
    	}
    
    	oneTag := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}},
    		},
    		andSet: true,
    	}
    
    	twoTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}, {Key: "BAR", Value: "2"}},
    		},
    		andSet: true,
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. docs/bucket/replication/README.md

    exclude permissions like "s3:ReplicateDelete", "s3:GetBucketObjectLockConfiguration" etc depending on whether delete replication rules are set up or if object locking is disabled on `destbucket`. The above policies assume that replication of objects, tags and delete marker replication are all enabled on object lock enabled buckets. A sample script to setup replication is provided [here](https://github.com/minio/minio/blob/master/docs/bucket/replication/setup_replication.sh)
    
    To set up replication...
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top