Documentation ¶
Index ¶
- Constants
- func ConfigMap(integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (*corev1.ConfigMap, error)
- func ConfigMapName(prefix string) string
- func CronJob(image, integrationMrn, clusterUid, privateImageScanningSecretName string, ...) *batchv1.CronJob
- func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func CronJobName(prefix string) string
- func Inventory(integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (string, error)
- func OldCronJobName(prefix string) string
- type DeploymentHandler
Constants ¶
View Source
const ( // TODO: remove in next version OldCronJobNameSuffix = "-k8s-images-scan" CronJobNameSuffix = "-containers-scan" InventoryConfigMapBase = "-containers-inventory" )
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func CronJob ¶
func CronJob(image, integrationMrn, clusterUid, privateImageScanningSecretName string, m v1alpha2.MondooAuditConfig) *batchv1.CronJob
func CronJobLabels ¶
func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
func CronJobName ¶
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.