status

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K8sResourcesScanningIdentifier = "k8s-resources-scanning"
	NodeScanningIdentifier         = "node-scanning"
	AdmissionControllerIdentifier  = "admission-controller"
	ScanApiIdentifier              = "scan-api"
)

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
}

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