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_linux_amd64 KclvmTripleType = "linux-amd64" KclvmTripleType_linux_arm64 KclvmTripleType = "linux-arm64" KclvmTripleType_darwin_amd64 KclvmTripleType = "darwin-amd64" KclvmTripleType_darwin_arm64 KclvmTripleType = "darwin-arm64" KclvmTripleType_windows KclvmTripleType = "windows" )
type KclvmVersionType ¶
type KclvmVersionType string
const ( KclvmAbiVersion KclvmVersionType = KclvmVersionType_v0_6_0 KclvmVersionType_latest = KclvmVersionType_v0_6_0 KclvmVersionType_v0_6_0 KclvmVersionType = "v0.6.0" KclvmVersionType_v0_6_0_alpha_1 KclvmVersionType = "v0.6.0-alpha.1" KclvmVersionType_v0_5_6 KclvmVersionType = "v0.5.6" KclvmVersionType_v0_5_5 KclvmVersionType = "v0.5.5" KclvmVersionType_v0_5_4 KclvmVersionType = "v0.5.4" KclvmVersionType_v0_5_3 KclvmVersionType = "v0.5.3" KclvmVersionType_v0_5_2 KclvmVersionType = "v0.5.2" KclvmVersionType_v0_5_1 KclvmVersionType = "v0.5.1" KclvmVersionType_v0_5_0 KclvmVersionType = "v0.5.0" KclvmVersionType_v0_5_0_beta_1 KclvmVersionType = "v0.5.0-beta.1" KclvmVersionType_v0_5_0_alpha_4 KclvmVersionType = "v0.5.0-alpha.4" KclvmVersionType_v0_5_0_alpha_3 KclvmVersionType = "v0.5.0-alpha.3" KclvmVersionType_v0_5_0_alpha_2 KclvmVersionType = "v0.5.0-alpha.2" KclvmVersionType_v0_5_0_alpha_1 KclvmVersionType = "v0.5.0-alpha.1" 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.