Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for structure (0.26 sec)

  1. cmd/xl-storage-meta-inline.go

    	"fmt"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // xlMetaInlineData is serialized data in [string][]byte pairs.
    type xlMetaInlineData []byte
    
    // xlMetaInlineDataVer indicates the version of the inline data structure.
    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    	return x[0] > 0 && x[0] <= xlMetaInlineDataVer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/sts-errors.go

    		stsLogIf(ctx, err, logger.ErrorKind)
    	}
    	encodedErrorResponse := encodeResponse(stsErrorResponse)
    	writeResponse(w, stsErr.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    // STSError structure
    type STSError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    // STSErrorResponse - error response format
    type STSErrorResponse struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. internal/logger/reqinfo.go

    // GetTagsMap - returns the user defined tags in a map structure
    func (r *ReqInfo) GetTagsMap() map[string]interface{} {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	m := make(map[string]interface{}, len(r.tags))
    	for _, t := range r.tags {
    		m[t.Key] = t.Val
    	}
    	return m
    }
    
    // PopulateTagsMap - returns the user defined tags in a map structure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K 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/signature-v4-parser.go

    	return signedHeaders, ErrNone
    }
    
    // signValues data type represents structured form of AWS Signature V4 header.
    type signValues struct {
    	Credential    credentialHeader
    	SignedHeaders []string
    	Signature     string
    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. 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)
  7. cmd/bucket-policy.go

    	if _, ok := args["groups"]; !ok {
    		if len(groups) > 0 {
    			args["groups"] = groups
    		}
    	}
    
    	return args
    }
    
    // PolicyToBucketAccessPolicy converts a MinIO policy into a minio-go policy data structure.
    func PolicyToBucketAccessPolicy(bucketPolicy *policy.BucketPolicy) (*miniogopolicy.BucketAccessPolicy, error) {
    	// Return empty BucketAccessPolicy for empty bucket policy.
    	if bucketPolicy == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. internal/arn/arn.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. internal/s3select/sql/statement.go

    )
    
    var errBadLimitSpecified = errors.New("Limit value must be a positive integer")
    
    const (
    	baseTableName = "s3object"
    )
    
    // SelectStatement is the top level parsed and analyzed structure
    type SelectStatement struct {
    	selectAST *Select
    
    	// Analysis result of the statement
    	selectQProp qProp
    
    	// Result of parsing the limit clause if one is present
    	// (otherwise -1)
    	limitValue int64
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top