Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Sess *gocql.Session
Here we'll store connection
Functions ¶
Types ¶
type Context ¶
type Context struct { Namespace string Results map[string][]VActionResponseModel }
type VActionResponseModel ¶
type VActionResponseModel struct { Namespace string Etype string Created_at time.Time Action string Cluster string Source string ViolationSource string ViolationType string }
func (VActionResponseModel) GetAllByNameSpace ¶
func (m VActionResponseModel) GetAllByNameSpace(namespace string) Context
func (VActionResponseModel) GetLastAction ¶
func (m VActionResponseModel) GetLastAction() (*VActionResponseModel, error)
func (VActionResponseModel) GetLastActions ¶ added in v0.1.4
func (m VActionResponseModel) GetLastActions(numberOfRecent int) Context
Click to show internal directories.
Click to hide internal directories.