Documentation ¶
Index ¶
- func CreateFile(filename string) error
- func DeleteFile(filename string) error
- func FileExists(filename string) bool
- func GenerateUUID() string
- func GetRunningNamespace() string
- func GetRunningPodName() string
- func InterfaceToString(data interface{}) string
- func IsEmailValid(email string) bool
- func RawdataRead2Write(readRawdata []*Common.ReadRawdata) []*Common.WriteRawdata
- func ReadFile(filename string) ([]string, error)
- func StringToByteArray(str string) []byte
- func WriteFile(filename string, lines []string) error
- func WriteFileWithAppend(filename string, lines []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶ added in v0.9.1
func DeleteFile ¶ added in v0.9.1
func FileExists ¶ added in v0.9.1
func GenerateUUID ¶ added in v0.9.1
func GenerateUUID() string
func GetRunningNamespace ¶ added in v0.3.8
func GetRunningNamespace() string
GetRunningNamespace retrieves value from env NAMESPACE_NAME
func GetRunningPodName ¶ added in v0.3.49
func GetRunningPodName() string
GetRunningPodName retrieves value from env POD_NAME
func InterfaceToString ¶
func InterfaceToString(data interface{}) string
InterfaceToString encodes interface to string
func IsEmailValid ¶ added in v0.9.1
func RawdataRead2Write ¶ added in v0.3.49
func RawdataRead2Write(readRawdata []*Common.ReadRawdata) []*Common.WriteRawdata
func StringToByteArray ¶ added in v0.9.1
func WriteFileWithAppend ¶ added in v0.9.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.