Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for admin (0.14 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-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 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

    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusConflict,
    			}
    
    		// Tier admin API errors
    		case errors.Is(err, madmin.ErrTierNameEmpty):
    			apiErr = APIError{
    				Code:           "XMinioAdminTierNameEmpty",
    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		case errors.Is(err, madmin.ErrTierInvalidConfig):
    			apiErr = APIError{
    				Code:           "XMinioAdminTierInvalidConfig",
    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

    	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)
  5. 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 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

    	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)
  8. 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)
  9. 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)
  10. cmd/admin-server-info.go

    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    )
    
    // getLocalServerProperty - returns madmin.ServerProperties for only the
    // local endpoints from given list of endpoints
    func getLocalServerProperty(endpointServerPools EndpointServerPools, r *http.Request, metrics bool) madmin.ServerProperties {
    	addr := globalLocalNodeName
    	if r != nil {
    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