constants

package
v2.11.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultPlatformURL is the default Kusari platform API URL
	DefaultPlatformURL = "https://platform.api.us.kusari.cloud/"

	// DefaultConsoleURL is the default Kusari console URL
	DefaultConsoleURL = "https://console.us.kusari.cloud/"

	// DefaultAuthURL is the default Kusari authentication endpoint URL
	DefaultAuthURL = "https://auth.us.kusari.cloud/"
)
View Source
const (
	// InspectorUploadHostPattern takes env, s3 region, s3 region.
	InspectorUploadHostPattern = "inspector-bundle-upload-%s-%s.s3.%s.amazonaws.com"

	DefaultUploadEnv = "prod"

	// DefaultS3Region: non-us Kusari regions need a real region mapping here,
	// not string interpolation from the region name.
	DefaultS3Region = "us-east-1"
)

Upload endpoint constants, used only by `kusari connectivity check`.

Uploads never derive a URL from these: the real host is issued per-request by the platform presign response (pkg/repo/upload.go). They are a second source of truth, so update them if platform bucket naming changes.

Variables

This section is empty.

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