Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 193 for url (0.24 sec)

  1. istioctl/pkg/tag/generate_test.go

    					}
    				}
    				if tc.whURL != "" {
    					if validationWhConf.URL == nil {
    						t.Fatalf("expected validation URL %s, got nil", tc.whURL)
    					}
    					if *validationWhConf.URL != tc.whURL {
    						t.Fatalf("expected validation URL %s, got %s", tc.whURL, *validationWhConf.URL)
    					}
    				}
    				if tc.whCA != "" {
    					if string(validationWhConf.CABundle) != tc.whCA {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/url"
    	"testing"
    )
    
    // Test list objects resources V2.
    func TestListObjectsV2Resources(t *testing.T) {
    	testCases := []struct {
    		values                               url.Values
    		prefix, token, startAfter, delimiter string
    		fetchOwner                           bool
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. cmd/common-main.go

    		}
    		// Look for if URL has invalid values and return error.
    		if !((u.Scheme == "http" || u.Scheme == "https") &&
    			(u.Path == "/" || u.Path == "") && u.Opaque == "" &&
    			!u.ForceQuery && u.RawQuery == "" && u.Fragment == "") {
    			err := fmt.Errorf("URL contains unexpected resources, expected URL to be of http(s)://minio.example.com format: %v", u)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  4. cmd/generic-handlers_contrib.go

    // guessIsLoginSTSReq - returns true if incoming request is Login STS user
    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	return strings.HasPrefix(req.URL.Path, loginPathPrefix) ||
    		(req.Method == http.MethodPost && req.URL.Path == SlashSeparator &&
    			getRequestAuthType(req) == authTypeSTS)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 30 15:50:39 GMT 2021
    - 995 bytes
    - Viewed (0)
  5. cmd/update_test.go

    		expectedResult     string
    		expectedErr        error
    	}{
    		{httpServer1.URL, "", nil},
    		{httpServer2.URL, "fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z\n", nil},
    		{httpServer3.URL, "", fmt.Errorf("Error downloading URL " + httpServer3.URL + ". Response: 404 Not Found")},
    	}
    
    	for _, testCase := range testCases {
    		u, err := url.Parse(testCase.releaseChecksumURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    		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,
    		IsLocal: isLocal,
    		PoolIdx: -1,
    		SetIdx:  -1,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/api-response.go

    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    func getObjectLocation(r *http.Request, domains []string, bucket, object string) string {
    	// unit tests do not have host set.
    	if r.Host == "" {
    		return path.Clean(r.URL.Path)
    	}
    	proto := handlers.GetSourceScheme(r)
    	if proto == "" {
    		proto = getURLScheme(globalIsTLS)
    	}
    	u := &url.URL{
    		Host:   r.Host,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. docs/debugging/s3-verify/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"context"
    	"crypto/sha256"
    	"flag"
    	"fmt"
    	"hash"
    	"io"
    	"log"
    	"net/url"
    	"os"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	sourceEndpoint, sourceAccessKey, sourceSecretKey string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  9. cmd/healthcheck-handler.go

    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    		ctx, cancel := context.WithTimeout(r.Context(), time.Minute)
    		defer cancel()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    	result = madmin.SiteNetPerfNodeResult{}
    	cli, err := globalSiteReplicationSys.getAdminClient(ctx, deploymentID)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	rp := cli.GetEndpointURL()
    	reqURL := &url.URL{
    		Scheme: rp.Scheme,
    		Host:   rp.Host,
    		Path:   reqPath,
    	}
    	result.Endpoint = rp.String()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top