redhatrelease

package
v5.0.0-preview.1+incom... Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 3

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)

func (*RedhatReleaseNamespaceDetector) Detect

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