constants

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBaseURL              = "https://auth.kloudlite.io"
	RuntimeLinux                = "linux"
	RuntimeDarwin               = "darwin"
	RuntimeWindows              = "windows"
	BashShell                   = "bash"
	FishShell                   = "fish"
	ZshShell                    = "zsh"
	PowerShell                  = "powershell"
	NetworkService              = "Wi-Fi"
	LocalSearchDomains          = ".local"
	NoExistingSearchDomainError = "There aren't any Search Domains set on Wi-Fi."

	ContainerVpnPort = 1729

	DnsServerPort = 5353
)

Variables

View Source
var (
	BaseURL = func() string {
		baseUrl := DefaultBaseURL

		s, err := client.GetBaseURL()
		if err == nil && 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"
	}()
)
View Source
var (
	InfraCliName = "kli"
	CoreCliName  = "kl"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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