Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SELinux ¶
type SELinux interface { Label(dir string, label string) (err error) IsLabeled(dir string) (labeled bool, err error) Restore(dir string) (err error) }
func NewSELinux ¶
type SELinuxImpl ¶
type SELinuxImpl struct { Paths []string // contains filtered or unexported fields }
func (*SELinuxImpl) IsLabeled ¶
func (se *SELinuxImpl) IsLabeled(dir string) (labeled bool, err error)
func (*SELinuxImpl) IsPresent ¶
func (se *SELinuxImpl) IsPresent() (present bool, err error)
func (*SELinuxImpl) Restore ¶
func (se *SELinuxImpl) Restore(dir string) (err error)
Click to show internal directories.
Click to hide internal directories.