scripts

package
v0.0.0-...-6c20dd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(path string) bool

func FileExists

func FileExists(path string) bool

func HttpGetData

func HttpGetData(ctx context.Context, url string, insecureSkipVerify bool) (data []byte, err error)

func HttpGetFile

func HttpGetFile(ctx context.Context, url, localFilename string, insecureSkipVerify bool) error

func IsMd5Text

func IsMd5Text(s string) bool

func MD5File

func MD5File(filename string) string

func UnTarGz

func UnTarGz(tarGzFile, trimPrefix, outputDir string) error

func Unzip

func Unzip(zipFile, outputDir string) error

func ZipFs

func ZipFs(w io.Writer, vfs fs.FS) (err error)

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_10_0
	KclvmVersionType_latest                  = KclvmVersionType_v0_10_0

	KclvmVersionType_v0_10_0 KclvmVersionType = "v0.10.0"
	KclvmVersionType_v0_9_0  KclvmVersionType = "v0.9.0"
	KclvmVersionType_v0_8_0  KclvmVersionType = "v0.8.0"
	KclvmVersionType_v0_7_5  KclvmVersionType = "v0.7.5"
	KclvmVersionType_v0_7_4  KclvmVersionType = "v0.7.4"
	KclvmVersionType_v0_7_3  KclvmVersionType = "v0.7.3"
	KclvmVersionType_v0_7_2  KclvmVersionType = "v0.7.2"
	KclvmVersionType_v0_7_1  KclvmVersionType = "v0.7.1"
	KclvmVersionType_v0_7_0  KclvmVersionType = "v0.7.0"
	KclvmVersionType_v0_6_0  KclvmVersionType = "v0.6.0"
	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_4_6  KclvmVersionType = "v0.4.6"
	KclvmVersionType_v0_4_5  KclvmVersionType = "v0.4.5"
	KclvmVersionType_v0_4_4  KclvmVersionType = "v0.4.4"
	KclvmVersionType_v0_4_3  KclvmVersionType = "v0.4.3"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL