Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for examples (0.17 sec)

  1. cmd/globals.go

    	//
    	// ```
    	//    The canonical user ID is the Amazon S3–only concept.
    	//    It is 64-character obfuscated version of the account ID.
    	// ```
    	// http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html
    	globalMinioDefaultOwnerID      = "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
    	globalMinioDefaultStorageClass = "STANDARD"
    	globalWindowsOSName            = "windows"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		c.Fatalf("policy add error: %v", err)
    	}
    
    	ldapID := cr.LDAPIdentity{
    		Client:       s.TestSuiteCommon.client,
    		STSEndpoint:  s.endPoint,
    		LDAPUsername: "svc.algorithm",
    		LDAPPassword: "example",
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create STS cred with no associated policy!")
    	}
    
    	mustNormalizeDN := func(dn string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    //   - BytesReturned => Current number of bytes of records payload data returned by S3.
    //
    // For uncompressed files, BytesScanned and BytesProcessed are equal.
    //
    // Example:
    //
    // <?xml version="1.0" encoding="UTF-8"?>
    // <Progress>
    //
    //	<BytesScanned>512</BytesScanned>
    //	<BytesProcessed>1024</BytesProcessed>
    //	<BytesReturned>1024</BytesReturned>
    //
    // </Progress>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwt.go

    			if _, ok := claims[k]; !ok { // only add to claims not update it.
    				claims[k] = v
    			}
    		}
    	}
    	return nil
    }
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  5. cmd/iam.go

    	// Calculate the waitInterval between periodic refreshes so that each server
    	// independently picks a (uniformly distributed) random time in an interval
    	// of size = baseInterval.
    	//
    	// For example:
    	//
    	//    - if baseInterval=10s, then 5s <= waitInterval() < 15s
    	//
    	//    - if baseInterval=10m, then 5m <= waitInterval() < 15m
    	waitInterval := func() time.Duration {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. internal/s3select/select_test.go

    			wantResult: `{"_1":3}`,
    		},
    		{
    			name:       "date_diff_month_neg",
    			query:      `SELECT date_diff(MONTH, '2020-01-20T', '2019-10-20T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":-3}`,
    		},
    		// Examples from https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-glacier-select-sql-reference-date.html#s3-glacier-select-sql-reference-date-diff
    		{
    			name:       "date_diff_year",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. docs/debugging/pprofgoparser/main.go

    					record = true
    				} else {
    					skip = true
    				}
    			}
    		}
    	}
    
    	return ret, nil
    }
    
    const helpUsage = `
    
    At least one argument is required to run this tool.
    
    EXAMPLE:
         ./pprofgoparser --time 50m --margin 1m /path/to/*-goroutines-before,debug=2.txt
    `
    
    func main() {
    	flag.Parse()
    
    	if len(flag.Args()) == 0 {
    		log.Fatal(helpUsage)
    	}
    
    	var err error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	}
    
    	initAllSubsystems(ctx)
    	initConfigSubsystem(ctx, objLayer)
    
    	globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
    
    	req, err := newTestRequest(http.MethodGet, "http://example.com:9000/bucket/object", 0, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = signRequestV4(req, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses.go

    	return ep, nil
    }
    
    // GetAllSets - parses all ellipses input arguments, expands them into
    // corresponding list of endpoints chunked evenly in accordance with a
    // specific set size.
    // For example: {1...64} is divided into 4 sets each of size 16.
    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    		// md5Sum tag is kept for backward compatibility.
    		etag = metadata["md5Sum"]
    	}
    	// Success.
    	return etag
    }
    
    // HasPrefix - Prefix matcher string matches prefix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasPrefix(s string, prefix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return stringsHasPrefixFold(s, prefix)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top