checker

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBuildPrivilege

func CheckBuildPrivilege() error

CheckBuildPrivilege checks if we can build an image for a definition file on the system

func CheckDefFile

func CheckDefFile(path string) error

CheckDefFile does some checking on a definition file to ensure it can be used

func CheckDistro

func CheckDistro() (string, error)

CheckDistro tries to detect the codename of the Linux distribution and returns it when possible, an empty string otherwise

func CheckSystemConfig

func CheckSystemConfig() error

CheckSystemConfig checks the system configuration to ensure that the tool can run correctly

Types

This section is empty.

Jump to

Keyboard shortcuts

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