package selinux
import "k8s.io/kubernetes/pkg/util/selinux"
Package selinux contains selinux utility functions.
Index ¶
Types ¶
type SelinuxContextRunner ¶
type SelinuxContextRunner interface { SetContext(dir, context string) error Getfilecon(path string) (string, error) }
SelinuxContextRunner knows how to chcon of a directory and how to get the selinux context of a file.
func NewSelinuxContextRunner ¶
func NewSelinuxContextRunner() SelinuxContextRunner
NewSelinuxContextRunner returns a new chconRunner.
Source Files ¶
doc.go selinux.go selinux_unsupported.go
- Version
- v1.4.0-beta.5
- Published
- Sep 15, 2016
- Platform
- js/wasm
- Last checked
- 55 minutes ago –
Tools for package owners.