coretest

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2013 License: Apache-2.0 Imports: 11 Imported by: 0

README

coretest

Sanity tests for a minimal Linux

Building

cd coretest
./build

This will generate a binary in the base directory called "./coretest".

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDbusInterface

func CheckDbusInterface(iFace string, timeout time.Duration) error

func CheckHttpStatus

func CheckHttpStatus(url string, timeout time.Duration) error

func CheckPort

func CheckPort(network, address string, timeout time.Duration) error
func IsLink(f os.FileInfo) bool

func Sha256File

func Sha256File(fileName string) (hash string, err error)

Types

type MountTable

type MountTable struct {
	Device     string
	MountPoint string
	FsType     string
	Options    []string
}

func GetMountTable

func GetMountTable() (mounts []MountTable, err error)

Directories

Path Synopsis
third_party
src/github.com/guelfey/go.dbus
Package dbus implements bindings to the D-Bus message bus system.
Package dbus implements bindings to the D-Bus message bus system.
src/github.com/guelfey/go.dbus/introspect
Package introspect provides some utilities for dealing with the DBus introspection format.
Package introspect provides some utilities for dealing with the DBus introspection format.
src/github.com/guelfey/go.dbus/prop
Package prop provides the Properties struct which can be used to implement org.freedesktop.DBus.Properties.
Package prop provides the Properties struct which can be used to implement org.freedesktop.DBus.Properties.

Jump to

Keyboard shortcuts

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