Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for linting (0.14 sec)

  1. tests/query_test.go

    	if len(results2) != 0 {
    		t.Errorf("Search all records with inline map containing null value finding 0 records")
    	}
    
    	DB.Find(&results2, map[string]interface{}{"name": users[0].Name, "company_id": nil})
    	if len(results2) != 1 {
    		t.Errorf("Search all records with inline map containing null value finding 1 record")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	cred, owner, s3Err := validateAdminSignature(ctx, r, "")
    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	var targetAccount string
    
    	// If listing is requested for a specific user (who is not the request
    	// sender), check that the user has permissions.
    	user := r.Form.Get("user")
    	if user != "" && user != cred.AccessKey {
    		if !globalIAMSys.IsAllowed(policy.Args{
    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)
  3. cmd/object-handlers_test.go

    	}
    	err = xml.Unmarshal(mpartRespBytes, &mpartResp)
    	if err != nil {
    		t.Fatalf("[%s] Failed to unmarshal NewMultipartUpload response <ERROR> %v", instanceType, err)
    	}
    
    	// Upload a part for listing purposes.
    	rec = httptest.NewRecorder()
    	req, err = newTestSignedRequestV4(http.MethodPut,
    		getPutObjectPartURL("", bucketName, testObject, mpartResp.UploadID, "1"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    code can only be used as a dynamic library). On the other hand, when
    using internal linking, cmd/link can generate Go binaries by itself.
    
    In order to allow linking arbitrary object files without requiring
    dynamic libraries, cgo supports an "external" linking mode too. In
    external linking mode, cmd/link does not process any host object files.
    Instead, it collects all the Go code and writes a single go.o object
    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)
  5. cmd/api-response_test.go

    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    				Host: "s3.mybucket.org",
    				Header: map[string][]string{
    					"X-Forwarded-Scheme": {httpScheme},
    				},
    			},
    			bucket:           "mybucket",
    			object:           "test/1.txt",
    			expectedLocation: "http://s3.mybucket.org/mybucket/test/1.txt",
    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. cmd/metacache-marker.go

    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    		return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion)
    	}
    	if strings.ContainsAny(o.ID, "[:,") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. docs/sts/ldap.go

    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/revision.go

    	// In this case, it is possible that they only have webhooks installed.
    	webhooks, err := Webhooks(context.Background(), client)
    	if err != nil {
    		return nil, fmt.Errorf("error while listing mutating webhooks: %v", err)
    	}
    	for _, hook := range webhooks {
    		rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName)
    		tagLabel := hook.GetLabels()[IstioTagLabel]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/google.go

    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    	creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform")
    	if err != nil {
    		return nil, fmt.Errorf("finding default GCP credentials: %w", err)
    	}
    	return &oauth2.Transport{
    		Base:   tr,
    		Source: creds.TokenSource,
    	}, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/iam-object-store.go

    		listKey, trimmedItem := splitPath(item.Item, lastIndex)
    		if listKey == iamFormatFile {
    			continue
    		}
    
    		res[listKey] = append(res[listKey], trimmedItem)
    	}
    	// Store the listing for later re-use.
    	iamOS.cachedIAMListing.Store(res)
    	return res, nil
    }
    
    // PurgeExpiredSTS - purge expired STS credentials from object store.
    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)
Back to top