Documentation ¶
Index ¶
- Variables
- func Connect(hosts []string) error
- func InsertActionLogRow(namespace string, entityType string, entitySource string, violationType string, ...)
- func InsertVLOGRow(vEntity libs.ViolatableEntity, violation violations.Violation, ...)
- func InsertVactionRow(namespace string, entityType string, entitySource string, violationType string, ...)
- type VActionRow
Constants ¶
This section is empty.
Variables ¶
View Source
var Sess *gocql.Session
Here we'll store connection
Functions ¶
func InsertActionLogRow ¶
func InsertVLOGRow ¶
func InsertVLOGRow(vEntity libs.ViolatableEntity, violation violations.Violation, entityType string)
Types ¶
type VActionRow ¶
type VActionRow struct { Namespace string Type string Source string VType string VSource string Actions map[string][]time.Time CreatedAt time.Time ExpiresAt time.Time }
func SelectVActionRow ¶
func SelectVActionRow(vEntity libs.ViolatableEntity, violation violations.Violation, entityType string) VActionRow
Click to show internal directories.
Click to hide internal directories.