package
0.0.0-20181214184433-b04c0947ad2f
Repository: https://github.com/rancher/pkg.git
Documentation: pkg.go.dev

# Functions

GetServiceEndpoint gets the endpoint IP or hostname to use for the service.
New returns a SpoofingClient that rewrites requests if the target domain is not `resolveable`.

# Structs

Response is a stripped down subset of http.Response.
SpoofingClient is a minimal http client wrapper that spoofs the domain of requests for non-resolvable domains.

# Interfaces

Interface defines the actions that can be performed by the spoofing client.

# Type aliases

ResponseChecker is used to determine when SpoofinClient.Poll is done polling.