Documentation
¶
Index ¶
Constants ¶
View Source
const DateTimeTableIdentifier = "chaos_date_time"
Variables ¶
This section is empty.
Functions ¶
func NewDateTimeExtractor ¶
func NewDateTimeExtractor() artifact_source.Extractor
NewDateTimeExtractor creates a new DateTimeExtractor
Types ¶
type DateTimeExtractor ¶
type DateTimeExtractor struct {
}
DateTimeExtractor is an extractor that receives JSON serialised DateTimeBatch objects and extracts DateTime records from them
func (*DateTimeExtractor) Extract ¶
Extract unmarshalls the artifact data as an DateTimeBatch and returns the DateTime records
func (*DateTimeExtractor) Identifier ¶
func (c *DateTimeExtractor) Identifier() string
type DateTimeTable ¶
type DateTimeTable struct {
}
func (*DateTimeTable) EnrichRow ¶
func (c *DateTimeTable) EnrichRow(row *rows.DateTime, sourceEnrichmentFields schema.SourceEnrichment) (*rows.DateTime, error)
func (*DateTimeTable) GetSourceMetadata ¶
func (c *DateTimeTable) GetSourceMetadata() ([]*table.SourceMetadata[*rows.DateTime], error)
func (*DateTimeTable) Identifier ¶
func (c *DateTimeTable) Identifier() string
Click to show internal directories.
Click to hide internal directories.