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

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