Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for xml$ (0.13 sec)

  1. internal/bucket/replication/destination.go

    }
    
    // MarshalXML - encodes to XML data.
    func (d Destination) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    	if err := e.EncodeElement(d.String(), xml.StartElement{Name: xml.Name{Local: "Bucket"}}); err != nil {
    		return err
    	}
    	if d.StorageClass != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  2. internal/bucket/encryption/bucket-sse-config.go

    }
    
    // MarshalXML - Marshals given SSE algorithm to valid XML
    func (alg *Algorithm) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	return e.EncodeElement(string(*alg), start)
    }
    
    // EncryptionAction - for ApplyServerSideEncryptionByDefault XML tag
    type EncryptionAction struct {
    	Algorithm   Algorithm `xml:"SSEAlgorithm,omitempty"`
    	MasterKeyID string    `xml:"KMSMasterKeyID,omitempty"`
    }
    
    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)
  3. internal/bucket/replication/sourceselectioncriteria.go

    }
    
    // MarshalXML - encodes to XML data.
    func (s SourceSelectionCriteria) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    	if s.IsValid() {
    		if err := e.EncodeElement(s.ReplicaModifications, xml.StartElement{Name: xml.Name{Local: "ReplicaModifications"}}); err != nil {
    			return err
    		}
    	}
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    // represents elements inside <SelectRequest/> in request XML specified in detail at
    // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html.
    type S3Select struct {
    	XMLName        xml.Name            `xml:"SelectRequest"`
    	Expression     string              `xml:"Expression"`
    	ExpressionType string              `xml:"ExpressionType"`
    	Input          InputSerialization  `xml:"InputSerialization"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. cmd/acl-handlers.go

    	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 {
    	Grantee    grantee `xml:"Grantee"`
    	Permission string  `xml:"Permission"`
    }
    
    type accessControlPolicy 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)
  6. internal/bucket/lifecycle/rule.go

    	Filter              Filter              `xml:"Filter,omitempty"`
    	Prefix              Prefix              `xml:"Prefix,omitempty"`
    	Expiration          Expiration          `xml:"Expiration,omitempty"`
    	Transition          Transition          `xml:"Transition,omitempty"`
    	DelMarkerExpiration DelMarkerExpiration `xml:"DelMarkerExpiration,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. docs/sts/client_grants/sts_element.py

            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. internal/event/name.go

    		return "s3:Scanner:BigPrefix"
    	}
    
    	return ""
    }
    
    // MarshalXML - encodes to XML data.
    func (name Name) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	return e.EncodeElement(name.String(), start)
    }
    
    // UnmarshalXML - decodes XML data.
    func (name *Name) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. internal/event/arn_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestARNString(t *testing.T) {
    	testCases := []struct {
    		arn            ARN
    		expectedResult string
    	}{
    		{ARN{}, ""},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.8K bytes
    - Viewed (0)
  10. cmd/bucket-encryption_test.go

    import (
    	"bytes"
    	"testing"
    )
    
    func TestValidateBucketSSEConfig(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    		shouldPass  bool
    	}{
    		// MinIO supported XML
    		{
    			inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    			<Rule>
    			<ApplyServerSideEncryptionByDefault>
    			<SSEAlgorithm>AES256</SSEAlgorithm>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 14 07:59:05 GMT 2021
    - 2.1K bytes
    - Viewed (0)
Back to top