nodes

package
v1.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CronJobNameBase               = "-node-"
	GarbageCollectCronJobNameBase = "-node-gc"
	InventoryConfigMapBase        = "-node-inventory-"
)

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(node corev1.Node, integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (*corev1.ConfigMap, error)

func ConfigMapName

func ConfigMapName(prefix, nodeName string) string

func CronJob

func CronJob(image string, node corev1.Node, m v1alpha2.MondooAuditConfig, isOpenshift bool) *batchv1.CronJob

func CronJobLabels

func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string

func CronJobName

func CronJobName(prefix, suffix string) string

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 GarbageCollectCronJobName(prefix string) string

func Inventory

func Inventory(node corev1.Node, integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (string, error)

func NodeNameOrHash added in v0.2.13

func NodeNameOrHash(allowedLen int, nodeName string) string

Types

type DeploymentHandler

type DeploymentHandler struct {
	KubeClient             client.Client
	Mondoo                 *v1alpha2.MondooAuditConfig
	ContainerImageResolver mondoo.ContainerImageResolver
	MondooOperatorConfig   *v1alpha2.MondooOperatorConfig
	IsOpenshift            bool
}

func (*DeploymentHandler) Reconcile

func (n *DeploymentHandler) Reconcile(ctx context.Context) (ctrl.Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL