Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DubboResourceForMessage ¶
func DubboResourceForMessage(desc protoreflect.MessageDescriptor) *mesh.DubboResourceOptions
DubboResourceForMessage fetches the Dubbo resource option out of a message.
func SelectorsForMessage ¶
func SelectorsForMessage(m protoreflect.MessageDescriptor) []string
SelectorsForMessage finds all the top-level fields in the message are repeated selectors. We want to generate convenience accessors for these.
Types ¶
type ResourceInfo ¶
type ResourceInfo struct {
ResourceName string
ResourceType string
ProtoType string
Selectors []string
SkipRegistration bool
SkipKubernetesWrappers bool
ScopeNamespace bool
Global bool
DubboctlSingular string
DubboctlPlural string
WsReadOnly bool
WsAdminOnly bool
WsPath string
DdsDirection string
AllowToInspect bool
StorageVersion bool
IsPolicy bool
SingularDisplayName string
PluralDisplayName string
IsExperimental bool
AdditionalPrinterColumns []string
HasInsights bool
}
func ToResourceInfo ¶
func ToResourceInfo(desc protoreflect.MessageDescriptor) ResourceInfo
Click to show internal directories.
Click to hide internal directories.