Documentation ¶
Overview ¶
Package probe helps check compatibility of KubeArmor in a given environment
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeArmorPodSpec ¶ added in v0.13.9
type KubeArmorPodSpec struct { Running string `json:"running"` Image_Version string `json:"image_version"` }
KubeArmorPodSpec structure definition
type KubeArmorProbeData ¶ added in v0.9.0
type KubeArmorProbeData struct { OSImage string KernelVersion string KubeletVersion string ContainerRuntime string ActiveLSM string KernelHeaderPresent bool HostSecurity bool ContainerSecurity bool ContainerDefaultPosture tp.DefaultPosture HostDefaultPosture tp.DefaultPosture HostVisibility string }
KubeArmorProbeData structure definition
func ProbeRunningKubeArmorNodes ¶ added in v0.13.4
func ProbeRunningKubeArmorNodes(c *k8s.Client, o Options) ([]KubeArmorProbeData, map[string]KubeArmorProbeData, error)
ProbeRunningKubeArmorNodes extracts data from running KubeArmor daemonset by executing into the container and reading /tmp/kubearmor.cfg
type NamespaceData ¶ added in v0.13.9
type NamespaceData struct { NsPostureString string `json:"-"` NsVisibilityString string `json:"-"` NsDefaultPosture tp.DefaultPosture `json:"default_posture"` NsVisibility Visibility `json:"visibility"` NsPodList []PodInfo `json:"pod_list"` }
NamespaceData structure definition
Click to show internal directories.
Click to hide internal directories.