k8s_scan

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CronJobNameSuffix = "-k8s-scan"
View Source
const (
	WorkloadDeploymentNameTemplate = `%s-workload`
)

Variables

This section is empty.

Functions

func CronJob

func CronJob(image, integrationMrn string, m v1alpha2.MondooAuditConfig) *batchv1.CronJob

func CronJobLabels

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

func CronJobName

func CronJobName(prefix string) string

Types

type DeploymentHandler

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

func (*DeploymentHandler) Reconcile

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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