cli_env

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultCloudHost = "main-grpc.selefra.io:1234"
View Source
const DefaultSelefraCloudHttpHost = "https://www.selefra.io"
View Source
const SelefraCloudFlag = "SELEFRA_CLOUD_FLAG"
View Source
const SelefraCloudHttpHost = "SELEFRA_CLOUD_HTTP_HOST"
View Source
const SelefraCloudToken = "SELEFRA_CLOUD_TOKEN"
View Source
const SelefraServerHost = "SELEFRA_CLOUD_HOST"
View Source
const SelefraTelemetryEnable = "SELEFRA_TELEMETRY_ENABLE"
View Source
const SelefraTelemetryTokenEnvName = "SELEFRA_TELEMETRY_TOKEN"

Variables

View Source
var SelefraTelemetryToken = ""

SelefraTelemetryToken Compile-time injection

Functions

func GetCloudToken

func GetCloudToken() string

func GetSelefraCloudHttpHost added in v0.0.11

func GetSelefraCloudHttpHost() string

func GetSelefraTelemetryEnable added in v0.0.11

func GetSelefraTelemetryEnable() string

func GetSelefraTelemetryToken added in v0.0.11

func GetSelefraTelemetryToken() string

func GetServerHost

func GetServerHost() string

GetServerHost Gets the address of the server

func IsCloudEnv

func IsCloudEnv() bool

IsCloudEnv Check whether the system is running in the cloud environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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