Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataUsageFileCreator ¶
type DataUsageFileCreator interface {
AddStatements(statements []Statement) error
Close()
GetStatementCount() int
}
DataUsageFileCreator describes the interface for easily creating the data usage import files to be exported from the Raito CLI.
func NewDataUsageFileCreator ¶
func NewDataUsageFileCreator(config *data_usage.DataUsageSyncConfig) (DataUsageFileCreator, error)
type Statement ¶
type Statement struct {
ExternalId string `json:"externalId"`
AccessedDataObjects []ap.Access `json:"accessedDataObjects"`
User string `json:"user"`
Role string `json:"role"`
Success bool `json:"success"`
Status string `json:"status"`
Query string `json:"query"`
StartTime int64 `json:"startTime"`
EndTime int64 `json:"endTime"`
Bytes int `json:"bytes"`
Rows int `json:"rows"`
Credits float32 `json:"credits"`
}
Click to show internal directories.
Click to hide internal directories.