Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for Labs (0.14 sec)

  1. cmd/endpoint_test.go

    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestNewEndpoint(t *testing.T) {
    	u2, _ := url.Parse("https://example.org/path")
    	u4, _ := url.Parse("http://192.168.253.200/path")
    	rootSlashFoo, _ := filepath.Abs("/foo")
    	testCases := []struct {
    		arg              string
    		expectedEndpoint Endpoint
    		expectedType     EndpointType
    		expectedErr      error
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  2. cmd/endpoint.go

    		// /mnt/export1. So we go ahead and start the minio server in FS modes in these cases.
    		if isHostIP(arg) {
    			return ep, fmt.Errorf("invalid URL endpoint format: missing scheme http or https")
    		}
    		absArg, err := filepath.Abs(arg)
    		if err != nil {
    			return Endpoint{}, fmt.Errorf("absolute path failed %s", err)
    		}
    		u = &url.URL{Path: path.Clean(absArg)}
    		isLocal = true
    	}
    
    	return Endpoint{
    		URL:     u,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top