lsbrelease

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 License: Apache-2.0 Imports: 5 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{}

AptSourcesNamespaceDetector 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