Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for top (0.13 sec)

  1. cmd/server-main.go

    	// we wrap the underlying error, make sure when you
    	// are modifying this code that you do so, if and when
    	// you want to add extra context to your error. This
    	// ensures top level retry works accordingly.
    
    	// Initialize config system.
    	if err := globalConfigSys.Init(newObject); err != nil {
    		if configRetriableErrors(err) {
    			return fmt.Errorf("Unable to initialize config system: %w", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  2. internal/config/config.go

    	NameKey    = "name"
    	RegionName = "name"
    	AccessKey  = "access_key"
    	SecretKey  = "secret_key"
    	License    = "license" // Deprecated Dec 2021
    	APIKey     = "api_key"
    	Proxy      = "proxy"
    )
    
    // Top level config constants.
    const (
    	PolicyOPASubSys      = madmin.PolicyOPASubSys
    	PolicyPluginSubSys   = madmin.PolicyPluginSubSys
    	IdentityOpenIDSubSys = madmin.IdentityOpenIDSubSys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	policyDBPrefix          = "policydb/"
    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    // splitPath splits a path into a top-level directory and a child item. The
    // parent directory retains the trailing slash.
    func splitPath(s string, lastIndex bool) (string, string) {
    	var i int
    	if lastIndex {
    		i = strings.LastIndex(s, "/")
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	// Our result
    	merged = make([]xlMetaV2ShallowVersion, 0, len(versions[0]))
    	tops := make([]xlMetaV2ShallowVersion, len(versions))
    	for {
    		// Step 1 create slice with all top versions.
    		tops = tops[:0]
    		var topSig xlMetaV2VersionHeader
    		consistent := true // Are all signatures consistent (shortcut)
    		for _, vers := range versions {
    			if len(vers) == 0 {
    				consistent = false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  5. cmd/batch-handlers.go

    						return true
    					}
    				}
    			}
    
    			// None of the provided metadata filters match skip the object.
    			return false
    		}
    
    		// if one of source or target is non MinIO, just replicate the top most version like `mc mirror`
    		return !((r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3) && !info.IsLatest)
    	}
    
    	u, err := url.Parse(r.Target.Endpoint)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.TopLocksAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	count := 10 // by default list only top 10 entries
    	if countStr := r.Form.Get("count"); countStr != "" {
    		var err error
    		count, err = strconv.Atoi(countStr)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    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)
  7. src/cmd/cgo/doc.go

    generated by cgo. A typical preamble #includes necessary definitions:
    
    	// #include <stdio.h>
    	import "C"
    
    For more details about the usage of cgo, see the documentation
    comment at the top of this file.
    
    Understanding C
    
    Cgo scans the Go source files that import "C" for uses of that
    package, such as C.puts. It collects all such identifiers. The next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top