Target Handler and SDK CRUDL & add|set|remove-host-sets methods. (#310)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-09-01 15:05:46 -07:00
1 parent 24ec9620ca
commit 544e78b593
27 files changed
+5688 -98

No files matched your search

+3
View File
@@ -84,6 +84,7 @@ func packageFromFullName(fullName protoreflect.FullName) string {
var (
stringValueName = (&wrapperspb.StringValue{}).ProtoReflect().Descriptor().FullName()
boolValueName = (&wrapperspb.BoolValue{}).ProtoReflect().Descriptor().FullName()
uInt32ValueName = (&wrapperspb.UInt32Value{}).ProtoReflect().Descriptor().FullName()
structValueName = (&_struct.Struct{}).ProtoReflect().Descriptor().FullName()
timestampName = (&timestamppb.Timestamp{}).ProtoReflect().Descriptor().FullName()
)
@@ -94,6 +95,8 @@ func messageKind(fd protoreflect.FieldDescriptor) (ptr, pkg, name string) {
return "", "", "string"
case boolValueName:
return "", "", "bool"
case uInt32ValueName:
return "", "", "uint32"
case structValueName:
return "", "", "map[string]interface{}"
case timestampName: