Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedhatReleaseNamespaceDetector ¶
type RedhatReleaseNamespaceDetector struct{}
RedhatReleaseNamespaceDetector implements NamespaceDetector and detects the OS from the /etc/centos-release, /etc/redhat-release and /etc/system-release files.
Typically for CentOS and Red-Hat like systems eg. CentOS release 5.11 (Final) eg. CentOS release 6.6 (Final) eg. CentOS Linux release 7.1.1503 (Core) eg. Red Hat Enterprise Linux Server release 7.2 (Maipo)
func (*RedhatReleaseNamespaceDetector) Detect ¶
func (detector *RedhatReleaseNamespaceDetector) Detect(data map[string][]byte) *database.Namespace
func (*RedhatReleaseNamespaceDetector) GetRequiredFiles ¶
func (detector *RedhatReleaseNamespaceDetector) GetRequiredFiles() []string
GetRequiredFiles returns the list of files that are required for Detect()
Click to show internal directories.
Click to hide internal directories.