Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for components (0.21 sec)

  1. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidResourceName: {
    		Code:           "XMinioInvalidResourceName",
    		Description:    "Resource name contains bad components such as \"..\" or \".\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrServerNotInitialized: {
    		Code:           "XMinioServerNotInitialized",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  2. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // each authentication attempt.
    type XDGSCRAMClient struct {
    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    // factory receiver.  This constructor will normalize the username, password
    // and authzID via the SASLprep algorithm, as recommended by RFC-5802.  If
    // SASLprep fails, the method returns an error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  3. cmd/metrics-v3-handler.go

    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has at least component.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    		return handler
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. internal/s3select/sql/utils.go

    	if o.Lit != nil {
    		return string(*o.Lit)
    	}
    	return o.ID.String()
    }
    
    // getLastKeypathComponent checks if the given expression is a path
    // expression, and if so extracts the last dot separated component of
    // the path. Otherwise it returns false.
    func getLastKeypathComponent(e *Expression) (string, bool) {
    	if len(e.And) > 1 ||
    		len(e.And[0].Condition) > 1 ||
    		e.And[0].Condition[0].Not != nil ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  5. cmd/common-main.go

    			logger.Fatal(err, "Invalid MINIO_SERVER_URL value is environment variable")
    		}
    		u.Path = "" // remove any path component such as `/`
    		globalMinioEndpoint = u.String()
    		globalMinioEndpointURL = u
    	}
    
    	globalFSOSync, err = config.ParseBool(env.Get(config.EnvFSOSync, config.EnableOff))
    	if err != nil {
    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/generic-handlers.go

    			if err != nil {
    				return time.Time{}, ErrMalformedDate
    			}
    			return t, ErrNone
    		}
    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    // Bad path components to be rejected by the path validity handler.
    const (
    	dotdotComponent = ".."
    	dotComponent    = "."
    )
    
    func hasBadHost(host string) error {
    	if globalIsCICD && strings.TrimSpace(host) == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. cmd/xl-storage_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    				getAPIError(ErrInvalidAccessKeyID),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusForbidden,
    		},
    		// Test case - 7.
    		// Case with bad components in object name.
    		{
    			bucketName: bucketName,
    			objectName: "../../etc",
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    }
    
    // TableExpression represents the FROM clause
    type TableExpression struct {
    	Table *JSONPath `parser:"@@"`
    	As    string    `parser:"( \"AS\"? @Ident )?"`
    }
    
    // JSONPathElement represents a keypath component
    type JSONPathElement struct {
    	Key            *ObjectKey `parser:"  @@"`               // ['name'] and .name forms
    	Index          *int       `parser:"| \"[\" @Int \"]\""` // [3] form
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. internal/lock/lock_windows_test.go

    package lock
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestFixLongPath(t *testing.T) {
    	// 248 is long enough to trigger the longer-than-248 checks in
    	// fixLongPath, but short enough not to make a path component
    	// longer than 255, which is illegal on Windows. (which
    	// doesn't really matter anyway, since this is purely a string
    	// function we're testing, and it's not actually being used to
    	// do a system call)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top