Documentation ¶
Index ¶
- Constants
- func ConfigMap(node corev1.Node, integrationMRN, clusterUID string, ...) (*corev1.ConfigMap, error)
- func ConfigMapName(prefix, nodeName string) string
- func CronJob(image string, node corev1.Node, m v1alpha2.MondooAuditConfig, isOpenshift bool) *batchv1.CronJob
- func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func CronJobName(prefix, suffix string) string
- func GarbageCollectCronJob(image, clusterUid string, m v1alpha2.MondooAuditConfig) *batchv1.CronJob
- func GarbageCollectCronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func GarbageCollectCronJobName(prefix string) string
- func Inventory(node corev1.Node, integrationMRN, clusterUID string, ...) (string, error)
- func NodeNameOrHash(allowedLen int, nodeName string) string
- type DeploymentHandler
Constants ¶
View Source
const ( CronJobNameBase = "-node-" GarbageCollectCronJobNameBase = "-node-gc" InventoryConfigMapBase = "-node-inventory-" )
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func CronJobLabels ¶
func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
func CronJobName ¶
func GarbageCollectCronJob ¶ added in v1.13.0
func GarbageCollectCronJob(image, clusterUid string, m v1alpha2.MondooAuditConfig) *batchv1.CronJob
func GarbageCollectCronJobLabels ¶ added in v1.13.0
func GarbageCollectCronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
func GarbageCollectCronJobName ¶ added in v1.13.0
func NodeNameOrHash ¶ added in v0.2.13
Types ¶
type DeploymentHandler ¶
type DeploymentHandler struct { KubeClient client.Client Mondoo *v1alpha2.MondooAuditConfig ContainerImageResolver mondoo.ContainerImageResolver MondooOperatorConfig *v1alpha2.MondooOperatorConfig IsOpenshift bool }
Click to show internal directories.
Click to hide internal directories.