preflight

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

SkipVolumes represent a list of Volumes that 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(ctx context.Context, 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(ctx context.Context, 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