Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getProtoMessageType (0.28 sec)

  1. pkg/config/schema/resource/schema.go

    	return config.GroupVersionKind{
    		Group:   in.Group,
    		Version: in.Version,
    		Kind:    in.Kind,
    	}
    }
    
    // getProtoMessageType returns the Go lang type of the proto with the specified name.
    func getProtoMessageType(protoMessageName string) reflect.Type {
    	t, err := protoMessageType(protoreflect.FullName(protoMessageName))
    	if err != nil || t == nil {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. pkg/adsc/delta.go

    		}
    	}
    	handler, f := c.handlers[typeURL]
    	if !f {
    		deltaLog.Warnf("ignoring unknown type %v", typeURL)
    		return nil
    	}
    	handler(ctx, res, event)
    	return nil
    }
    
    // getProtoMessageType returns the Golang type of the proto with the specified name.
    func newProto(tt string) proto.Message {
    	name := protoreflect.FullName(strings.TrimPrefix(tt, resource.APITypePrefix))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top