Documentation
¶
Overview ¶
Package operator provides primitives for implementing Trivy-Operator Operator.
Index ¶
Constants ¶
View Source
const ( K8sRepo = "kubernetes" K8sRegistry = "k8s.io" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterController ¶ added in v0.18.0
type ClusterController struct {
logr.Logger
*vc.WorkloadController
// contains filtered or unexported fields
}
ClusterReconciler reconciles corev1.Node and corev1.Pod objects
to collect cluster nodes and cluster core components (api-server,kubelet,etcd and more) information for vulnerability scanning the node information will be evaluated by the compliance control checks per relevant reports, examples: cis-benchmark and nsa
func (*ClusterController) SetupWithManager ¶ added in v0.18.0
func (r *ClusterController) SetupWithManager(mgr ctrl.Manager) error
type TTLReportReconciler ¶ added in v0.5.0
type TTLReportReconciler struct {
logr.Logger
etc.Config
PolicyLoader policy.Loader
trivyoperator.PluginContext
client.Client
configauditreport.PluginInMemory
ext.Clock
}
func (*TTLReportReconciler) DeleteReportIfExpired ¶ added in v0.5.0
func (*TTLReportReconciler) SetupWithManager ¶ added in v0.5.0
func (r *TTLReportReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.