Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for APIs (0.41 sec)

  1. cmd/kms-router.go

    	}
    
    	for _, version := range KMSVersions {
    		// KMS Status APIs
    		kmsRouter.Methods(http.MethodGet).Path(version + "/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSStatusHandler)))
    		kmsRouter.Methods(http.MethodGet).Path(version + "/metrics").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSMetricsHandler)))
    		kmsRouter.Methods(http.MethodGet).Path(version + "/apis").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSAPIsHandler)))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	apis, err := manager.APIs(ctx)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(apis); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    			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
    	StatusCode int
    }
    
    func (ae AdminError) Error() string {
    	return ae.Message
    }
    
    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)
  4. cmd/admin-router.go

    			// Set config
    			adminRouter.Methods(http.MethodPut).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.SetConfigHandler))
    		}
    
    		// -- IAM APIs --
    
    		// Add policy IAM
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/add-canned-policy").HandlerFunc(adminMiddleware(adminAPI.AddCannedPolicy, traceAllFlag)).Queries("name", "{name:.*}")
    
    		// Add user IAM
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/xml"
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Test S3 Bucket lifecycle APIs with wrong credentials
    func TestBucketLifecycleWrongCredentials(t *testing.T) {
    	ExecObjectLayerAPITest(t, testBucketLifecycleHandlersWrongCredentials, []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"})
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. cmd/sts-datatypes.go

    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  7. internal/config/help.go

    	Type        string `json:"type"`
    	Description string `json:"description"`
    	Optional    bool   `json:"optional"`
    
    	// Indicates if the value contains sensitive info that shouldn't be exposed
    	// in certain apis (such as Health Diagnostics/Callhome)
    	Sensitive bool `json:"-"`
    
    	// Indicates if the value is a secret such as a password that shouldn't be
    	// exposed by the server
    	Secret bool `json:"-"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. cmd/api-router.go

    		// Call the final handler.
    		statsCollectedHandler(w, r)
    	}
    
    	return handler
    }
    
    // registerAPIRouter - registers S3 compatible APIs.
    func registerAPIRouter(router *mux.Router) {
    	// Initialize API.
    	api := objectAPIHandlers{
    		ObjectAPI: newObjectLayerFn,
    	}
    
    	// API Router
    	apiRouter := router.PathPrefix(SlashSeparator).Subrouter()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    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/tier-sweeper.go

    //	    logger.LogIf(ctx, err)
    //	}
    type objSweeper struct {
    	Object              string
    	Bucket              string
    	VersionID           string // version ID set by application, applies only to DeleteObject and DeleteObjects APIs
    	Versioned           bool
    	Suspended           bool
    	TransitionStatus    string
    	TransitionTier      string
    	TransitionVersionID string
    	RemoteObject        string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top