Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for keyAsStruct (0.12 sec)

  1. istioctl/pkg/describe/describe.go

    func (v *myProtoValue) keyAsStruct(key string) *myProtoValue {
    	if v == nil || v.GetStructValue() == nil {
    		return asMyProtoValue(&structpb.Struct{Fields: make(map[string]*structpb.Value)})
    	}
    
    	return &myProtoValue{v.GetStructValue().Fields[key]}
    }
    
    // asMyProtoValue wraps a protobuf Struct so we may use it with keyAsStruct and keyAsString
    func asMyProtoValue(s *structpb.Struct) *myProtoValue {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top