Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnmarshalError (0.13 sec)

  1. internal/bucket/object/lock/lock.go

    func (l *ObjectLegalHold) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LegalHold", "ObjectLockLegalHold":
    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LegalHold>/<ObjectLockLegalHold> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LifecycleConfiguration", "BucketLifecycleConfiguration":
    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LifecycleConfiguration>/<BucketLifecycleConfiguration> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Comment).Copy", Method, 0},
    		{"(Directive).Copy", Method, 0},
    		{"(ProcInst).Copy", Method, 0},
    		{"(StartElement).Copy", Method, 0},
    		{"(StartElement).End", Method, 2},
    		{"(UnmarshalError).Error", Method, 0},
    		{"Attr", Type, 0},
    		{"Attr.Name", Field, 0},
    		{"Attr.Value", Field, 0},
    		{"CharData", Type, 0},
    		{"Comment", Type, 0},
    		{"CopyToken", Func, 0},
    		{"Decoder", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top