Documentation ¶
Index ¶
- Variables
- func BuildFromMapField(ctx *graph.HierarchicalContext, mapField *graph.MapFieldDescriptor, ...) component.Component
- func BuildFromOneOfField(ctx *graph.HierarchicalContext, oneOf *graph.OneOfFieldDescriptor, ...) component.Component
- func BuildFromScalaField(field pgs.Field) (component.Component, error)
- func BuildFromScalaWellKnownField(field pgs.Field) (component.Component, error)
- func ConcreteBaseComponentOptions(field pgs.Field, fo *protoptions.FieldOptions) component.BaseComponentOptions
- func ConcreteBaseComponentOptionsFromOneOf(oneOf pgs.OneOf, oo *protoptions.OneOfOptions) component.BaseComponentOptions
- func IsScalaKind(field pgs.Field) bool
- func IsWellKnownKind(field pgs.Field) bool
- type ScalaKind
- type WellKnownKind
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StringKind = ScalaKind{ // contains filtered or unexported fields } NumberKind = ScalaKind{ // contains filtered or unexported fields } BooleanKind = ScalaKind{ // contains filtered or unexported fields } EnumKind = ScalaKind{ // contains filtered or unexported fields } )
View Source
var ( BooleanRepeatedKind = WellKnownKind{ // contains filtered or unexported fields } StringRepeatedKind = WellKnownKind{ // contains filtered or unexported fields } JsonKind = WellKnownKind{ // contains filtered or unexported fields } AnyKind = WellKnownKind{ // contains filtered or unexported fields } TimestampKind = WellKnownKind{ // contains filtered or unexported fields } )
Functions ¶
func BuildFromMapField ¶
func BuildFromMapField(ctx *graph.HierarchicalContext, mapField *graph.MapFieldDescriptor, key component.Component, values component.Form) component.Component
func BuildFromOneOfField ¶
func BuildFromOneOfField(ctx *graph.HierarchicalContext, oneOf *graph.OneOfFieldDescriptor, forms component.OneOfForms) component.Component
func ConcreteBaseComponentOptions ¶
func ConcreteBaseComponentOptions(field pgs.Field, fo *protoptions.FieldOptions) component.BaseComponentOptions
func ConcreteBaseComponentOptionsFromOneOf ¶
func ConcreteBaseComponentOptionsFromOneOf(oneOf pgs.OneOf, oo *protoptions.OneOfOptions) component.BaseComponentOptions
func IsScalaKind ¶
func IsWellKnownKind ¶
Types ¶
type ScalaKind ¶
type ScalaKind struct {
// contains filtered or unexported fields
}
func ToScalaKind ¶
type WellKnownKind ¶
type WellKnownKind struct {
// contains filtered or unexported fields
}
func ToWellKnownKind ¶
func ToWellKnownKind(field pgs.Field) *WellKnownKind
Click to show internal directories.
Click to hide internal directories.