Documentation ¶
Index ¶
Constants ¶
View Source
const ( RuntimeLinux = "linux" RuntimeDarwin = "darwin" RuntimeWindows = "windows" SocatImage = "ghcr.io/kloudlite/hub/socat:latest" KLDNS = "100.64.0.1" InterceptWorkspaceServiceIp = "172.18.0.3" K3sServerIp = "172.18.0.2" )
Variables ¶
View Source
var ( BaseURL = func() string { baseUrl := flags.DefaultBaseURL s, err := fileclient.GetBaseURL() if err == nil && s != "" { baseUrl = s } if s := os.Getenv("KL_BASE_URL"); s != "" { baseUrl = s } return baseUrl }() LoginUrl = func() string { return fmt.Sprintf("%s/cli-login", BaseURL) }() ServerURL = func() string { return fmt.Sprintf("%s/api/", BaseURL) }() UpdateURL = func() string { return "https://kl.kloudlite.io/kloudlite/kloudlite" }() )
View Source
var (
CoreCliName = "kl"
)
Functions ¶
func GetBoxImageName ¶ added in v1.1.0
func GetBoxImageName() string
func GetK3SImageName ¶ added in v1.1.0
func GetK3SImageName() string
func GetK3sTrackerImageName ¶ added in v1.1.0
func GetK3sTrackerImageName() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.