Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for structpb (0.29 sec)

  1. pilot/pkg/model/telemetry_logging_test.go

    		{
    			name: "with-metadata",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    					"key1": {Kind: &structpb.Value_StringValue{StringValue: "%METADATA(CLUSTER:istio)%"}},
    				},
    			},
    			expected: []*core.TypedExtensionConfig{
    				metadataFormatter,
    			},
    		},
    		{
    			name: "with-both",
    			json: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    func asMyProtoValue(s *structpb.Struct) *myProtoValue {
    	return &myProtoValue{
    		&structpb.Value{
    			Kind: &structpb.Value_StructValue{
    				StructValue: s,
    			},
    		},
    	}
    }
    
    func (v *myProtoValue) keyAsString(key string) string {
    	s := v.keyAsStruct(key)
    	return s.GetStringValue()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    				Phase:    extensions.PluginPhase_AUTHN,
    				Priority: &wrapperspb.Int32Value{Value: 10},
    				Url:      "file:///etc/istio/filters/authn.wasm",
    				PluginConfig: &structpb.Struct{
    					Fields: map[string]*structpb.Value{
    						"test": {
    							Kind: &structpb.Value_StringValue{StringValue: "test"},
    						},
    					},
    				},
    				Sha256: "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2",
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    		}
    	}
    	return store
    }
    
    func buildPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    	_ = protomarshal.UnmarshalString(config, val)
    	return val
    }
    
    // nolint: unparam
    func buildGolangPatchStruct(config string) *structpb.Struct {
    	val := &structpb.Struct{}
    	_ = protomarshal.Unmarshal([]byte(config), val)
    	return val
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. src/reflect/type.go

    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    }
    
    // ptrType represents a pointer type.
    type ptrType struct {
    	abi.PtrType
    }
    
    // sliceType represents a slice type.
    type sliceType struct {
    	abi.SliceType
    }
    
    // Struct field
    type structField = abi.StructField
    
    // structType represents a struct type.
    type structType struct {
    	abi.StructType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    typedef unsigned char byte;
    typedef intptr_t intgo;
    
    struct __go_string {
    	const unsigned char *__data;
    	intgo __length;
    };
    
    typedef struct __go_open_array {
    	void* __values;
    	intgo __count;
    	intgo __capacity;
    } Slice;
    
    struct __go_string __go_byte_array_to_string(const void* p, intgo len);
    struct __go_open_array __go_string_to_byte_array (struct __go_string str);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/zero_test.go

    	if a != want {
    		t.Errorf("zero1025 got=%v, want %v\n", a, want)
    	}
    }
    
    type Z8u1 struct {
    	b   bool
    	val [8]byte
    }
    type Z8u2 struct {
    	i   uint16
    	val [8]byte
    }
    
    //go:noinline
    func zero8u1_ssa(t *Z8u1) {
    	t.val = [8]byte{}
    }
    
    //go:noinline
    func zero8u2_ssa(t *Z8u2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 49.6K bytes
    - Viewed (0)
  8. src/html/template/exec_test.go

    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    	U *U
    	// Struct with String method.
    	V0     V
    	V1, V2 *V
    	// Struct with Error method.
    	W0     W
    	W1, W2 *W
    	// Slices
    	SI      []int
    	SICap   []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestRealHistory_CreateControllerRevision(t *testing.T) {
    	type testcase struct {
    		name     string
    		parent   metav1.Object
    		revision *apps.ControllerRevision
    		existing []struct {
    			parent   metav1.Object
    			revision *apps.ControllerRevision
    		}
    		rename bool
    	}
    	testFn := func(test *testcase, t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // Conventions:
    // * We use the prefix TF_ for everything in the API.
    // * Objects are always passed around as pointers to opaque structs
    //   and these structs are allocated/deallocated via the API.
    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top