hostsensor

package
v0.0.202 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapHostSensorResourceToApiGroup

func MapHostSensorResourceToApiGroup(r HostSensorResource) string

MapHostSensorResourceToApiGroup returns the API group for the resource. Note: This returns the default group/version. Specific implementations might use different versions.

func MapResourceToPlural

func MapResourceToPlural(r HostSensorResource) string

MapResourceToPlural maps scanner resource types to their CRD plural names

Types

type HostSensorResource

type HostSensorResource string

HostSensorResource is the enumerated type listing all resources from the host-scanner.

const (
	// host-scanner resources
	KubeletConfiguration         HostSensorResource = "KubeletConfiguration"
	OsReleaseFile                HostSensorResource = "OsReleaseFile"
	KernelVersion                HostSensorResource = "KernelVersion"
	LinuxSecurityHardeningStatus HostSensorResource = "LinuxSecurityHardeningStatus"
	OpenPortsList                HostSensorResource = "OpenPortsList"
	LinuxKernelVariables         HostSensorResource = "LinuxKernelVariables"
	KubeletCommandLine           HostSensorResource = "KubeletCommandLine"
	KubeletInfo                  HostSensorResource = "KubeletInfo"
	KubeProxyInfo                HostSensorResource = "KubeProxyInfo"
	ControlPlaneInfo             HostSensorResource = "ControlPlaneInfo"
	CloudProviderInfo            HostSensorResource = "CloudProviderInfo"
	CNIInfo                      HostSensorResource = "CNIInfo"
)

func (HostSensorResource) String

func (r HostSensorResource) String() string

Jump to

Keyboard shortcuts

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