Documentation ¶
Index ¶
- func DirExists(path string) bool
- func FileExists(path string) bool
- func HttpGetData(ctx context.Context, url string, insecureSkipVerify bool) (data []byte, err error)
- func HttpGetFile(ctx context.Context, url, localFilename string, insecureSkipVerify bool) error
- func IsMd5Text(s string) bool
- func MD5File(filename string) string
- func UnTarGz(tarGzFile, trimPrefix, outputDir string) error
- func Unzip(zipFile, outputDir string) error
- func ZipFs(w io.Writer, vfs fs.FS) (err error)
- type KclvmTripleType
- type KclvmVersionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func HttpGetData ¶
func HttpGetFile ¶
Types ¶
type KclvmTripleType ¶
type KclvmTripleType string
const ( KclvmTripleType_unknown KclvmTripleType = "" KclvmTripleType_centos KclvmTripleType = "centos" KclvmTripleType_ubuntu KclvmTripleType = "ubuntu" KclvmTripleType_darwin KclvmTripleType = "Darwin" KclvmTripleType_darwin_arm64 KclvmTripleType = "Darwin-arm64" KclvmTripleType_windows KclvmTripleType = "windows" )
type KclvmVersionType ¶
type KclvmVersionType string
const ( KclvmAbiVersion KclvmVersionType = KclvmVersionType_v0_4_6 KclvmVersionType_latest = KclvmVersionType_v0_4_6 KclvmVersionType_v0_4_6 KclvmVersionType = "v0.4.6" KclvmVersionType_v0_4_5 KclvmVersionType = "v0.4.5" KclvmVersionType_v0_4_5_alpha_2 KclvmVersionType = "v0.4.5-alpha.2" KclvmVersionType_v0_4_5_alpha_1 KclvmVersionType = "v0.4.5-alpha.1" KclvmVersionType_v0_4_4 KclvmVersionType = "v0.4.4" KclvmVersionType_v0_4_4_beta_2 KclvmVersionType = "v0.4.4-beta.2" KclvmVersionType_v0_4_4_beta_1 KclvmVersionType = "v0.4.4-beta.1" KclvmVersionType_v0_4_4_alpha_1 KclvmVersionType = "v0.4.4-alpha.1" KclvmVersionType_v0_4_3 KclvmVersionType = "v0.4.3" KclvmVersionType_v0_4_3_alpha_1 KclvmVersionType = "v0.4.3-alpha.1" KclvmVersionType_v0_4_2_alpha_5 KclvmVersionType = "v0.4.2-alpha.5" KclvmVersionType_v0_4_2_alpha_4 KclvmVersionType = "v0.4.2-alpha.4" KclvmVersionType_v0_4_2_alpha_3 KclvmVersionType = "v0.4.2-alpha.3" KclvmVersionType_v0_4_2_alpha_2 KclvmVersionType = "v0.4.2-alpha.2" KclvmVersionType_v0_4_2_alpha_1 KclvmVersionType = "v0.4.2-alpha.1" )
Click to show internal directories.
Click to hide internal directories.