mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-02-14 18:09:51 +00:00
* Update labels * Update kubeshark API url * Update other domains * comments --------- Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
30 lines
696 B
Go
30 lines
696 B
Go
package misc
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"path"
|
|
)
|
|
|
|
var (
|
|
Software = "Kubeshark"
|
|
Program = "kubeshark"
|
|
Description = "The API Traffic Analyzer for Kubernetes"
|
|
Website = "https://kubeshark.com"
|
|
Email = "support@kubeshark.com"
|
|
Ver = "0.0.0"
|
|
Branch = "master"
|
|
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 = ""
|
|
)
|
|
|
|
func GetDotFolderPath() string {
|
|
home, homeDirErr := os.UserHomeDir()
|
|
if homeDirErr != nil {
|
|
return ""
|
|
}
|
|
return path.Join(home, fmt.Sprintf(".%s", Program))
|
|
}
|