Documentation ¶
Index ¶
- func InitDataCollector(config DataCollectorConfig) error
- func RecordActionFailure(wfName string, flowId string, actionName string, actionId int, reson string)
- func RecordActionSuccess(wfName string, flowId string, actionName string, actionId int, ...)
- type DataCollectorConfig
- type DataCollectorType
- type LogFileDataCollector
- type WorkflowDataCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDataCollector ¶
func InitDataCollector(config DataCollectorConfig) error
func RecordActionFailure ¶
Types ¶
type DataCollectorConfig ¶
type DataCollectorConfig struct { FileName string CollectorType DataCollectorType }
type DataCollectorType ¶
type DataCollectorType string
const ELASTIC_DATA_COLLECTOR DataCollectorType = "ELASTIC_DATA_COLLECTOR"
const LOG_FILE_DATA_COLLECTOR DataCollectorType = "LOG_FILE_DATA_COLLECTOR"
type LogFileDataCollector ¶
type LogFileDataCollector struct {
// contains filtered or unexported fields
}
func NewLogFileDataCollector ¶
func NewLogFileDataCollector(fileName string) (*LogFileDataCollector, error)
func (*LogFileDataCollector) RecordActionFailure ¶
func (*LogFileDataCollector) RecordActionSuccess ¶
Click to show internal directories.
Click to hide internal directories.