build

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OSLinux  = "Linux"
	OSDarwin = "macOS"
	OSWSL    = "WSL"
)

User-presentable names of operating systems supported by indev.

Variables

View Source
var (
	AppName    = "indev"
	Version    = "0.0.0-dev"
	Commit     = "none"
	CommitDate = "unknown"

	//goland:noinspection GoBoolExpressions
	IsDev = Version == "0.0.0-dev" && !forceProd

	PlatformBaseURI = "https://container-platform-backend.apps.intilitycloud.com"

	// SentryDSN is injected in the build from the CI/CD pipeline.
	// It is disabled by default.
	SentryDSN = ""

	// OTELCollectorEndpoint is injected in the build from the CI/CD pipeline.
	// It is disabled by default.
	OTELCollectorEndpoint = "https://otel-collector.apps.intilitycloud.com"
	OTELCollectorToken    = ""

	AuthPlatformAudience = "api://cd5aff56-575c-4e7e-b68e-3f67fa42eb31/user_impersonation"
	AuthAuthority        = "https://login.microsoftonline.com/organizations"
	AuthClientID         = "27f5ab79-28cb-4824-b603-4b0795b8985e"
	AuthRedirect         = "http://localhost:42069"
)

Variables in this file are set via ldflags.

Functions

func Authority

func Authority() string

func ClientID

func ClientID() string

func NameVersionString

func NameVersionString() string

func PlatformAPIHost

func PlatformAPIHost() string

func Scopes

func Scopes() []string

func SuccessRedirect

func SuccessRedirect() string

Types

type OSInfo

type OSInfo struct {
	Name     string
	Kernel   string
	Core     string
	Platform string
	OS       string
	Hostname string
	Rooted   bool
}

func OS

func OS() OSInfo

Jump to

Keyboard shortcuts

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