Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages the lifecycle of the gateway container or binary
func NewManager ¶
func NewManager(sessionID convdomain.SessionID, cfg *config.Config, runtime containerruntime.ContainerRuntime) *Manager
NewManager creates a new gateway manager
func (*Manager) EnsureStarted ¶
EnsureStarted starts the gateway if configured and not already running This is a convenience method that checks config and running state before starting
func (*Manager) GetGatewayURL ¶
GetGatewayURL returns the actual gateway URL with the assigned port
func (*Manager) Version ¶ added in v0.187.0
Version reports the version of the gateway serving at the managed URL, or "" when it cannot be determined. The gateway's /version endpoint wins; managed modes fall back to the cached binary or the configured container image tag. Externally managed gateways (Gateway.Run off) have no local source to ask.