Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 592 for tago (0.18 sec)

  1. tests/multi_primary_keys_test.go

    		t.Fatalf("Should find 3 tags")
    	}
    
    	DB.Model(&blog2).Association("SharedTags").Find(&tags)
    	if !compareTags(tags, []string{"tag1", "tag2", "tag3", "tag4"}) {
    		t.Fatalf("Should find 3 tags")
    	}
    
    	// Replace
    	tag5 := &Tag{Locale: "ZH", Value: "tag5"}
    	tag6 := &Tag{Locale: "ZH", Value: "tag6"}
    	DB.Model(&blog2).Association("SharedTags").Replace(tag5, tag6)
    	var tags2 []Tag
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
  2. src/test/resources/org/codelibs/core/xml/test1.xml

    <?xml version="1.0" encoding="Shift_JIS"?>
    
    <tag1 attr1="aaa" attr2="bbb">
      111
      222
      <tag2>c c </tag2>
      <tag2>ddd</tag2>
      <tag3>
        <tag4>eee</tag4>
        <tag5>ddd</tag5>
      </tag3>
      333
    XML
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 200 bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag.go

    	cmd := &cobra.Command{
    		Use:   "generate <revision-tag>",
    		Short: "Generate configuration for a revision tag to stdout",
    		Long: `Create a revision tag and output to the command's stdout. Tag an Istio control plane revision for use with namespace istio.io/rev
    injection labels.`,
    		Example: `  # Create a revision tag from the "1-8-0" revision
      istioctl tag generate prod --revision 1-8-0 > tag.yaml
    
      # Apply the tag to cluster
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1&tag2=value2",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Multiple Rules, Tags match)
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  5. internal/bucket/replication/rule.go

    	}
    	return r.Filter.And.Prefix
    }
    
    // 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/tag.go

    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    	return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. internal/bucket/replication/tag.go

    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag_test.go

    							Name:   "istio-revision-tag-wrong",
    							Labels: map[string]string{IstioTagLabel: "wrong"},
    						},
    					},
    				},
    			},
    			namespaces:       corev1.NamespaceList{},
    			outputMatches:    []string{},
    			skipConfirmation: true,
    			error:            "cannot remove tag \"sample\"",
    		},
    		{
    			name: "TestDeleteTagWithDependentNamespace",
    			tag:  "match",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
Back to top