Documentation
¶
Overview ¶
Package apidefaults owns platform-level API defaults: the pgEdge Starfleet base URL and its resolution rule (flag > profile > default). It sits outside the modules so internal/cli can print effective URLs without importing one; starfleet's conn package re-exports it.
Index ¶
Constants ¶
View Source
const StarfleetAPIURL = "https://api.pgedge.com"
StarfleetAPIURL is the default pgEdge Starfleet API base URL, used when neither the active profile nor --api-url supplies one.
Variables ¶
This section is empty.
Functions ¶
func ResolveStarfleetAPIURL ¶
func ResolveStarfleetAPIURL(ap *config.StarfleetProfile, flagAPIURL string) string
ResolveStarfleetAPIURL applies the base-URL precedence.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.