Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for url (0.22 sec)

  1. internal/grid/types.go

    	u := URLValues(values)
    	return &u
    }
    
    // Values returns the url.Values.
    // If u is nil, an empty url.Values is returned.
    // The values are a shallow copy of the underlying map.
    func (u *URLValues) Values() url.Values {
    	if u == nil {
    		return url.Values{}
    	}
    	return url.Values(*u)
    }
    
    // Recycle the underlying map.
    func (u *URLValues) Recycle() {
    	if *u != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/admin-handler-utils.go

    		case ErrAccessDenied:
    			// Try another
    			continue
    		default:
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    			return nil, cred
    		}
    	}
    	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    type AdminError struct {
    	Code       string
    	Message    string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    	authTypeStreamingSignedTrailer
    	authTypeStreamingUnsignedTrailer
    )
    
    // Get request authentication type.
    func getRequestAuthType(r *http.Request) (at authType) {
    	if r.URL != nil {
    		var err error
    		r.Form, err = url.ParseQuery(r.URL.RawQuery)
    		if err != nil {
    			authNLogIf(r.Context(), err)
    			return authTypeUnknown
    		}
    	}
    	if isRequestSignatureV2(r) {
    		return authTypeSignedV2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. cmd/api-utils.go

    		return false
    	}
    
    	switch c {
    	case '-', '_', '.', '/', '*':
    		return false
    	}
    	return true
    }
    
    // s3URLEncode is based on Golang's url.QueryEscape() code,
    // while considering some S3 exceptions:
    //   - Avoid encoding '/' and '*'
    //   - Force encoding of '~'
    func s3URLEncode(s string) string {
    	spaceCount, hexCount := 0, 0
    	for i := 0; i < len(s); i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/sts/assume-role.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"context"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/url"
    	"os"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	// Minio endpoint (for STS API)
    	stsEndpoint string
    
    	// User account credentials
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  6. cmd/metrics.go

    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil {
    			if len(mfs) == 0 {
    				writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    				return
    			}
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  7. cmd/globals.go

    	globalIsTesting = false
    
    	// This flag is set to 'true' by default
    	globalBrowserEnabled = true
    
    	// Custom browser redirect URL, not set by default
    	// and it is automatically deduced.
    	globalBrowserRedirectURL *xnet.URL
    
    	// Disable redirect, default is enabled.
    	globalBrowserRedirect bool
    
    	// globalBrowserConfig Browser user configurable settings
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. internal/event/target/kafka.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. internal/event/target/nats.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. internal/config/browser/browser.go

    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    		return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy)
    	}
    
    	return cfg, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top