Documentation ¶
Index ¶
- type ExtensionProcessor
- type FetchExtensionsAndStoreCache
- type LoadExtensionCache
- type Transformer
- func (transformer *Transformer) Close(ctx context.Context) error
- func (transformer *Transformer) Init() error
- func (transformer *Transformer) Options() manager.Options
- func (transformer *Transformer) Start(ctx context.Context) error
- func (transformer *Transformer) Transform(ctx context.Context, trace *model.Trace, rootObject *utilobject.Key, ...) error
- type TransformerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionProcessor ¶
type FetchExtensionsAndStoreCache ¶
type FetchExtensionsAndStoreCache struct {
Cache []tracecache.ExtensionCache
}
func (*FetchExtensionsAndStoreCache) ProcessExtensions ¶
type LoadExtensionCache ¶
type LoadExtensionCache struct {
Cache []tracecache.ExtensionCache
}
func (*LoadExtensionCache) ProcessExtensions ¶
type Transformer ¶
type Transformer struct { Logger logrus.FieldLogger Configs tfconfig.Provider ExtensionFactory *manager.List[extension.ProviderFactory] // contains filtered or unexported fields }
func (*Transformer) Init ¶
func (transformer *Transformer) Init() error
func (*Transformer) Options ¶
func (transformer *Transformer) Options() manager.Options
func (*Transformer) Transform ¶
func (transformer *Transformer) Transform( ctx context.Context, trace *model.Trace, rootObject *utilobject.Key, configId tfconfig.Id, extensionProcessor ExtensionProcessor, start, end time.Time, ) error
type TransformerOptions ¶
type TransformerOptions struct{}
func (*TransformerOptions) EnableFlag ¶
func (options *TransformerOptions) EnableFlag() *bool
func (*TransformerOptions) Setup ¶
func (options *TransformerOptions) Setup(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.