- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for Id (0.34 sec)
-
src/database/sql/sql_test.go
for i := 0; i < 5; i++ { id := i + 1 if err := db.QueryRow("SELECT|t|nullf|id=?", id).Scan(bindVal); err != nil { t.Errorf("id=%d Scan: %v", id, err) } bindValDeref := reflect.ValueOf(bindVal).Elem().Interface() if !reflect.DeepEqual(bindValDeref, spec.rows[i].scanNullVal) { t.Errorf("id=%d got %#v, want %#v", id, bindValDeref, spec.rows[i].scanNullVal) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
} }) } } func podWithID(id, desiredHost string) *v1.Pod { return st.MakePod().Name(id).UID(id).Node(desiredHost).SchedulerName(testSchedulerName).Obj() } func deletingPod(id string) *v1.Pod { return st.MakePod().Name(id).UID(id).Terminating().Node("").SchedulerName(testSchedulerName).Obj() } func podWithPort(id, desiredHost string, port int) *v1.Pod {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
cmd/server_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
) // parseGetSubIdsOutput parses the output from the `getsubids` tool, which is used to query subordinate user or group ID ranges for // a given user or group. getsubids produces a line for each mapping configured. // Here we expect that there is a single mapping, and the same values are used for the subordinate user and group ID ranges. // The output is something like: // $ getsubids kubelet // 0: kubelet 65536 2147483648 // $ getsubids -g kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
src/net/http/transport_test.go
} if res.StatusCode != wantCode { t.Fatalf("%s: Response Statuscode=%d; want %d", name, res.StatusCode, wantCode) } if id, idBack := req.Header.Get("Request-Id"), res.Header.Get("Echo-Request-Id"); id != "" && id != idBack { t.Errorf("%s: response id %q != request id %q", name, idBack, id) } _, err = io.ReadAll(res.Body) if err != nil { t.Fatalf("%s: Slurp error: %v", name, err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
generated := fmt.Sprintf("%s%d", base, m.seq) m.seq++ return generated } func TestStoreCreateWithRetryNameGenerate(t *testing.T) { namedObj := func(id int) *example.Pod { return &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("prefix-%d", id), Namespace: "test"}, Spec: example.PodSpec{NodeName: "machine"}, } } generateNameObj := &example.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/database/sql/sql.go
// NullString represents a string that may be null. // NullString implements the [Scanner] interface so // it can be used as a scan destination: // // var s NullString // err := db.QueryRow("SELECT name FROM foo WHERE id=?", id).Scan(&s) // ... // if s.Valid { // // use s.String // } else { // // NULL value // } type NullString struct { String string Valid bool // Valid is true if String is not NULL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_builder_test.go
Attributes: model.ServiceAttributes{ Name: "TestService", Namespace: "test-ns", }, } buildMetadata := func(networkID network.ID, tlsMode, workloadname, namespace string, clusterID istiocluster.ID, lbls labels.Instance, ) *core.Metadata { newmeta := &core.Metadata{} util.AppendLbEndpointMetadata(&model.EndpointMetadata{ Network: networkID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
}, claims: fmt.Sprintf(`{ "iss": "https://auth.example.com", "aud": "my-client", "username": "jane", "exp": %d }`, valid.Unix()), wantErr: "oidc: required claim hd not present in ID token", }, { name: "invalid-required-claim", options: Options{ JWTAuthenticator: apiserver.JWTAuthenticator{ Issuer: apiserver.Issuer{ URL: "https://auth.example.com",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
kl.getCheckpointsDir(), fmt.Sprintf( "checkpoint-%s-%s-%s.tar", podFullName, containerName, time.Now().Format(time.RFC3339), ), ) options.ContainerId = string(container.ID.ID) if err := kl.containerRuntime.CheckpointContainer(ctx, options); err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)