Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *Transformer)
Option is a registry instance option.
func WithIncludePublishedOperations ¶ added in v1.0.0
WithIncludePublishedOperations sets optional include published operations flag.
func WithIncludeUnpublishedOperations ¶ added in v1.0.0
WithIncludeUnpublishedOperations sets optional include unpublished operations flag.
func WithKeyContext ¶ added in v0.7.0
WithKeyContext sets optional key context.
func WithMethodContext ¶
WithMethodContext sets optional method context(s).
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
Transformer is responsible for transforming internal to external document.
func (*Transformer) TransformDocument ¶
func (t *Transformer) TransformDocument(rm *protocol.ResolutionModel, info protocol.TransformationInfo) (*document.ResolutionResult, error)
TransformDocument takes internal resolution model and transformation info and creates external representation of document (resolution result).
Click to show internal directories.
Click to hide internal directories.