mirror of
https://github.com/paralus/paralus.git
synced 2026-05-21 15:53:06 +00:00
initial commit for changes to support database as backend for audit logs
This commit is contained in:
20
pkg/query/filters.go
Normal file
20
pkg/query/filters.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package query
|
||||
|
||||
import v1 "github.com/paralus/paralus/proto/rpc/audit"
|
||||
|
||||
type QueryFilters interface {
|
||||
GetType() string
|
||||
GetUser() string
|
||||
GetClient() string
|
||||
GetTimefrom() string
|
||||
GetPortal() string
|
||||
GetCluster() string
|
||||
GetNamespace() string
|
||||
GetKind() string
|
||||
GetMethod() string
|
||||
GetQueryString() string
|
||||
GetProjects() []string
|
||||
}
|
||||
|
||||
var _ QueryFilters = (*v1.AuditLogQueryFilter)(nil)
|
||||
var _ QueryFilters = (*v1.RelayAuditQueryFilter)(nil)
|
||||
Reference in New Issue
Block a user