Documentation ¶
Index ¶
- Variables
- func CheckClusterRole(role types.ClusterRoleType) (bool, error)
- func CheckClusterRoleBinding(role types.ClusterRoleBindingType) (bool, error)
- func CheckContainer(container types.ContainerType) (bool, error)
- func CheckEndpoint(ctx context.Context, ep types.EndpointType) (bool, error)
- func CheckNode(node types.NodeType) (bool, error)
- func CheckPod(ctx context.Context, pod types.PodType) (bool, error)
- func CheckRole(role types.RoleType) (bool, error)
- func CheckRoleBinding(rb types.RoleBindingType) (bool, error)
- func CheckVolume(volume types.VolumeMountType) (bool, error)
Constants ¶
This section is empty.
Variables ¶
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 ¶
CheckEndpoint checks an input K8s endpoint slice object and reports whether it should be ingested.
func CheckNode ¶
CheckNode checks an input K8s npode object and reports whether it should be ingested.
func CheckRole ¶
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.