Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 198 of 198 for Unmarshal (0.13 sec)

  1. cmd/sts-handlers.go

    		return err
    	}
    
    	// Version in policy must not be empty
    	if sessionPolicy.Version == "" {
    		return errors.New("Version cannot be empty expecting '2012-10-17'")
    	}
    
    	policyBuf, err := json.Marshal(sessionPolicy)
    	if err != nil {
    		return err
    	}
    
    	// https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html
    	// https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. cmd/api-response.go

    }
    
    // ObjectVersion container for object version metadata
    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. tests/preload_suits_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"encoding/json"
    	"reflect"
    	"sort"
    	"sync/atomic"
    	"testing"
    
    	"gorm.io/gorm"
    )
    
    func toJSONString(v interface{}) []byte {
    	r, _ := json.Marshal(v)
    	return r
    }
    
    func TestNestedPreload1(t *testing.T) {
    	type (
    		Level1 struct {
    			ID       uint
    			Value    string
    			Level2ID uint
    		}
    		Level2 struct {
    			ID       uint
    			Level1   Level1
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // it always corresponds to the version of the main resource.
      optional string subresource = 8;
    }
    
    // MicroTime is version of Time with microsecond level precision.
    //
    // +protobuf.options.marshal=false
    // +protobuf.as=Timestamp
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message MicroTime {
      // Represents seconds of UTC time since Unix epoch
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. cmd/iam.go

    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	d, err := sys.store.GetPolicyDoc(policyName)
    	if err != nil {
    		return nil, err
    	}
    
    	pdata, err := json.Marshal(d.Policy)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.PolicyInfo{
    		PolicyName: policyName,
    		Policy:     pdata,
    		CreateDate: d.CreateDate,
    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    	partDecRelOffset, partEncRelOffset int64
    }
    
    func (d *DecryptBlocksReader) buildDecrypter(partID int) error {
    	var partIDbin [4]byte
    	binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID
    
    	mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key
    	mac.Write(partIDbin[:])
    	partEncryptionKey := mac.Sum(nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    		c.Fatalf("unexpected new request err: %v", err)
    	}
    	reqBodyArg := madmin.UserInfo{
    		SecretKey:  secretKey,
    		PolicyName: "consoleAdmin",
    		Status:     madmin.AccountEnabled,
    	}
    	buf, err := json.Marshal(reqBodyArg)
    	if err != nil {
    		c.Fatalf("unexpected json encode err: %v", err)
    	}
    	buf, err = madmin.EncryptData(secretKey, buf)
    	if err != nil {
    		c.Fatalf("unexpected encryption err: %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. RELEASE.md

    Wang, June-One, Kamil Sindi, Kb Sriram, Kdavis-Mozilla, Kenji, lazypanda1,
    Liang-Chi Hsieh, Loo Rong Jie, Mahesh Bhosale, MandarJKulkarni, ManHyuk, Marcus
    Ong, Marshal Hayes, Martin Pool, matthieudelaro, mdfaijul, mholzel, Michael
    Zhou, Ming Li, Minmin Sun, Myungjoo Ham, MyungsungKwak, Naman Kamra, Peng Yu,
    Penghao Cen, Phil, Raghuraman-K, resec, Rohin Mohanadas, Sandeep N Gupta, Scott
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top