Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,735 for jason (0.03 sec)

  1. cmd/data-usage_test.go

    		}
    	}
    }
    
    // equalAsJSON returns whether the values are equal when encoded as JSON.
    func equalAsJSON(a, b interface{}) bool {
    	aj, err := json.Marshal(a)
    	if err != nil {
    		panic(err)
    	}
    	bj, err := json.Marshal(b)
    	if err != nil {
    		panic(err)
    	}
    	return bytes.Equal(aj, bj)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/tier.go

    	config.drivercache[tierName] = d
    	return d, nil
    }
    
    // configReader returns a PutObjReader and ObjectOptions needed to save config
    // using a PutObject API. PutObjReader encrypts json encoded tier configurations
    // if KMS is enabled, otherwise simply yields the json encoded bytes as is.
    // Similarly, ObjectOptions value depends on KMS' status.
    func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. docs/debugging/s3-verify/go.mod

    module github.com/minio/minio/docs/debugging/s3-verify
    
    go 1.21
    
    require github.com/minio/minio-go/v7 v7.0.70
    
    require (
    	github.com/dustin/go-humanize v1.0.1 // indirect
    	github.com/goccy/go-json v0.10.2 // indirect
    	github.com/google/uuid v1.6.0 // indirect
    	github.com/klauspost/compress v1.17.8 // indirect
    	github.com/klauspost/cpuid/v2 v2.2.7 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/rs/xid v1.5.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 13 17:59:52 UTC 2024
    - 688 bytes
    - Viewed (0)
  4. internal/config/lambda/config.go

    import "github.com/minio/minio/internal/event/target"
    
    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_datastructures.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/additional-status-codes.md

    Elle ne sera pas sérialisée avec un modèle.
    
    Assurez-vous qu'il contient les données souhaitées et que les valeurs soient dans un format JSON valides (si vous utilisez une `JSONResponse`).
    
    ///
    
    /// note | "Détails techniques"
    
    Vous pouvez également utiliser `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/response-cookies.md

    Lembre-se de que se você retornar uma resposta diretamente em vez de usar o parâmetro `Response`, FastAPI a retornará diretamente.
    
    Portanto, você terá que garantir que seus dados sejam do tipo correto. E.g. será compatível com JSON se você estiver retornando um `JSONResponse`.
    
    E também que você não esteja enviando nenhum dado que deveria ter sido filtrado por um `response_model`.
    
    ///
    
    ### Mais informações
    
    /// note | "Detalhes Técnicos"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/response-cookies.md

    Beachten Sie, dass, wenn Sie eine Response direkt zurückgeben, anstatt den `Response`-Parameter zu verwenden, FastAPI diese direkt zurückgibt.
    
    Sie müssen also sicherstellen, dass Ihre Daten vom richtigen Typ sind. Z. B. sollten diese mit JSON kompatibel sein, wenn Sie eine `JSONResponse` zurückgeben.
    
    Und auch, dass Sie keine Daten senden, die durch ein `response_model` hätten gefiltert werden sollen.
    
    ///
    
    ### Mehr Informationen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. buildscripts/verify-healing-with-root-disks.sh

    	while [ "$u" != "0" ]; do
    		sudo umount ${WORK_DIR}/mnt/disk4/
    		u=$?
    		sleep 1
    	done
    
    	# Wait until MinIO self heal kicks in
    	sleep 60
    
    	if [ -f ${WORK_DIR}/mnt/disk4/.minio.sys/format.json ]; then
    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    function cleanup() {
    	pkill minio
    	sudo umount ${WORK_DIR}/mnt/disk{1..3}/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. cni/cmd/istio-cni/main.go

    	if err != nil {
    		log.Errorf("istio-cni failed with: %v", err)
    		if err := err.Print(); err != nil {
    			log.Errorf("istio-cni failed to write error JSON to stdout: %v", err)
    		}
    
    		return err
    	}
    
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top