Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for V2 (0.15 sec)

  1. cmd/signature-v2.go

    }
    
    // Return signature-v2 for the presigned request.
    func preSignatureV2(cred auth.Credentials, method string, encodedResource string, encodedQuery string, headers http.Header, expires string) string {
    	stringToSign := getStringToSignV2(method, encodedResource, encodedQuery, headers, expires)
    	return calculateSignatureV2(stringToSign, cred.SecretKey)
    }
    
    // Return the signature v2 of a given request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/metrics-v2_gen.go

    Aditya Manthramurthy <******@****.***> 1710062115 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		var xl xlMetaV2
    		err = xl.LoadOrConvert(buf)
    		if err != nil {
    			t.Fatal(err)
    		}
    		vers = append(vers, xl.versions)
    	}
    	for _, v2 := range vers {
    		for _, ver := range v2 {
    			b, _ := json.Marshal(ver.header)
    			t.Log(string(b))
    			var x xlMetaV2Version
    			_, _ = x.unmarshalV(0, ver.meta)
    			b, _ = json.Marshal(x)
    			t.Log(string(b), x.getSignature())
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen_test.go

    Klaus Post <******@****.***> 1637266522 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 18 20:15:22 GMT 2021
    - 11.5K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    				}
    			case 1, 2:
    				v, b, err := msgp.ReadBytesZC(b)
    				if err != nil {
    					return nil, err
    				}
    				if _, nbuf, err := msgp.ReadUint32Bytes(b); err == nil {
    					// Read metadata CRC (added in v2, ignore if not found)
    					b = nbuf
    				}
    
    				_, err = msgp.CopyToJSON(buf, bytes.NewReader(v))
    				if err != nil {
    					return nil, err
    				}
    				data = b
    			case 3:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. cmd/globals.go

    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v2/certs"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // minio configuration related constants.
    const (
    	GlobalMinioDefaultPort = "9000"
    
    	globalMinioDefaultRegion = ""
    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)
  7. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    	ClaimName     = "claim_name"
    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)
  8. internal/logger/config.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"crypto/tls"
    	"errors"
    	"strconv"
    	"strings"
    
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    )
    
    // Console logger target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. cmd/update.go

    	"runtime"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/klauspost/compress/zstd"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/selfupdate"
    	gopsutilcpu "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY"
    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)
  10. cmd/auth-handler.go

    	xhttp "github.com/minio/minio/internal/http"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // Verify if request has JWT.
    func isRequestJWT(r *http.Request) bool {
    	return strings.HasPrefix(r.Header.Get(xhttp.Authorization), jwtAlgorithm)
    }
    
    // Verify if request has AWS Signature Version '4'.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
Back to top