Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for ctx (0.05 sec)

  1. cmd/admin-handlers-users.go

    	if globalIAMSys.LDAPConfig.Enabled() {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errIAMActionNotAllowed), r.URL)
    		return
    	}
    
    	updatedAt, err := globalIAMSys.CreateUser(ctx, accessKey, ureq)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemIAMUser,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		default:
    			writeErrorResponseJSON(ctx, w, toAPIError(ctx, errors.New("job ID format unrecognized")), r.URL)
    			return
    		}
    	}
    
    	ri := &batchJobInfo{}
    	if err := ri.load(ctx, objectAPI, req); err != nil {
    		if !errors.Is(err, errNoSuchJob) {
    			batchLogIf(ctx, err)
    		}
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	getBucketInfo := objectAPI.GetBucketInfo
    
    	if _, err := getBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Generate response.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* m = TestMatrixTensorHandle(ctx);
      for (auto s : state) {
        TFE_Op* matmul = MatMulOp(ctx, m, m);
        TFE_DeleteOp(matmul);
      }
      TFE_DeleteTensorHandle(m);
      TFE_DeleteContext(ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    			return ListObjectsInfo{}, err
    		}
    		if contextCanceled(ctx) {
    			return ListObjectsInfo{}, ctx.Err()
    		}
    	}
    	return listFn(ctx, opts, maxKeys)
    }
    
    func (z *erasureServerPools) ListMultipartUploads(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (ListMultipartsInfo, error) {
    	if err := checkListMultipartArgs(ctx, bucket, prefix, keyMarker, uploadIDMarker, delimiter); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	dillonClient := makeSTSClient("******@****.***", "dillon")
    	// Validate client's permissions
    	c.mustListBuckets(ctx, dillonClient)
    	c.mustListObjects(ctx, dillonClient, "projecta")
    	c.mustListObjects(ctx, dillonClient, "projectb")
    	c.mustListObjects(ctx, dillonClient, "projectaorb")
    	c.mustNotListObjects(ctx, dillonClient, "other")
    
    	// this user's groups attribute is ["projectb"]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. cmd/iam.go

    					sys.purgeExpiredCredentialsForLDAP(ctx)
    					sys.updateGroupMembershipsForLDAP(ctx)
    				}
    				if sys.OpenIDConfig.ProviderEnabled() {
    					sys.purgeExpiredCredentialsForExternalSSO(ctx)
    				}
    			}
    
    			timer.Reset(waitInterval())
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func (sys *IAMSys) validateAndAddRolePolicyMappings(ctx context.Context, m map[arn.ARN]string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    		_, err = objLayer.HealObject(ctx, bucket, object, "", hopts)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    		if countErrs(errs, nil) != len(fileInfos) {
    			t.Fatal("Expected all xl.meta healed, but partial heal detected")
    		}
    
    		fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", minioMetaBucket, cfgFile, "", false, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    	configCmd.AddCommand(clusterConfigCmd(ctx))
    	configCmd.AddCommand(allConfigCmd(ctx))
    	configCmd.AddCommand(listenerConfigCmd(ctx))
    	configCmd.AddCommand(logCmd(ctx))
    	configCmd.AddCommand(routeConfigCmd(ctx))
    	configCmd.AddCommand(bootstrapConfigCmd(ctx))
    	configCmd.AddCommand(endpointConfigCmd(ctx))
    	configCmd.AddCommand(edsConfigCmd(ctx))
    	configCmd.AddCommand(secretConfigCmd(ctx))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	}
    	return false
    }
    
    func readAllXL(ctx context.Context, disks []StorageAPI, bucket, object string, readData, inclFreeVers bool) ([]FileInfo, []error) {
    	rawFileInfos, errs := readAllRawFileInfo(ctx, disks, bucket, object, readData)
    	return pickLatestQuorumFilesInfo(ctx, rawFileInfos, errs, bucket, object, readData, inclFreeVers)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top