Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
func RegisterProvider(name string, constructor ProviderConstructor) error
RegisterProvider registers a log provider.
Types ¶
type Provider ¶
type Provider interface {
Query(ctx context.Context, query schema.LogQuery) (schema.LogEntries, error)
}
Provider defines the capability surface for log adapters.
type ProviderConstructor ¶
ProviderConstructor builds a log provider from decrypted configuration.
func LookupProvider ¶
func LookupProvider(name string) (ProviderConstructor, bool)
LookupProvider returns a registered provider constructor by name.
Click to show internal directories.
Click to hide internal directories.