Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for tagKey (0.15 sec)

  1. internal/bucket/replication/tag.go

    	XMLName xml.Name `xml:"Tag" json:"Tag"`
    	Key     string   `xml:"Key,omitempty" json:"Key,omitempty"`
    	Value   string   `xml:"Value,omitempty" json:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/tag.go

    type Tag struct {
    	XMLName xml.Name `xml:"Tag"`
    	Key     string   `xml:"Key,omitempty"`
    	Value   string   `xml:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    
    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	})
    }
    
    // ObjectTagSet key value tags
    type ObjectTagSet struct {
    	Tags []tags.Tag `xml:"Tag"`
    }
    
    type objectTagging struct {
    	XMLName xml.Name      `xml:"Tagging"`
    	TagSet  *ObjectTagSet `xml:"TagSet"`
    }
    
    // GetObjectTaggingHandler - GET object tagging
    func (api objectAPIHandlers) GetObjectTaggingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetObjectTagging")
    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)
  4. cmd/api-errors.go

    		Description:    "Bucket is missing ObjectLockConfiguration",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketTaggingNotFound: {
    		Code:           "NoSuchTagSet",
    		Description:    "The TagSet does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrObjectLockConfigurationNotFound: {
    		Code:           "ObjectLockConfigurationNotFoundError",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. internal/hash/reader.go

    func (r *Reader) ActualSize() int64 { return r.actualSize }
    
    // ETag returns the ETag computed by an underlying etag.Tagger.
    // If the underlying io.Reader does not implement etag.Tagger
    // it returns nil.
    func (r *Reader) ETag() etag.ETag {
    	if t, ok := r.src.(etag.Tagger); ok {
    		return t.ETag()
    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64 `xml:"ObjectSizeLessThan,omitempty"`
    
    	And    And
    	andSet bool
    
    	Tag    Tag
    	tagSet bool
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    // MarshalXML - produces the xml representation of the Filter struct
    // only one of Prefix, And and Tag should be present in the output.
    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)
  7. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    sleep 5
    val=$(./mc tag list minio1/newbucket/README.md --version-id "${vID}" --json | jq -r .tagset.key)
    if [ "${val}" != "val" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    ./mc tag remove --version-id "${vID}" minio2/newbucket/README.md
    if [ $? -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-ldap.sh

    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1
    kill -9 ${site1_pid}
    # Update tag on minio2/newbucket when minio1 is down
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  9. cmd/site-replication.go

    				}
    				if s.Tags != nil {
    					tagBytes, err := base64.StdEncoding.DecodeString(*s.Tags)
    					if err != nil {
    						continue
    					}
    					tagCount++
    					if !tagSet.Contains(string(tagBytes)) {
    						tagSet.Add(string(tagBytes))
    					}
    				}
    				if len(s.Policy) > 0 {
    					plcy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(s.Policy), b)
    					if err != nil {
    						continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/bucket-replication.go

    	)
    	for _, err := range errs {
    		if err == nil {
    			taggedCount++
    			continue
    		}
    		if err != nil {
    			terr = err
    		}
    	}
    	// don't return error if at least one target was tagged successfully
    	if taggedCount == 0 && terr != nil {
    		proxy.Err = terr
    	}
    	return proxy
    }
    
    // proxyGetTaggingToRepTarget proxies get tagging requests to remote targets for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top