status

package
v1.13.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	K8sResourcesScanningIdentifier   = "k8s-resources-scanning"
	ContainerImageScanningIdentifier = "container-image-scanning"
	NodeScanningIdentifier           = "node-scanning"
	AdmissionControllerIdentifier    = "admission-controller"
	ScanApiIdentifier                = "scan-api"
	NamespaceFilteringIdentifier     = "namespace-filtering"
)

Variables

This section is empty.

Functions

func ReportStatusRequestFromAuditConfig

func ReportStatusRequestFromAuditConfig(
	integrationMrn string, m v1alpha2.MondooAuditConfig, nodes []v1.Node, k8sVersion *k8sversion.Info,
) mondooclient.ReportStatusRequest

Types

type MondooAuditConfig

type MondooAuditConfig struct {
	Name      string
	Namespace string
}

type OperatorCustomState

type OperatorCustomState struct {
	KubernetesVersion      string
	Nodes                  []string
	MondooAuditConfig      MondooAuditConfig
	OperatorVersion        string
	K8sResourcesScanning   bool
	ContainerImageScanning bool
	NodeScanning           bool
	AdmissionController    bool
	FilteringConfig        v1alpha2.Filtering
}

type StatusReporter

type StatusReporter struct {
	// contains filtered or unexported fields
}

func NewStatusReporter

func NewStatusReporter(kubeClient client.Client, mondooClientBuilder func(mondooclient.ClientOptions) mondooclient.Client, k8sVersion *version.Info) *StatusReporter

func (*StatusReporter) Report

Jump to

Keyboard shortcuts

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