hostns

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NamespaceHostNetworkTrue occurs when hostNetwork is set to true in the container podspec
	NamespaceHostNetworkTrue = "NamespaceHostNetworkTrue"
	// NamespaceHostIPCTrue occurs when hostIPC is set to true in the container podspec
	NamespaceHostIPCTrue = "NamespaceHostIPCTrue"
	// NamespaceHostPIDTrue occurs when hostPID is set to true in the container podspec
	NamespaceHostPIDTrue = "NamespaceHostPIDTrue"
)
View Source
const HostIPCOverrideLabel = "allow-namespace-host-IPC"
View Source
const HostNetworkOverrideLabel = "allow-namespace-host-network"
View Source
const HostPIDOverrideLabel = "allow-namespace-host-PID"
View Source
const Name = "hostns"

Variables

This section is empty.

Functions

This section is empty.

Types

type HostNamespaces

type HostNamespaces struct{}

HostNamespaces implements Auditable

func New

func New() *HostNamespaces

func (*HostNamespaces) Audit

Audit checks that hostNetwork, hostIPC and hostPID are set to false in container podSpecs

Jump to

Keyboard shortcuts

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