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
Click to show internal directories.
Click to hide internal directories.