Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for carlet (0.15 sec)

  1. cmd/test-utils_test.go

    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    // Assumes that c.Lock is held by caller.
    func (c *iamCache) buildUserGroupMemberships() {
    	for group, gi := range c.iamGroupsMap {
    		c.updateGroupMembershipsMap(group, &gi)
    	}
    }
    
    // updateGroupMembershipsMap - updates the memberships map for a
    // group. IMPORTANT: Assumes c.Lock() is held by caller.
    func (c *iamCache) updateGroupMembershipsMap(group string, gi *GroupInfo) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/xl-storage.go

    	if !immediatePurge && s.diskAlmostFilled() {
    		immediatePurge = true
    	}
    
    	// immediately purge the target
    	if immediatePurge {
    		for _, target := range []string{
    			targetPath,
    			targetPath2,
    		} {
    			if target == "" {
    				continue
    			}
    			select {
    			case s.immediatePurge <- target:
    			default:
    				// Too much back pressure, we will perform the delete
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    		// uploadIds [4-9].
    		uploadIDs = append(uploadIDs, res.UploadID)
    	}
    	// Create multipart parts.
    	// Need parts to be uploaded before MultipartLists can be called and tested.
    	createPartCases := []struct {
    		bucketName      string
    		objName         string
    		uploadID        string
    		PartID          int
    		inputReaderData string
    		inputMd5        string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/iam.go

    	}
    	return roleArn, rolePolicy, nil
    }
    
    // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true
    // whenever this is called via the API. It is false when called via a
    // notification from another peer. This is to avoid infinite loops.
    func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error {
    	if !sys.Initialized() {
    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. cmd/erasure-object.go

    				offline++
    			}
    		}
    		if offline > 0 {
    			tags["offline"] = offline
    		}
    
    		_, file, line, cok := runtime.Caller(1)
    		if cok {
    			tags["caller"] = fmt.Sprintf("%s:%d", file, line)
    		}
    
    		defer auditDanglingObjectDeletion(ctx, bucket, object, m.VersionID, tags)
    
    		err = errFileNotFound
    		if opts.VersionID != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/erasure-server-pool.go

    		return mtime1.After(mtime2)
    	})
    
    	defPool := PoolObjInfo{Index: -1}
    	for _, pinfo := range poolObjInfos {
    		// skip all objects from suspended pools if asked by the
    		// caller.
    		if opts.SkipDecommissioned && z.IsSuspended(pinfo.Index) {
    			continue
    		}
    		// Skip object if it's from pools participating in a rebalance operation.
    		if opts.SkipRebalancing && z.IsPoolRebalancing(pinfo.Index) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Validate that admin APIs can be called - create an madmin client with
    	// user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    		Creds:  cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    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)
  9. istioctl/pkg/describe/describe.go

    // When the config has no selector labels, this method will treat it as qualified namespace level
    // config. So configs passed into this method should only contains workload's namespaces configs
    // and rootNamespaces configs, caller should be responsible for controlling configs passed
    // in.
    func findMatchedConfigs(podsLabels klabels.Set, configs []*config.Config) []*config.Config {
    	var cfgs []*config.Config
    
    	for _, cfg := range configs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    		_, isRegularUser := globalIAMSys.GetUser(ctx, targetUser)
    		if !isRegularUser && targetUser != globalActiveCred.AccessKey {
    			apiErr := toAdminAPIErr(ctx, errNoSuchUser)
    			apiErr.Description = fmt.Sprintf("Specified target user %s does not exist", targetUser)
    			writeErrorResponseJSON(ctx, w, apiErr, r.URL)
    			return
    		}
    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    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)
Back to top