Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for layered (0.12 sec)

  1. docs/en/docs/advanced/using-request-directly.md

    But there are situations where you might need to access the `Request` object directly.
    
    ## Details about the `Request` object
    
    As **FastAPI** is actually **Starlette** underneath, with a layer of several tools on top, you can use Starlette's <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> object directly when you need to.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/erasure.go

    var bucketMetadataOpIgnoredErrs = append(bucketOpIgnoredErrs, errVolumeNotFound)
    
    // OfflineDisk represents an unavailable disk.
    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    	poolIndex int
    
    	// getDisks returns list of storageAPIs.
    	getDisks func() []StorageAPI
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    		0, nil, "", "", nil)
    	if err != nil {
    		t.Errorf("MinIO %s:Failed to create http request for testing the response when object Layer is set to `nil`.", instanceType)
    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` sets the Object Layer to `nil` and calls the handler.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cmd/storage-errors.go

    var baseErrs = []error{
    	errDiskNotFound,
    	errFaultyDisk,
    	errFaultyRemoteDisk,
    }
    
    var baseIgnoredErrs = baseErrs
    
    // Is a one place function which converts all os.PathError
    // into a more FS object layer friendly form, converts
    // known errors into their typed form for top level
    // interpretation.
    func osErrToFileErr(err error) error {
    	if err == nil {
    		return nil
    	}
    	if osIsNotExist(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    // Has checks if the given flag is enabled in `h`.
    func (h hFlag) Has(flag hFlag) bool {
    	// Use bitwise-AND and check if the result is non-zero.
    	return h&flag != 0
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NetbiosAddress.java

     * service is a dynamic distributed service that allows hosts to resolve
     * names by broadcasting a query, directing queries to a server such as
     * Samba or WINS. NetBIOS is currently the primary networking layer for
     * providing name service, datagram service, and session service to the
     * Microsoft Windows platform. A NetBIOS name can be 15 characters long
     * and hosts usually registers several names on the network. From a
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. cmd/admin-handler-utils.go

    func validateAdminReq(ctx context.Context, w http.ResponseWriter, r *http.Request, actions ...policy.AdminAction) (ObjectLayer, auth.Credentials) {
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return nil, auth.Credentials{}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	// Register the API end points with Erasure/FS object layer.
    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    	bucketName := minioMetaBucket
    	objectName := "config/x"
    
    	// This exploit needs browser to be enabled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/warm-backend-azure.go

    		clnt:         clnt,
    		Bucket:       conf.Bucket,
    		Prefix:       strings.TrimSuffix(conf.Prefix, slashSeparator),
    		StorageClass: conf.StorageClass,
    	}, nil
    }
    
    // Convert azure errors to minio object layer errors.
    func azureToObjectError(err error, params ...string) error {
    	if err == nil {
    		return nil
    	}
    
    	bucket := ""
    	object := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. cmd/bitrot-streaming.go

    	hashBytes  []byte
    }
    
    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(io.NopCloser(b.rc))
    		return closer.Close()
    	}
    	return nil
    }
    
    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top