utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2016 License: Apache-2.0 Imports: 5 Imported by: 8 modules, 26 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Dns1123LabelFmt = "[a-z0-9]([-a-z0-9]*[a-z0-9])?"
)

Variables

This section is empty.

Functions

func DiskId2Name

func DiskId2Name(id int) string

func IsDNS1123Label

func IsDNS1123Label(value string) bool

IsDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123).

func IsDNSLabel

func IsDNSLabel(value string) bool

func Mount

func Mount(src, dst string) error

func SetReadonly added in v0.7.0

func SetReadonly(rootfs string) error

func Umount

func Umount(root string)

func UnixSocketConnect

func UnixSocketConnect(name string) (conn net.Conn, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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