Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Structures (0.17 sec)

  1. cmd/object-handlers.go

    // PutObjectExtractHandler - PUT Object extract is an extended API
    // based off from AWS Snowball feature to auto extract compressed
    // stream will be extracted in the same directory it is stored in
    // and the folder structures will be built out accordingly.
    func (api objectAPIHandlers) PutObjectExtractHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutObjectExtract")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/format-erasure.go

    type formatErasureVersionDetect struct {
    	Erasure struct {
    		Version string `json:"version"`
    	} `json:"xl"`
    }
    
    // Represents the V1 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    // formatErasureV1 - structure holds format config version '1'.
    type formatErasureV1 struct {
    	formatMetaV1
    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. internal/logger/target/console/console.go

    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    	if logger.IsJSON() {
    		logJSON, err := json.Marshal(&entry)
    		if err != nil {
    			return err
    		}
    		fmt.Fprintln(c.output, string(logJSON))
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	}
    
    	return envKV{
    		Key:   key,
    		Value: val,
    	}, nil
    }
    
    // Similar to os.Environ returns a copy of strings representing
    // the environment values from a file, in the form "key, value".
    // in a structured form.
    func minioEnvironFromFile(envConfigFile string) ([]envKV, error) {
    	f, err := Open(envConfigFile)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	var ekvs []envKV
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. cmd/storage-rest-server.go

    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    func logFatalErrs(err error, endpoint Endpoint, exit bool) {
    	switch {
    	case errors.Is(err, errXLBackend):
    		logger.Fatal(config.ErrInvalidXLValue(err), "Unable to initialize backend")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. docs/distributed/CONFIG.md

    Following is an example YAML configuration structure.
    ```yaml
    version: v2
    address: ":9000"
    rootUser: "minioadmin"
    rootPassword: "minioadmin"
    console-address: ":9001"
    certs-dir: "/home/user/.minio/certs/"
    pools: # Specify the nodes and drives with pools
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    // when it has been returned on a handler.
    // This will disable automatic response recycling/pooling.
    // Typically this is used when the response sharing part of its data structure.
    func (h *SingleHandler[Req, Resp]) WithSharedResponse() *SingleHandler[Req, Resp] {
    	h.sharedResp = true
    	return h
    }
    
    // NewResponse creates a new response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    func (er erasureObjects) ListMultipartUploads(ctx context.Context, bucket, object, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    var globalBatchConfig batch.Config
    
    // BatchJobRequest this is an internal data structure not for external consumption.
    type BatchJobRequest struct {
    	ID        string               `yaml:"-" json:"name"`
    	User      string               `yaml:"-" json:"user"`
    	Started   time.Time            `yaml:"-" json:"started"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top