Documentation
¶
Index ¶
- func CountFileRows(filePath string) (int64, error)
- func GetClientIp(filter string) (string, error)
- func GetClusterVersion(endpoint string, auth *model.BasicAuth) (*elastic.ClusterInformation, error)
- func GetLocalNodeInfo(endpoint string, auth *model.BasicAuth) (string, *elastic.NodesInfo, error)
- func ResolveSymlink(link string) (string, error)
- func UnpackGzipFile(gzFile, outputFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountFileRows ¶
func GetClientIp ¶
func GetClusterVersion ¶
func GetLocalNodeInfo ¶
func ResolveSymlink ¶ added in v1.28.0
ResolveSymlink Parse the target file path of the soft link
func UnpackGzipFile ¶ added in v1.29.0
UnpackGzipFile extracts a .gz file and writes the output to a regular file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.