Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPPortScheme ¶
func IsLoopbackHost ¶
func NormalizePublishedHost ¶
func SortExposureStatuses ¶
func SortExposureStatuses(values []ExposureStatus)
Types ¶
type Endpoint ¶
type Endpoint struct {
Service string `json:"service"`
Scheme string `json:"scheme"`
Host string `json:"host"`
Port int `json:"port"`
}
Endpoint is a stable logical service endpoint. Logical identity is independent from runtime-generated container or pod names.
type ExposureStatus ¶
type ExposureStatus struct {
Service string `json:"service"`
Scheme string `json:"scheme"`
Host string `json:"host"`
Port int `json:"port"`
Ready bool `json:"ready"`
Detail string `json:"detail,omitempty"`
}
ExposureStatus is machine-readable readiness for one observed or managed HTTP exposure.
func ProbeHTTPDialTarget ¶
func ProbeHTTPDialTarget(ctx context.Context, logical Endpoint, dialHost string, dialPort int) ExposureStatus
ProbeHTTPDialTarget verifies a logical HTTP endpoint while dialing a separate local/runtime address. This supports hostname-bound TLS without conflating endpoint identity with runtime placement.
Click to show internal directories.
Click to hide internal directories.