Documentation ¶
Index ¶
- 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 IsRunningInTty() bool
- 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 ¶
This section is empty.
Functions ¶
func ExtractTar ¶
func IsRunningInTty ¶
func IsRunningInTty() bool
func ResolveDevice ¶
func ShortCircuit ¶
func ShortCircuit(funcs ...ReturnsErr) error
Types ¶
type ErrWriter ¶
type ErrWriter struct { Err error // contains filtered or unexported fields }
func NewErrorWriter ¶
type ReturnsErr ¶
type ReturnsErr func() error
Click to show internal directories.
Click to hide internal directories.