Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for newContext (0.11 sec)

  1. cmd/kms-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/TimeoutTest.java

                super(delegate);
                this.wrapper = wrapper;
            }
    
    
            @Override
            protected CIFSContext wrap ( CIFSContext newContext ) {
                return new NSOverrideWrapper(super.wrap(newContext), this.wrapper);
            }
    
    
            @Override
            public NameServiceClient getNameServiceClient () {
                return this.wrapper;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  3. cmd/bucket-listobjects-handlers.go

    // You can use the versions subresource to list metadata about all
    // of the versions of objects in a bucket.
    func (api objectAPIHandlers) listObjectVersionsHandler(w http.ResponseWriter, r *http.Request, metadata bool) {
    	ctx := newContext(r, w, "ListObjectVersions")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication-handlers.go

    func (api objectAPIHandlers) PutBucketReplicationConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketReplicationConfig")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    // credentials for regular users on Minio.
    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRole")
    
    	claims := stsClaims{}
    	defer logger.AuditLog(ctx, w, r, claims)
    
    	// Check auth here (otherwise r.Form will have unexpected values from
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    //   - X-Amz-Server-Side-Encryption-Customer-Key
    //   - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key
    func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "NewMultipartUpload")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. cmd/object-lambda-handlers.go

    // response generated via the lambda functions. To use this API, you must have READ access
    // to the object.
    func (api objectAPIHandlers) GetObjectLambdaHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetObjectLambda")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg go/constant, method (Kind) String() string
    pkg go/token, const TILDE = 88
    pkg go/token, const TILDE Token
    pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
    pkg go/types, func NewContext() *Context
    pkg go/types, func NewSignature //deprecated
    pkg go/types, func NewSignatureType(*Var, []*TypeParam, []*TypeParam, *Tuple, *Tuple, bool) *Signature
    pkg go/types, func NewTerm(bool, Type) *Term
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. cmd/admin-router.go

    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		// Update request context with `logger.ReqInfo`.
    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    			r.URL.Host = remote.EndpointURL.Host
    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    				w.Header().Del(k)
    			}
    			ctx := newContext(r, w, "SiteReplicationUploadForwarding")
    			defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    			globalForwarder.ServeHTTP(w, r)
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top