Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for Tags (0.16 sec)

  1. internal/logger/reqinfo.go

    	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 {
    	if r == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

                                        "required": ["name", "tags"],
                                        "type": "object",
                                        "properties": {
                                            "name": {"title": "Name", "type": "string"},
                                            "tags": {
                                                "title": "Tags",
                                                "type": "array",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/filter.go

    		}
    	}
    	return err
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cache := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cache[t.Key] = t.Value
    			}
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/bucket/replication/setup_ilm_expiry_replication.sh

    tagName1=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Key' | sed 's/"//g')
    tagVal1=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Value' | sed 's/"//g')
    tagName2=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Key' | sed 's/"//g')
    tagVal2=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Value' | sed 's/"//g')
    if [ "${prefix}" != "myprefix" ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    		}
    
    		if len(r.Flags.Filter.Tags) > 0 {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := info.Metadata[xhttp.AmzObjectTagging]
    			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: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        }
    
        public void test_parse() {
            PrunedTag[] tags = PrunedTag.parse("");
            assertEquals(0, tags.length);
    
            tags = PrunedTag.parse("a");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=null, attrName=null, attrValue=null]", tags[0].toString());
    
            tags = PrunedTag.parse("a#test");
            assertEquals(1, tags.length);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    		return false
    	}
    
    	if len(ef.Tags) > 0 && !obj.DeleteMarker {
    		// Only parse object tags if tags filter is specified.
    		var tagMap map[string]string
    		if len(obj.UserTags) != 0 {
    			t, err := tags.ParseObjectTags(obj.UserTags)
    			if err != nil {
    				return false
    			}
    			tagMap = t.ToMap()
    		}
    
    		for _, kv := range ef.Tags {
    			// Object (version) must match all tags specified in
    			// the filter
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. schema/relationship_test.go

    			References: []Reference{
    				{"ID", "Blog", "BlogID", "blog_tags", "", true},
    				{"Locale", "Blog", "BlogLocale", "blog_tags", "", true},
    				{"ID", "Tag", "TagID", "blog_tags", "", false},
    				{"Locale", "Tag", "TagLocale", "blog_tags", "", false},
    			},
    		},
    		Relation{
    			Name: "SharedTags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/metadata.md

    !!! tip "Tipp"
        Sie müssen nicht für alle von Ihnen verwendeten Tags Metadaten hinzufügen.
    
    ### Ihre Tags verwenden
    
    Verwenden Sie den Parameter `tags` mit Ihren *Pfadoperationen* (und `APIRouter`n), um diese verschiedenen Tags zuzuweisen:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs_src/generate_clients/tutorial004.js

          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
              const tag = operation.tags[0]
              const operationId = operation.operationId
              const toRemove = `${tag}-`
              if (operationId.startsWith(toRemove)) {
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 14 11:40:05 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top