Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for xml (0.31 sec)

  1. cmd/crossdomain-xml-handler.go

    const crossDomainXML = `<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*" secure="false" /></cross-domain-policy>`
    
    // Standard path where an app would find cross domain policy information.
    const crossDomainXMLEntity = "/crossdomain.xml"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. cmd/crossdomain-xml-handler_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. internal/s3select/csv/args.go

    type ReaderArgs struct {
    	FileHeaderInfo             string `xml:"FileHeaderInfo"`
    	RecordDelimiter            string `xml:"RecordDelimiter"`
    	FieldDelimiter             string `xml:"FieldDelimiter"`
    	QuoteCharacter             string `xml:"QuoteCharacter"`
    	QuoteEscapeCharacter       string `xml:"QuoteEscapeCharacter"`
    	CommentCharacter           string `xml:"Comments"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    	XMLNS   string          `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name        `xml:"LegalHold"`
    	Status  LegalHoldStatus `xml:"Status,omitempty"`
    }
    
    // UnmarshalXML - decodes XML data.
    func (l *ObjectLegalHold) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LegalHold", "ObjectLockLegalHold":
    	default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. internal/s3select/parquet/args.go

    package parquet
    
    import "encoding/xml"
    
    // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML.
    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    }
    
    // Lifecycle - Configuration for bucket lifecycle.
    type Lifecycle struct {
    	XMLName         xml.Name   `xml:"LifecycleConfiguration"`
    	Rules           []Rule     `xml:"Rule"`
    	ExpiryUpdatedAt *time.Time `xml:"ExpiryUpdatedAt,omitempty"`
    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. internal/bucket/replication/and.go

    package replication
    
    import (
    	"encoding/xml"
    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock_test.go

    			expectErr:   true,
    		},
    		// invalid XML attr
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><UnknownLegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>ON</Status></UnknownLegalHold>`,
    			expectedErr: errors.New("expected element type <LegalHold>/<ObjectLockLegalHold> but have <UnknownLegalHold>"),
    			expectErr:   true,
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. cmd/api-datatypes.go

    package cmd
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    // DeletedObject objects deleted
    type DeletedObject struct {
    	DeleteMarker          bool   `xml:"DeleteMarker,omitempty"`
    	DeleteMarkerVersionID string `xml:"DeleteMarkerVersionId,omitempty"`
    	ObjectName            string `xml:"Key,omitempty"`
    	VersionID             string `xml:"VersionId,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    }
    
    // Expiration - expiration actions for a rule in lifecycle configuration.
    type Expiration struct {
    	XMLName      xml.Name           `xml:"Expiration"`
    	Days         ExpirationDays     `xml:"Days,omitempty"`
    	Date         ExpirationDate     `xml:"Date,omitempty"`
    	DeleteMarker ExpireDeleteMarker `xml:"ExpiredObjectDeleteMarker"`
    	// Indicates whether MinIO will remove all versions. If set to true, all versions will be deleted;
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top