Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Nelson (0.16 sec)

  1. schema/relationship_test.go

    func TestMultipleMany2Many(t *testing.T) {
    	type Thing struct {
    		ID int
    	}
    
    	type Person struct {
    		ID       int
    		Likes    []Thing `gorm:"many2many:likes"`
    		Dislikes []Thing `gorm:"many2many:dislikes"`
    	}
    
    	checkStructRelation(t, &Person{},
    		Relation{
    			Name: "Likes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "likes", Table: "likes"},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. docs/iam/identity-manager-plugin.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"net/http"
    )
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    		grpc.WithTransportCredentials(credentials.NewTLS(
    			&tls.Config{
    				// Always skip verifying, because without it we always get "certificate signed by unknown authority".
    				// We don't set the XDSSAN for the same reason.
    				InsecureSkipVerify: true,
    			})),
    		grpc.WithPerRPCCredentials(k8sCreds),
    	}, nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead.", i+1, instanceType, testCase.expectedError.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && !testCase.shouldPass {
    			if testCase.expectedError.Error() != actualErr.Error() {
    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. cni/pkg/iptables/iptables.go

    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    				t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if err != nil && !testCase.shouldPass {
    				if !strings.Contains(err.Error(), testCase.err.Error()) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

          }
        }
      ],
      "data": "asdascasdc1234e123erdasdas"
    }`,
    		},
    		{
    			name:       "limit-2",
    			query:      `select * from s3object[*].person[*] limit 1`,
    			wantResult: `{"Id":1,"Name":"Anshu","Address":"Templestowe","Car":"Jeep"}`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject_test.go

    					Reason:   "Namespace label istio-injection=enabled matches",
    				},
    				{
    					Name:     "istio-sidecar-injector-1-16",
    					Revision: "1-16",
    					Reason:   "No matching namespace labels (istio.io/rev=1-16) or pod labels (istio.io/rev=1-16)",
    				},
    				{
    					Name:     "istio-sidecar-injector-deactivated",
    					Revision: "default",
    					Reason:   "The injection webhook is deactivated, and will never match labels.",
    				},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  9. cmd/license-update.go

    		// will keep performing the license update. If the leader goes down for some
    		// reason, the lock will be released and another node will acquire it and
    		// take over because of this loop.
    		for {
    			licenceUpdaterLoop(ctx, objAPI)
    
    			// license update stopped for some reason.
    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/erasure-common.go

    			}
    			di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{})
    			if err != nil || di.Healing {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				//
    				// - Do not consume disks which are being healed
    				//
    				// - Future: skip busy disks
    				return
    			}
    
    			mu.Lock()
    			newDisks = append(newDisks, disks[i])
    			mu.Unlock()
    		}()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top