generator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 BuildFromScalaField

func BuildFromScalaField(field pgs.Field) (component.Component, error)

func BuildFromScalaWellKnownField

func BuildFromScalaWellKnownField(field pgs.Field) (component.Component, error)

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 IsScalaKind(field pgs.Field) bool

func IsWellKnownKind

func IsWellKnownKind(field pgs.Field) bool

Types

type ScalaKind

type ScalaKind struct {
	// contains filtered or unexported fields
}

func ToScalaKind

func ToScalaKind(field pgs.Field) *ScalaKind

type WellKnownKind

type WellKnownKind struct {
	// contains filtered or unexported fields
}

func ToWellKnownKind

func ToWellKnownKind(field pgs.Field) *WellKnownKind

Jump to

Keyboard shortcuts

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