lsbrelease

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LsbReleaseNamespaceDetector

type LsbReleaseNamespaceDetector struct{}

LsbReleaseNamespaceDetector implements NamespaceDetector and detects the Namespace from the /etc/lsb-release file.

This detector is necessary for Ubuntu Precise.

func (*LsbReleaseNamespaceDetector) Detect

func (detector *LsbReleaseNamespaceDetector) Detect(data map[string][]byte) *database.Namespace

func (*LsbReleaseNamespaceDetector) GetRequiredFiles

func (detector *LsbReleaseNamespaceDetector) 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