Documentation ¶
Index ¶
Constants ¶
View Source
const EndPointConsumeHere = "/consume-here"
View Source
const EndPointInterceptInfo = "/intercept-info"
View Source
const HeaderCallerInterceptID = "x-telepresence-caller-intercept-id"
View Source
const HeaderInterceptID = "x-telepresence-intercept-id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentState ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error,omitempty"`
}
type InterceptInfo ¶ added in v2.5.0
type InterceptInfo struct { // True if the service is being intercepted Intercepted bool `json:"intercepted"` // True when queried on the workstation side, false if it is the cluster side agent. ClientSide bool `json:"clientSide"` // Metadata associated with the intercept. Only available on when Intercepted == ClientSide Metadata map[string]string `json:"metadata,omitempty"` }
Click to show internal directories.
Click to hide internal directories.