preflight

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SkipVolumes = map[string]bool{
	"/var/run/datadog-agent": true,
}

Volumes will not be ingested - use with caution!

Functions

func CheckClusterRole

func CheckClusterRole(role types.ClusterRoleType) (bool, error)

CheckClusterRole checks an input K8s cluster role object and reports whether it should be ingested.

func CheckClusterRoleBinding

func CheckClusterRoleBinding(role types.ClusterRoleBindingType) (bool, error)

CheckClusterRoleBinding checks an input K8s cluster role binding object and reports whether it should be ingested.

func CheckContainer

func CheckContainer(container types.ContainerType) (bool, error)

CheckContainer checks an input K8s container object and reports whether it should be ingested.

func CheckEndpoint

func CheckEndpoint(ep types.EndpointType) (bool, error)

CheckEndpoint checks an input K8s endpoint slice object and reports whether it should be ingested.

func CheckNode

func CheckNode(node types.NodeType) (bool, error)

CheckNode checks an input K8s npode object and reports whether it should be ingested.

func CheckPod

func CheckPod(pod types.PodType) (bool, error)

CheckPod checks an input K8s pod object and reports whether it should be ingested.

func CheckRole

func CheckRole(role types.RoleType) (bool, error)

CheckRole checks an input K8s role object and reports whether it should be ingested.

func CheckRoleBinding

func CheckRoleBinding(rb types.RoleBindingType) (bool, error)

CheckRoleBinding checks an input K8s role object and reports whether it should be ingested.

func CheckVolume

func CheckVolume(volume types.VolumeMountType) (bool, error)

CheckVolume checks an input K8s volume object and reports whether it should be ingested.

Types

This section is empty.

Jump to

Keyboard shortcuts

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