Documentation ¶
Index ¶
- Constants
- func CleanupOnExit() bool
- func Close()
- func CreateIptablesRules() bool
- func ForceCleanupOnExit()
- func GetAgentName() string
- func GetAgentProvider() uint
- func GetAgentTags() []string
- func GetAgentToken() string
- func GetCloudURL() string
- func GetContainerType() string
- func GetControllerName(ctype int) string
- func GetControllerType() int
- func GetDebugLevel() int
- func GetDeviceID() string
- func GetFullVersion() string
- func GetInterfaceMTU() uint
- func GetIpfsUrl() string
- func GetLocationLatitude() float32
- func GetLocationLongitude() float32
- func GetNamespace() []string
- func GetOwnerAddress() string
- func GetPortsRange() (uint16, uint16)
- func GetRouteDeleteThreshold() uint
- func GetRouteStrategy() int
- func GetServicesStatus() bool
- func GetVersion() string
- func Init()
- func IsVPNClient() bool
- func MetricsExporterEnabled() bool
- func MetricsExporterPort() uint16
- func PeerCheckTime() time.Duration
- func PeerCheckWindow() uint
- func RerouteThresholds() (float32, float32)
- func SetRerouteThresholds(diff, ratio float32)
- type AllowedIPEntry
- type Location
Constants ¶
View Source
const ( ControllerSaas = iota ControllerScript ControllerBlockchain ControllerUnknown )
View Source
const ( ContainerTypeDocker = "docker" ContainerTypeKubernetes = "kubernetes" ContainerTypeHost = "host" )
View Source
const ( // SYNTROPY_ROUTE_STRATEGY=speed RouteStrategySpeed = iota // SYNTROPY_ROUTE_STRATEGY=dr RouteStrategyDirectRoute )
Variables ¶
This section is empty.
Functions ¶
func CleanupOnExit ¶
func CleanupOnExit() bool
func CreateIptablesRules ¶
func CreateIptablesRules() bool
func ForceCleanupOnExit ¶
func ForceCleanupOnExit()
func GetAgentName ¶
func GetAgentName() string
func GetAgentProvider ¶
func GetAgentProvider() uint
func GetAgentTags ¶
func GetAgentTags() []string
func GetAgentToken ¶
func GetAgentToken() string
func GetCloudURL ¶
func GetCloudURL() string
func GetContainerType ¶
func GetContainerType() string
func GetControllerName ¶
func GetControllerType ¶
func GetControllerType() int
func GetDebugLevel ¶
func GetDebugLevel() int
func GetDeviceID ¶
func GetDeviceID() string
func GetFullVersion ¶
func GetFullVersion() string
func GetInterfaceMTU ¶
func GetInterfaceMTU() uint
func GetIpfsUrl ¶
func GetIpfsUrl() string
func GetLocationLatitude ¶
func GetLocationLatitude() float32
func GetLocationLongitude ¶
func GetLocationLongitude() float32
func GetNamespace ¶
func GetNamespace() []string
func GetOwnerAddress ¶
func GetOwnerAddress() string
func GetPortsRange ¶
func GetRouteDeleteThreshold ¶
func GetRouteDeleteThreshold() uint
func GetRouteStrategy ¶
func GetRouteStrategy() int
func GetServicesStatus ¶
func GetServicesStatus() bool
func GetVersion ¶
func GetVersion() string
func IsVPNClient ¶
func IsVPNClient() bool
func MetricsExporterEnabled ¶
func MetricsExporterEnabled() bool
func MetricsExporterPort ¶
func MetricsExporterPort() uint16
func PeerCheckTime ¶
func PeerCheckWindow ¶
func PeerCheckWindow() uint
func RerouteThresholds ¶
func SetRerouteThresholds ¶
func SetRerouteThresholds(diff, ratio float32)
Types ¶
type AllowedIPEntry ¶
func GetHostAllowedIPs ¶
func GetHostAllowedIPs() []AllowedIPEntry
Click to show internal directories.
Click to hide internal directories.