Documentation ¶
Index ¶
- Variables
- func Contains(values []string, value string) bool
- func Convert(from, to interface{}) error
- func Copy(d interface{}) interface{}
- func Equal(l, r interface{}) interface{}
- func ExistsIn(x interface{}, s []interface{}) bool
- 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 MapCopy(data map[interface{}]interface{}) map[interface{}]interface{}
- func MapsIntersection(left, right map[interface{}]interface{}, ...) map[interface{}]interface{}
- func MapsUnion(left, right map[interface{}]interface{}, ...) map[interface{}]interface{}
- func MergeBytes(left, right []byte) ([]byte, error)
- func Mount(device, directory, fsType, options string) error
- func RandSeq(n int) string
- func Remount(directory, options string) error
- func Replace(l, r interface{}) interface{}
- func ResolveDevice(spec string) string
- func ShortCircuit(funcs ...ReturnsErr) error
- func SliceCopy(data []interface{}) []interface{}
- func SlicesIntersection(left, right []interface{}, op func(interface{}, interface{}) interface{}) []interface{}
- func SlicesUnion(left, right []interface{}, op func(interface{}, interface{}) interface{}) []interface{}
- func TrimSplit(str, sep string) []string
- func TrimSplitN(str, sep string, count int) []string
- type Backoff
- type ErrWriter
- type ReturnsErr
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Copy ¶ added in v0.4.0
func Copy(d interface{}) interface{}
func Equal ¶ added in v0.4.0
func Equal(l, r interface{}) interface{}
func LoadResource ¶ added in v0.3.0
func MapCopy ¶ added in v0.4.0
func MapCopy(data map[interface{}]interface{}) map[interface{}]interface{}
func MapsIntersection ¶ added in v0.4.0
func MapsIntersection(left, right map[interface{}]interface{}, op func(interface{}, interface{}) interface{}) map[interface{}]interface{}
func MapsUnion ¶ added in v0.4.0
func MapsUnion(left, right map[interface{}]interface{}, op func(interface{}, interface{}) interface{}) map[interface{}]interface{}
func Replace ¶ added in v0.4.0
func Replace(l, r interface{}) interface{}
func ShortCircuit ¶
func ShortCircuit(funcs ...ReturnsErr) error
func SliceCopy ¶ added in v0.4.0
func SliceCopy(data []interface{}) []interface{}
func SlicesIntersection ¶
func SlicesIntersection(left, right []interface{}, op func(interface{}, interface{}) interface{}) []interface{}
func SlicesUnion ¶
func SlicesUnion(left, right []interface{}, op func(interface{}, interface{}) interface{}) []interface{}
Types ¶
type Backoff ¶ added in v0.4.0
type Backoff struct {
StartMillis, MaxIntervalMillis, MaxMillis int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.