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" )
View Source
const (
InterfaceName string = "kl"
)
View Source
const (
KL_CONTAINER_MARK = "kl-container-mark"
)
new constants kl-v2
View Source
const (
NetworkService = "Wi-Fi"
)
Temporary Constants
Variables ¶
View Source
var ( BaseURL = func() string { baseUrl := flags.DefaultBaseURL if s := os.Getenv("KL_BASE_URL"); s != "" { return s } fc, err := fileclient.New() if err != nil { return baseUrl } s, err := fc.GetBaseURL() if err != nil { return baseUrl } if s != "" { return 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" }() )
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.