Documentation ¶
Index ¶
- func CreateClusterPolicyReport() *v1alpha2.ClusterPolicyReport
- func CreatePolicyReport(ns string) *v1alpha2.PolicyReport
- func GeneratePolicyReportName(ns string) string
- func GeneratePolicyReportResultID(containerID string, eventID int, timestamp int) string
- func MapEvent(event tracee.Event) v1alpha2.PolicyReportResult
- func MapResult(severity Severity) v1alpha2.PolicyResult
- func MapServerityFromInt(severity Severity) v1alpha2.PolicySeverity
- type Client
- type Severity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClusterPolicyReport ¶
func CreateClusterPolicyReport() *v1alpha2.ClusterPolicyReport
func CreatePolicyReport ¶
func CreatePolicyReport(ns string) *v1alpha2.PolicyReport
func MapResult ¶
func MapResult(severity Severity) v1alpha2.PolicyResult
func MapServerityFromInt ¶
func MapServerityFromInt(severity Severity) v1alpha2.PolicySeverity
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewPolicyReportClient ¶
func NewPolicyReportClient(client pr.Wgpolicyk8sV1alpha2Interface, maxResults int) *Client
Click to show internal directories.
Click to hide internal directories.