Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollapsedOptions ¶
type CollapsedOptions struct { Paths []string IgnoredFields map[string]struct{} Aliases map[string]Alias }
func NewCollapsedOptions ¶
func NewCollapsedOptions(opts []Option) CollapsedOptions
type Column ¶
type Column struct { Name string Description string Type string Resolver string CreationOptions *CreationOptions }
type CreationOptions ¶
type OneOfer ¶
type OneOfer interface {
GetOneOf() *desc.OneOfDescriptor
}
type Option ¶
type Option interface {
Apply(co *CollapsedOptions)
}
func WithIgnored ¶
func WithProtoPaths ¶
type TableBuilder ¶
type TableBuilder struct { Service string Resource string AbsolutePath string RelativePath string Multiplex string MessageDesc *desc.MessageDescriptor IgnoredFields map[string]struct{} Aliases map[string]Alias Field *expandedField Parent *TableBuilder }
func (*TableBuilder) Build ¶
func (tb *TableBuilder) Build() (*Table, error)
func (*TableBuilder) WithMessageFromProto ¶
func (tb *TableBuilder) WithMessageFromProto(messageName, pathToProto string, paths ...string) error
type UnimplementedAlias ¶
type UnimplementedAlias struct{}
func (UnimplementedAlias) ApplyToColumn ¶
func (u UnimplementedAlias) ApplyToColumn(*Column)
func (UnimplementedAlias) ApplyToTable ¶
func (u UnimplementedAlias) ApplyToTable(*Table)
Click to show internal directories.
Click to hide internal directories.