Documentation ¶
Index ¶
- func AddNewStringsToStringArray(list []string, elmsToAdd ...string) []string
- func DirExists(path string) (bool, error)
- func DumpYaml(v interface{}) string
- func ExcludeFromStringArray(list []string, elmsToRemove ...string) []string
- func ExpandPath(path string) string
- func FileExists(path string) (bool, error)
- func GenerateConsistentRandomString(n int) string
- func InterfaceArrayToStringArray(array []interface{}) ([]string, error)
- func InterfaceToMapStringInterface(value interface{}) (map[string]interface{}, error)
- func InterfaceToStringArray(value interface{}) ([]string, error)
- func IsNotADirectoryError(err error) bool
- func IsStringsContainValue(arr []string, value string) bool
- func MurmurHash(args ...string) string
- func NumerateLines(text string, firstLineNumber int) string
- func RejectEmptyStrings(arr []string) []string
- func RemoveHostDirsWithLinuxContainer(ctx context.Context, mountDir string, dirs []string) error
- func Sha256Hash(args ...string) string
- func Sha3_224Hash(args ...string) string
- func SplitFilepath(path string) (result []string)
- func ToLinuxContainerPath(path string) string
- func UniqAppendString(arr []string, value string) []string
- func UniqStrings(arr []string) []string
- func WalkByPattern(dir, pattern string, ...) error
- type SerializableError
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewStringsToStringArray ¶ added in v1.2.0
func ExcludeFromStringArray ¶ added in v1.2.0
func ExpandPath ¶
func InterfaceToStringArray ¶
func IsNotADirectoryError ¶
func IsStringsContainValue ¶
func MurmurHash ¶
func NumerateLines ¶
func RejectEmptyStrings ¶
func Sha256Hash ¶
func Sha3_224Hash ¶
func SplitFilepath ¶
func ToLinuxContainerPath ¶
func UniqAppendString ¶
func UniqStrings ¶
Types ¶
type SerializableError ¶ added in v1.1.21
type SerializableError struct {
Error error
}
func (SerializableError) MarshalJSON ¶ added in v1.1.21
func (obj SerializableError) MarshalJSON() ([]byte, error)
func (*SerializableError) UnmarshalJSON ¶ added in v1.1.21
func (obj *SerializableError) UnmarshalJSON(data []byte) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.