Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for Admin (0.16 sec)

  1. cmd/admin-router.go

    	}
    
    	return handler
    }
    
    // adminAPIHandlers provides HTTP handlers for MinIO admin API.
    type adminAPIHandlers struct{}
    
    // registerAdminRouter - Add handler functions for each service REST API routes.
    func registerAdminRouter(router *mux.Router, enableConfigOps bool) {
    	adminAPI := adminAPIHandlers{}
    	// Admin router
    	adminRouter := router.PathPrefix(adminPathPrefix).Subrouter()
    
    	adminVersions := []string{
    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)
  2. cmd/admin-handlers.go

    	anonymizeStrict           = "strict"
    )
    
    // Only valid query params for mgmt admin APIs.
    const (
    	mgmtBucket      = "bucket"
    	mgmtPrefix      = "prefix"
    	mgmtClientToken = "clientToken"
    	mgmtForceStart  = "forceStart"
    	mgmtForceStop   = "forceStop"
    )
    
    // ServerUpdateV2Handler - POST /minio/admin/v3/update?updateURL={updateURL}&type=2
    // ----------
    // updates all minio servers and restarts them gracefully.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  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-heal-ops.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, usageInfoJSON)
    }
    
    // InfoCannedPolicy - GET /minio/admin/v3/info-canned-policy?name={policyName}
    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/rebalance-admin.go

    Anis Eleuch <******@****.***> 1703206603 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    				rpt.SetStatus(bucket, fileName, fmt.Errorf("%s", errorCodes[ErrKMSNotConfigured].Description))
    				continue
    			}
    			kmsKey := encConfig.KeyID()
    			if kmsKey != "" {
    				kmsContext := kms.Context{"MinIO admin API": "ServerInfoHandler"} // Context for a test key operation
    				_, err := GlobalKMS.GenerateKey(ctx, kmsKey, kmsContext)
    				if err != nil {
    					if errors.Is(err, kes.ErrKeyNotFound) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    	defer cancel()
    
    	adminTestBed, err := prepareAdminErasureTestBed(ctx)
    	if err != nil {
    		t.Fatal("Failed to initialize a single node Erasure backend for admin handler tests.", err)
    	}
    	defer adminTestBed.TearDown()
    
    	// Initialize admin peers to make admin RPC calls. Note: In a
    	// single node setup, this degenerates to a simple function
    	// call under the hood.
    	globalMinioAddr = "127.0.0.1:9000"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-config-kv.go

    	"github.com/minio/minio/internal/config/subnet"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // DelConfigKVHandler - DELETE /minio/admin/v3/del-config-kv
    func (a adminAPIHandlers) DelConfigKVHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/admin-server-info.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top