Documentation ¶
Index ¶
- Variables
- func Contains(values []string, value string) bool
- func Convert(from, to interface{}) error
- func ExtractTar(archive string, dest string) error
- func GetFsType(device string) (string, error)
- func GetOSType() string
- func GetServices(urls []string) ([]string, error)
- func GetValue(kvPairs []string, key string) string
- func IsRunningInTty() bool
- func KVPairs2Map(kvs []string) map[string]string
- func LoadResource(location string, network bool, urls []string) ([]byte, error)
- func Map2KVPairs(m map[string]string) []string
- func MergeBytes(left, right []byte) ([]byte, error)
- func MergeMaps(left, right map[interface{}]interface{})
- func Mount(device, directory, fsType, options string) error
- func RandSeq(n int) string
- func Remount(directory, options string) error
- func ResolveDevice(spec string) string
- func ShortCircuit(funcs ...ReturnsErr) error
- type ErrWriter
- type ReturnsErr
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func LoadResource ¶ added in v0.3.0
func MergeMaps ¶ added in v0.2.0
func MergeMaps(left, right map[interface{}]interface{})
func ShortCircuit ¶
func ShortCircuit(funcs ...ReturnsErr) error
Types ¶
Click to show internal directories.
Click to hide internal directories.