Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for admin (0.15 sec)

  1. cmd/admin-handlers.go

    	if h.IsOnline(ctx) {
    		return madmin.Status{Status: string(madmin.ItemOnline)}
    	}
    	return madmin.Status{Status: string(madmin.ItemOffline)}
    }
    
    // fetchLoggerDetails return log info
    func fetchLoggerInfo(ctx context.Context) ([]madmin.Logger, []madmin.Audit) {
    	var loggerInfo []madmin.Logger
    	var auditloggerInfo []madmin.Audit
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. cmd/admin-router.go

    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	adminPathPrefix                = minioReservedBucketPath + "/admin"
    	adminAPIVersion                = madmin.AdminAPIVersion
    	adminAPIVersionPrefix          = SlashSeparator + adminAPIVersion
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/rebalance-admin.go

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

    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemGroupInfo,
    		GroupInfo: &madmin.SRGroupInfo{
    			UpdateReq: madmin.GroupAddRemove{
    				Group:    group,
    				Status:   madmin.GroupStatus(status),
    				IsRemove: false,
    			},
    		},
    		UpdatedAt: updatedAt,
    	}))
    }
    
    // SetUserStatus - PUT /minio/admin/v3/set-user-status?accessKey=<access_key>&status=[enabled|disabled]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    	case stopCmd:
    		return serviceStop
    	}
    	return serviceRestart
    }
    
    func (c cmdType) toServiceAction() madmin.ServiceAction {
    	switch c {
    	case restartCmd:
    		return madmin.ServiceActionRestart
    	case stopCmd:
    		return madmin.ServiceActionStop
    	}
    	return madmin.ServiceActionRestart
    }
    
    // testServiceSignalReceiver - Helper function that simulates a
    // go-routine waiting on service signal.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/admin-handlers-site-replication.go

    	case madmin.ConfigureReplBktOp:
    		err = globalSiteReplicationSys.PeerBucketConfigureReplHandler(ctx, bucket)
    	case madmin.DeleteBucketBktOp, madmin.ForceDeleteBucketBktOp:
    		err = globalSiteReplicationSys.PeerBucketDeleteHandler(ctx, bucket, DeleteBucketOptions{
    			Force:      operation == madmin.ForceDeleteBucketBktOp,
    			SRDeleteOp: getSRBucketDeleteOp(true),
    		})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	var subSys string
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		subSys = madmin.IdentityOpenIDSubSys
    	case madmin.LDAPIDPCfg:
    		subSys = madmin.IdentityLDAPSubSys
    	}
    
    	cfgName := mux.Vars(r)["name"]
    	cfgTarget := madmin.Default
    	if cfgName != "" {
    		cfgTarget = cfgName
    		if idpCfgType == madmin.LDAPIDPCfg && cfgName != madmin.Default {
    			// LDAP does not support multiple configurations. So cfgName must be
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    			Type: madmin.SRIAMItemSvcAcc,
    			SvcAccChange: &madmin.SRSvcAccChange{
    				Create: &madmin.SRSvcAccCreate{
    					Parent:        newCred.ParentUser,
    					AccessKey:     newCred.AccessKey,
    					SecretKey:     newCred.SecretKey,
    					Groups:        newCred.Groups,
    					Name:          newCred.Name,
    					Description:   newCred.Description,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    }
    
    func (s *TestSuiteIAM) getAdminClient(c *check, accessKey, secretKey, sessionToken string) *madmin.AdminClient {
    	madmClnt, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  credentials.NewStaticV4(accessKey, secretKey, sessionToken),
    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("error creating user admin client: %s", err)
    	}
    	madmClnt.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers-pools.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// NB rebalance-start admin API is always coordinated from first pool's
    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top