Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for url (0.14 sec)

  1. cmd/update.go

    			len(cpuMap), len(coreMap), cpu.VendorID, cpu.Family, cpu.Model, cpu.Stepping, cpu.ModelName))
    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    func downloadReleaseURL(u *url.URL, timeout time.Duration, mode string) (content string, err error) {
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/license-update.go

    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    		internalLogIf(ctx, fmt.Errorf("license not found in response from %s", url))
    		return
    	}
    
    	lic := r.String()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    func (sys *BucketTargetSys) isOffline(ep *url.URL) bool {
    	sys.hMutex.RLock()
    	defer sys.hMutex.RUnlock()
    	if h, ok := sys.hc[ep.Host]; ok {
    		return !h.Online
    	}
    	go sys.initHC(ep)
    	return false
    }
    
    // markOffline sets endpoint to offline if network i/o timeout seen.
    func (sys *BucketTargetSys) markOffline(ep *url.URL) {
    	sys.hMutex.Lock()
    	defer sys.hMutex.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    		}
    		seenClientIDs.Add(p.ClientID)
    
    		p.URL, err = xnet.ParseHTTPURL(configURL)
    		if err != nil {
    			return c, err
    		}
    		configURLDomain := p.URL.Hostname()
    		p.DiscoveryDoc, err = parseDiscoveryDoc(p.URL, transport, closeRespFn)
    		if err != nil {
    			return c, err
    		}
    
    		if p.ClaimUserinfo && configURL == "" {
    			return c, errors.New("please specify config_url to enable fetching claims from UserInfo endpoint")
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. 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)
  6. internal/config/identity/openid/jwt.go

    	pk.RLock()
    	defer pk.RUnlock()
    	return pk.pkMap[kid]
    }
    
    // PopulatePublicKey - populates a new publickey from the JWKS URL.
    func (r *Config) PopulatePublicKey(arn arn.ARN) error {
    	pCfg := r.arnProviderCfgsMap[arn]
    	if pCfg.JWKS.URL == nil || pCfg.JWKS.URL.String() == "" {
    		return nil
    	}
    
    	// Add client secret for the client ID for HMAC based signature.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  7. 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)
  8. docs/debugging/s3-check-md5/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"context"
    	"crypto/md5"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/url"
    	"os"
    	"path"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	endpoint, accessKey, secretKey string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top