Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Tag (0.12 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    inputConfig:    `<LifecycleConfiguration><Rule><Filter><And><Prefix>foodir/</Prefix><Tag><Key>tag1</Key><Value>value1</Value></Tag><Tag><Key>tag2</Key><Value>value2</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(24*time.Hour).UTC().Add(-24*time.Hour).Format(time.RFC3339) + `</Date></Expiration></Rule><Rule><Filter><And><Prefix>abc/</Prefix><Tag><Key>tag2</Key><Value>value</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Tru...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	},
    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		HTTPStatusCode: http.StatusBadRequest,
    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)
  3. src/bytes/bytes_test.go

    	{"TrimRight", "abba", "ab", ""},
    	{"TrimLeft", "abba", "a", "bba"},
    	{"TrimLeft", "abba", "b", "abba"},
    	{"TrimRight", "abba", "a", "abb"},
    	{"TrimRight", "abba", "b", "abba"},
    	{"Trim", "<tag>", "<>", "tag"},
    	{"Trim", "* listitem", " *", "listitem"},
    	{"Trim", `"quote"`, `"`, "quote"},
    	{"Trim", "\u2C6F\u2C6F\u0250\u0250\u2C6F\u2C6F", "\u2C6F", "\u0250\u0250"},
    	{"Trim", "\x80test\xff", "\xff", "test"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		// Have to give it a name to simulate C "struct foo" references.
    		tag := dt.StructName
    		if dt.ByteSize < 0 && tag == "" { // opaque unnamed struct - should not be possible
    			break
    		}
    		if tag == "" {
    			tag = anonymousStructTag[dt]
    			if tag == "" {
    				tag = "__" + strconv.Itoa(tagGen)
    				tagGen++
    				anonymousStructTag[dt] = tag
    			}
    		} else if t.C.Empty() {
    			t.C.Set(dt.Kind + " " + tag)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    }
    
    // GetObjectTags - get object tags from an existing object
    func (er erasureObjects) GetObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (*tags.Tags, error) {
    	// GetObjectInfo will return tag value as well
    	oi, err := er.GetObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	return tags.ParseObjectTags(oi.UserTags)
    }
    
    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)
  6. cmd/batch-handlers.go

    		if err := r.Target.Creds.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if err := r.Target.Type.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	// Shallow copy
    	c := *j
    	// Zero fields that will vary across disks
    	c.ErasureIndex = 0
    
    	// Nil 0 size allownil, so we don't differentiate between nil and 0 len.
    	allEmpty := true
    	for _, tag := range c.PartETags {
    		if len(tag) != 0 {
    			allEmpty = false
    			break
    		}
    	}
    	if allEmpty {
    		c.PartETags = nil
    	}
    	if len(c.PartActualSizes) == 0 {
    		c.PartActualSizes = nil
    	}
    
    	// Get a 64 bit CRC
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top