Documentation ¶
Index ¶
- Constants
- func ConfigMap(m v1alpha2.MondooAuditConfig) *corev1.ConfigMap
- func ConfigMapName(prefix string) string
- func CronJob(image string, node v1.Node, m v1alpha2.MondooAuditConfig) *batchv1.CronJob
- func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func CronJobName(prefix string, suffix string) string
- func Inventory(m v1alpha2.MondooAuditConfig) string
- type DeploymentHandler
Constants ¶
View Source
const ( CronJobNameBase = "-node-scanning-" // Execute hourly CronTab = "0 * * * *" InventoryConfigMapSuffix = "-node-scanning-inventory" )
View Source
const (
// TODO: remove this once the cleanup code is deleted.
OldNodeDaemonSetNameTemplate = `%s-node`
)
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func CronJobLabels ¶
func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
func CronJobName ¶
func Inventory ¶
func Inventory(m v1alpha2.MondooAuditConfig) string
Types ¶
type DeploymentHandler ¶
type DeploymentHandler struct { KubeClient client.Client Mondoo *v1alpha2.MondooAuditConfig ContainerImageResolver mondoo.ContainerImageResolver MondooOperatorConfig *v1alpha2.MondooOperatorConfig }
Click to show internal directories.
Click to hide internal directories.