Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigAuditReportFinalizer = "starboard-exporter.giantswarm.io/configauditreport"
)
Variables ¶
View Source
var ( ConfigAuditSummary = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "resource_checks_summary_count", Help: "Exposes the number of checks of a particular severity.", }, metricLabels, ) )
Gauge for the count of all config audit rules summary
Functions ¶
Types ¶
type ConfigAuditReportReconciler ¶
type ConfigAuditReportReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme MaxJitterPercent int ShardHelper *utils.ShardHelper }
ConfigAuditReportReconciler reconciles a ConfigAuditReport object
func (*ConfigAuditReportReconciler) Reconcile ¶
func (r *ConfigAuditReportReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports/status,verbs=get;update;patch +kubebuilder:rbac:groups=aquasecurity.github.io.giantswarm,resources=configauditreports/finalizers,verbs=update
func (*ConfigAuditReportReconciler) SetupWithManager ¶
func (r *ConfigAuditReportReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.