Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 282 for Leider (0.24 sec)

  1. docs/extensions/s3zip/examples/minio-go/main.go

    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen.go

    func (z *allTierStats) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "ts"
    	o = append(o, 0x81, 0xa2, 0x74, 0x73)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Tiers)))
    	for za0001, za0002 := range z.Tiers {
    		o = msgp.AppendString(o, za0001)
    		// map header, size 3
    		// string "ts"
    		o = append(o, 0x83, 0xa2, 0x74, 0x73)
    		o = msgp.AppendUint64(o, za0002.TotalSize)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  3. internal/bucket/replication/datatypes.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    //go:generate msgp -file=$GOFILE
    
    // StatusType of Replication for x-amz-replication-status header
    type StatusType string
    
    // Type - replication type enum
    type Type int
    
    const (
    	// Pending - replication is pending.
    	Pending StatusType = "PENDING"
    
    	// Completed - replication completed ok.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. cmd/metrics-v2_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z *MetricDescription) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 5
    	// string "Namespace"
    	o = append(o, 0x85, 0xa9, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65)
    	o = msgp.AppendString(o, string(z.Namespace))
    	// string "Subsystem"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. cmd/tier-journal.go

    		return nil
    	}
    
    	var err error
    	jd.file, err = OpenFile(jd.JournalPath(), os.O_APPEND|os.O_CREATE|os.O_WRONLY|writeMode, 0o666)
    	if err != nil {
    		return err
    	}
    
    	// write journal version header if active journal is empty
    	fi, err := jd.file.Stat()
    	if err != nil {
    		return err
    	}
    	if fi.Size() == 0 {
    		var data [tierJournalHdrLen]byte
    		binary.LittleEndian.PutUint16(data[:], tierJournalVersion)
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/acl-handlers.go

    	// Before proceeding validate if bucket exists.
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	aclHeader := r.Header.Get(xhttp.AmzACL)
    	if aclHeader == "" {
    		acl := &accessControlPolicy{}
    		if err = xmlDecoder(r.Body, acl, r.ContentLength); err != nil {
    			if terr, ok := err.(*xml.SyntaxError); ok && terr.Msg == io.EOF.Error() {
    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)
  7. internal/config/identity/openid/jwt.go

    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    		kid, ok := jwtToken.Header["kid"].(string)
    		if !ok {
    			return nil, fmt.Errorf("Invalid kid value %v", jwtToken.Header["kid"])
    		}
    		return r.pubKeys.get(kid), nil
    	}
    
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	if !ok {
    		return fmt.Errorf("Role %s does not exist", arn)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  8. cmd/httprange_test.go

    		if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
    			t.Errorf("expected error with invalid range: %v", err)
    		}
    		if h != testCase.spec {
    			t.Errorf("Case %d: translated to incorrect header: %s expected: %s",
    				i, h, testCase.spec)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/bucket/retention/README.md

    ### Set legal hold on an object
    
    PutObject API allows setting legal hold using `x-amz-object-lock-legal-hold` header.
    
    ```sh
    aws s3api put-object --bucket testbucket --key legalhold --object-lock-legal-hold-status ON --body /etc/issue
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. internal/crypto/error.go

    	// ErrIncompatibleEncryptionMethod indicates that both SSE-C headers and SSE-S3 headers were specified, and are incompatible
    	// The client needs to remove the SSE-S3 header or the SSE-C headers
    	ErrIncompatibleEncryptionMethod = Errorf("Server side encryption specified with both SSE-C and SSE-S3 headers")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top