Documentation
¶
Index ¶
- func NewExecutionError(err error, executionId string) error
- type AwaitingCompactionMsg
- type CollectionFinishedMsg
- type Collector
- func (c *Collector) Close()
- func (c *Collector) Collect(ctx context.Context, fromTime time.Time) error
- func (c *Collector) Compact(ctx context.Context) error
- func (c *Collector) Errors() []string
- func (c *Collector) Notify(event *proto.Event)
- func (c *Collector) StatusString() string
- func (c *Collector) WaitForCompletion(ctx context.Context) error
- type CompactionStatusUpdateMsg
- type ExecutionError
- type ExecutionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutionError ¶
Types ¶
type AwaitingCompactionMsg ¶
type AwaitingCompactionMsg struct{}
type CollectionFinishedMsg ¶
type CollectionFinishedMsg struct{}
type Collector ¶
func New ¶
func New(pluginManager *plugin_manager.PluginManager, partition *config.Partition, cancel context.CancelFunc) (*Collector, error)
func (*Collector) Notify ¶
Notify implements observer.Observer send an event down the channel to be picked up by the handlePluginEvent goroutine
func (*Collector) StatusString ¶
type CompactionStatusUpdateMsg ¶
type CompactionStatusUpdateMsg struct {
// contains filtered or unexported fields
}
type ExecutionError ¶
type ExecutionError struct {
// contains filtered or unexported fields
}
func (ExecutionError) Error ¶
func (e ExecutionError) Error() string
func (*ExecutionError) Unwrap ¶
func (e *ExecutionError) Unwrap() error
Unwrap implements error wrapping.
type ExecutionState ¶
type ExecutionState int
enum of execution states
const ( ExecutionState_PENDING ExecutionState = iota ExecutionState_STARTED ExecutionState = iota ExecutionState_COMPLETE ExecutionState_ERROR )
Click to show internal directories.
Click to hide internal directories.