mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-04 11:58:41 +00:00
* Moving from Semver to major.patch versions * version check should work with new version forma Co-authored-by: Igor Gov <igor.govorov1@gmail.com>
27 lines
755 B
Go
27 lines
755 B
Go
package mizu
|
|
|
|
import (
|
|
"os"
|
|
"path"
|
|
)
|
|
|
|
var (
|
|
Ver = "0.0"
|
|
Branch = "develop"
|
|
GitCommitHash = "" // this var is overridden using ldflags in makefile when building
|
|
BuildTimestamp = "" // this var is overridden using ldflags in makefile when building
|
|
RBACVersion = "v1"
|
|
Platform = ""
|
|
InstallModePersistentVolumeSizeBufferBytes = int64(500 * 1000 * 1000) //500mb
|
|
)
|
|
|
|
const DEVENVVAR = "MIZU_DISABLE_TELEMTRY"
|
|
|
|
func GetMizuFolderPath() string {
|
|
home, homeDirErr := os.UserHomeDir()
|
|
if homeDirErr != nil {
|
|
return ""
|
|
}
|
|
return path.Join(home, ".mizu")
|
|
}
|