Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for attr (0.16 sec)

  1. docs/debugging/xattr/main.go

    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    			names = append(names, attrs...)
    		} else {
    			names = append(names, name)
    		}
    		var data [][]string
    		for _, attr := range names {
    			value, err := getxattr(path, attr)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. cmd/acl-handlers.go

    // policy XML, these variables shouldn't be used elsewhere
    // they are only defined to be used in this file alone.
    type grantee struct {
    	XMLNS       string `xml:"xmlns:xsi,attr"`
    	XMLXSI      string `xml:"xsi:type,attr"`
    	Type        string `xml:"Type"`
    	ID          string `xml:"ID,omitempty"`
    	DisplayName string `xml:"DisplayName,omitempty"`
    	URI         string `xml:"URI,omitempty"`
    }
    
    type grant struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  3. internal/bucket/encryption/bucket-sse-config.go

    }
    
    const xmlNS = "http://s3.amazonaws.com/doc/2006-03-01/"
    
    // BucketSSEConfig - represents default bucket encryption configuration
    type BucketSSEConfig struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"ServerSideEncryptionConfiguration"`
    	Rules   []Rule   `xml:"Rule"`
    }
    
    // ParseBucketSSEConfig - Decodes given XML to a valid default bucket encryption config
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

          "element_id": "859d09c4-7cf1-4a37-9674-3a7de8b56abc",
          "attributes": {
            "__attr__image_dpi": 300,
            "__attr__image_size": [
              2550,
              3299
            ],
            "__attr__image_index": 1,
            "__attr__image_format": "JPEG",
            "__attr__file_extension": "jpg",
            "__attr__data": null
          }
        },
        {
          "element_type": "__elem__merfu",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    func (s *xlStorage) getDeleteAttribute() uint64 {
    	attr := "user.total_deletes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. internal/event/config.go

    }
    
    // Config - notification configuration described in
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
    type Config struct {
    	XMLNS      string   `xml:"xmlns,attr,omitempty"`
    	XMLName    xml.Name `xml:"NotificationConfiguration"`
    	QueueList  []Queue  `xml:"QueueConfiguration,omitempty"`
    	LambdaList []lambda `xml:"CloudFunctionConfiguration,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  7. docs/debugging/xattr/go.sum

    github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
    github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
    github.com/pkg/xattr v0.4.9 h1:5883YPCtkSd8LFbs13nXplj9g9tlrwoJRjgpgMu1/fE=
    github.com/pkg/xattr v0.4.9/go.mod h1:di8WF84zAKk8jzR1UBTEWh9AUlIZZ7M/JNt8e9B6ktU=
    github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock.go

    	return nil
    }
    
    // Config - object lock configuration specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/Type_API_ObjectLockConfiguration.html
    type Config struct {
    	XMLNS             string   `xml:"xmlns,attr,omitempty"`
    	XMLName           xml.Name `xml:"ObjectLockConfiguration"`
    	ObjectLockEnabled string   `xml:"ObjectLockEnabled"`
    	Rule              *struct {
    		DefaultRetention DefaultRetention `xml:"DefaultRetention"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. internal/bucket/versioning/versioning.go

    type ExcludedPrefix struct {
    	Prefix string
    }
    
    // Versioning - Configuration for bucket versioning.
    type Versioning struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"VersioningConfiguration"`
    	// MFADelete State    `xml:"MFADelete,omitempty"` // not supported yet.
    	Status State `xml:"Status,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. .gitignore

    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    docs/debugging/reorder-disks/reorder-disks
    docs/debugging/populate-hard-links/populate-hardlinks
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 707 bytes
    - Viewed (0)
Back to top