Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for admin (0.23 sec)

  1. 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 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-heal-ops.go

    	FailureDetail string            `json:"Detail,omitempty"`
    	StartTime     time.Time         `json:"StartTime"`
    
    	// settings for the heal sequence
    	HealSettings madmin.HealOpts `json:"Settings"`
    
    	// slice of available heal result records
    	Items []madmin.HealResultItem `json:"Items"`
    }
    
    // structure to hold state of all heal sequences in server memory
    type allHealState struct {
    	sync.RWMutex
    
    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)
  3. cmd/admin-bucket-handlers.go

    	case bucketLifecycleConfig:
    		st.Lifecycle = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketSSEConfig:
    		st.SSEConfig = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketTaggingConfig:
    		st.Tagging = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketQuotaConfigFile:
    		st.Quota = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case objectLockConfig:
    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)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers-config-kv.go

    		return
    	}
    
    	password := cred.SecretKey
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // HelpConfigKVHandler - GET /minio/admin/v3/help-config-kv?subSys={subSys}&key={key}
    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)
  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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top