constants

package
v0.0.0-...-2391ac1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "kl-iot-devices"

	IotServerEndpoint = "iotnet.dev.kloudlite.io"
	DnsDomain         = "one.one.one.one"

	BroadcastIP   = "255.255.255.255"
	BroadcastPort = 12345

	BroadcastInterval = 4

	ExpireDuration = 10

	ProxyServerPort = 8000

	PingInterval = 5
	PingTimeout  = 3

	K3sConfigPath = "/home/raspberry/runner-config.yml"
	K3sDataPath   = "/var/lib/rancher/k3s/server/db/"

	K3sJobFile = "/tmp/kloudlite-k3s-job.yml"
)

Variables

View Source
var (
	Debug = "false"
)
View Source
var DefaultExposedDomains = []string{IotServerEndpoint, DnsDomain, "github.com", "kloudlite.github.io"}
View Source
var DefaultExposedIps = []string{}

Functions

func GetHealthyUrl

func GetHealthyUrl() string

func GetIotServerEndpoint

func GetIotServerEndpoint() string

func GetPingUrl

func GetPingUrl() string

func IsDebug

func IsDebug() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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