Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for structpb (0.16 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    				FilterMetadata: map[string]*structpb.Struct{
    					util.IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"services": {
    								Kind: &structpb.Value_ListValue{
    									ListValue: &structpb.ListValue{
    										Values: []*structpb.Value{
    											{
    												Kind: &structpb.Value_StructValue{
    													StructValue: &structpb.Struct{
    														Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    					FilterMetadata: map[string]*structpb.Struct{
    						util.IstioMetadataKey: {
    							Fields: map[string]*structpb.Value{
    								"services": {Kind: &structpb.Value_ListValue{ListValue: &structpb.ListValue{Values: []*structpb.Value{
    									{Kind: &structpb.Value_StructValue{StructValue: &structpb.Struct{Fields: map[string]*structpb.Value{
    										"host": {
    											Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	{struct{ x int32 }{}, "int32"},
    	{struct{ x int64 }{}, "int64"},
    	{struct{ x uint }{}, "uint"},
    	{struct{ x uint8 }{}, "uint8"},
    	{struct{ x uint16 }{}, "uint16"},
    	{struct{ x uint32 }{}, "uint32"},
    	{struct{ x uint64 }{}, "uint64"},
    	{struct{ x float32 }{}, "float32"},
    	{struct{ x float64 }{}, "float64"},
    	{struct{ x int8 }{}, "int8"},
    	{struct{ x (**int8) }{}, "**int8"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    	</li>
    </ul>
    
    <p>
    <a href="#Struct_types">Struct tags</a> are ignored when comparing struct types
    for identity for the purpose of conversion:
    </p>
    
    <pre>
    type Person struct {
    	Name    string
    	Address *struct {
    		Street string
    		City   string
    	}
    }
    
    var data *struct {
    	Name    string `json:"name"`
    	Address *struct {
    		Street string `json:"street"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework_test.go

    type PluginNotImplementingScore struct{}
    
    func (pl *PluginNotImplementingScore) Name() string {
    	return pluginNotImplementingScore
    }
    
    func newTestPlugin(_ context.Context, injArgs runtime.Object, f framework.Handle) (framework.Plugin, error) {
    	return &TestPlugin{name: testPlugin}, nil
    }
    
    // TestPlugin implements all Plugin interfaces.
    type TestPlugin struct {
    	name string
    	inj  injectedResult
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  6. pkg/api/pod/util_test.go

    		extractedNames.Insert(name)
    		return true
    	}, AllContainers)
    
    	// excludedSecretPaths holds struct paths to fields with "secret" in the name that are not actually references to secret API objects
    	excludedSecretPaths := sets.New[string](
    		"Spec.Volumes[*].VolumeSource.CephFS.SecretFile",
    	)
    	// expectedSecretPaths holds struct paths to fields with "secret" in the name that are references to secret API objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/garbagecollector_test.go

    	metadataClient, err := metadata.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	podResource := map[schema.GroupVersionResource]struct{}{
    		{Version: "v1", Resource: "pods"}: {},
    	}
    	twoResources := map[schema.GroupVersionResource]struct{}{
    		{Version: "v1", Resource: "pods"}:                     {},
    		{Group: "tpr.io", Version: "v1", Resource: "unknown"}: {},
    	}
    	client := fake.NewSimpleClientset()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    	prepares0 := numPrepares(t, db)
    	rows, err := db.Query("SELECT|people|age,name|;SELECT|people|name|")
    	if err != nil {
    		t.Fatalf("Query: %v", err)
    	}
    	type row1 struct {
    		age  int
    		name string
    	}
    	type row2 struct {
    		name string
    	}
    	got1 := []row1{}
    	for rows.Next() {
    		var r row1
    		err = rows.Scan(&r.age, &r.name)
    		if err != nil {
    			t.Fatalf("Scan: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    	errPrioritize         = fmt.Errorf("priority map encounters an error")
    )
    
    type mockScheduleResult struct {
    	result ScheduleResult
    	err    error
    }
    
    type fakeExtender struct {
    	isBinder          bool
    	interestedPodName string
    	ignorable         bool
    	gotBind           bool
    	errBind           bool
    	isPrioritizer     bool
    	isFilter          bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	disks := strings.Split(r.Form.Get("disks"), ",")
    	byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true")
    	var diskMap map[string]struct{}
    	if len(disks) > 0 && disks[0] != "" {
    		diskMap = make(map[string]struct{}, len(disks))
    		for _, k := range disks {
    			if k != "" {
    				diskMap[k] = struct{}{}
    			}
    		}
    	}
    	jobID := r.Form.Get("by-jobID")
    
    	hosts := strings.Split(r.Form.Get("hosts"), ",")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top