Documentation ¶
Index ¶
- type Config
- type RecordingInfo
- type Service
- func (r *Service) Close() error
- func (r *Service) Delete(id string)
- func (r *Service) FindBatchRecording(id string) ([]io.ReadCloser, error)
- func (r *Service) FindStreamRecording(id string) (io.ReadCloser, error)
- func (r *Service) GetRecordings(rids []string) ([]RecordingInfo, error)
- func (r *Service) Open() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordingInfo ¶
type Service ¶
type Service struct { TaskStore interface { Load(name string) (*kapacitor.Task, error) } HTTPDService interface { AddRoutes([]httpd.Route) error DelRoutes([]httpd.Route) } InfluxDBService interface { NewClient() (*client.Client, error) } TaskMaster interface { NewFork(name string, dbrps []kapacitor.DBRP) (*kapacitor.Edge, error) DelFork(name string) New() *kapacitor.TaskMaster Stream(name string) (kapacitor.StreamCollector, error) } // contains filtered or unexported fields }
Handles recording, starting, and waiting on replays
func (*Service) FindBatchRecording ¶
func (r *Service) FindBatchRecording(id string) ([]io.ReadCloser, error)
func (*Service) FindStreamRecording ¶
func (r *Service) FindStreamRecording(id string) (io.ReadCloser, error)
func (*Service) GetRecordings ¶
func (r *Service) GetRecordings(rids []string) ([]RecordingInfo, error)
Click to show internal directories.
Click to hide internal directories.