Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for Weaver (0.38 sec)

  1. cmd/ftp-server-driver.go

    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/minio/internal/auth"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/mimedb"
    	ftp "goftp.io/server/v2"
    )
    
    var _ ftp.Driver = &ftpDriver{}
    
    // ftpDriver implements ftpDriver to store files in minio
    type ftpDriver struct {
    	endpoint string
    }
    
    // NewFTPDriver implements ftp.Driver interface
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	closeBitrotWriters(writers)
    	if err != nil {
    		return pi, toObjectErr(err, bucket, object)
    	}
    
    	// Should return IncompleteBody{} error when reader has fewer bytes
    	// than specified in request header.
    	if n < data.Size() {
    		return pi, IncompleteBody{Bucket: bucket, Object: object}
    	}
    
    	for i := range writers {
    		if writers[i] == nil {
    			onlineDisks[i] = nil
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	// Ensure body content type is opaque to ensure that request body has not
    	// been interpreted as form data.
    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/object-api-options.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func getDefaultOpts(header http.Header, copySource bool, metadata map[string]string) (opts ObjectOptions, err error) {
    	var clientKey [32]byte
    	var sse encrypt.ServerSide
    
    	opts = ObjectOptions{UserDefined: metadata}
    	if copySource {
    		if crypto.SSECopy.IsRequested(header) {
    			clientKey, err = crypto.SSECopy.ParseHTTP(header)
    			if err != nil {
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    	// set object-related metadata headers
    	w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat))
    
    	if objInfo.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    	if objInfo.VersionID != "" {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if !objInfo.Expires.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. cmd/s3-zip-handlers.go

    func (api objectAPIHandlers) getObjectInArchiveFileHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    	if crypto.S3.IsRequested(r.Header) || crypto.S3KMS.IsRequested(r.Header) { // If SSE-S3 or SSE-KMS present -> AWS fails with undefined error
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. internal/kms/kes.go

    // credentials.
    type Config struct {
    	// Endpoints contains a list of KMS server
    	// HTTP endpoints.
    	Endpoints []string
    
    	// DefaultKeyID is the key ID used when
    	// no explicit key ID is specified for
    	// a cryptographic operation.
    	DefaultKeyID string
    
    	// APIKey is an credential provided by env. var.
    	// to authenticate to a KES server. Either an
    	// API key or a client certificate must be specified.
    	APIKey kes.APIKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. cmd/utils.go

    func dumpRequest(r *http.Request) string {
    	header := r.Header.Clone()
    	header.Set("Host", r.Host)
    	// Replace all '%' to '%%' so that printer format parser
    	// to ignore URL encoded values.
    	rawURI := strings.ReplaceAll(r.RequestURI, "%", "%%")
    	req := struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}{r.Method, rawURI, header}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance_gen.go

    func (z rebalanceMetrics) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z rebalanceMetrics) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    }
    
    // parsePostPolicyForm - Parse JSON policy string into typed PostPolicyForm structure.
    func parsePostPolicyForm(r io.Reader) (PostPolicyForm, error) {
    	reader, err := sanitizePolicy(r)
    	if err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	d := json.NewDecoder(reader)
    
    	// Convert po into interfaces and
    	// perform strict type conversion using reflection.
    	var rawPolicy struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top