genutils

package
v0.0.0-...-4092e8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL