apidefaults

package
v0.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: PostgreSQL Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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