Documentation ¶
Index ¶
- Constants
- func New(provider abstract.ProviderType) ...
- func NewSinker(lgr log.Logger, config *StdoutDestination, registry metrics.Registry) abstract.Sinker
- type EmptySource
- func (*EmptySource) AllIncludes() []string
- func (*EmptySource) FulfilledIncludes(tID abstract.TableID) []string
- func (s *EmptySource) GetProviderType() abstract.ProviderType
- func (s *EmptySource) Include(tID abstract.TableID) bool
- func (EmptySource) IsSource()
- func (s *EmptySource) Validate() error
- func (EmptySource) WithDefaults()
- type Provider
- type StdoutDestination
- func (d *StdoutDestination) BuffererConfig() bufferer.BuffererConfig
- func (d *StdoutDestination) CleanupMode() server.CleanupType
- func (d *StdoutDestination) GetProviderType() abstract.ProviderType
- func (StdoutDestination) IsDestination()
- func (d *StdoutDestination) Transformer() map[string]string
- func (d *StdoutDestination) Validate() error
- func (StdoutDestination) WithDefaults()
Constants ¶
View Source
const ProviderType = abstract.ProviderType("empty")
View Source
const ProviderTypeStdout = abstract.ProviderType("stdout")
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(provider abstract.ProviderType) func(lgr log.Logger, registry metrics.Registry, cp coordinator.Coordinator, transfer *server.Transfer) providers.Provider
Types ¶
type EmptySource ¶
type EmptySource struct{}
func (*EmptySource) AllIncludes ¶
func (*EmptySource) AllIncludes() []string
func (*EmptySource) FulfilledIncludes ¶
func (*EmptySource) FulfilledIncludes(tID abstract.TableID) []string
func (*EmptySource) GetProviderType ¶
func (s *EmptySource) GetProviderType() abstract.ProviderType
func (EmptySource) IsSource ¶
func (EmptySource) IsSource()
func (*EmptySource) Validate ¶
func (s *EmptySource) Validate() error
func (EmptySource) WithDefaults ¶
func (EmptySource) WithDefaults()
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) Type ¶
func (p *Provider) Type() abstract.ProviderType
type StdoutDestination ¶
type StdoutDestination struct { ShowData bool TransformerConfig map[string]string TriggingCount int TriggingSize uint64 TriggingInterval time.Duration }
func (*StdoutDestination) BuffererConfig ¶
func (d *StdoutDestination) BuffererConfig() bufferer.BuffererConfig
func (*StdoutDestination) CleanupMode ¶
func (d *StdoutDestination) CleanupMode() server.CleanupType
func (*StdoutDestination) GetProviderType ¶
func (d *StdoutDestination) GetProviderType() abstract.ProviderType
func (StdoutDestination) IsDestination ¶
func (StdoutDestination) IsDestination()
func (*StdoutDestination) Transformer ¶
func (d *StdoutDestination) Transformer() map[string]string
func (*StdoutDestination) Validate ¶
func (d *StdoutDestination) Validate() error
func (StdoutDestination) WithDefaults ¶
func (StdoutDestination) WithDefaults()
Click to show internal directories.
Click to hide internal directories.