redhatrelease

package
v2.0.0-pre.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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/oracle-release, /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. Oracle Linux Server release 7.3 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()

Jump to

Keyboard shortcuts

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