Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPWrapper ¶
type HTTPWrapper struct{}
HTTPWrapper manages the headers and auth required to speak with the auth service. It also provides a convenience method to get the bytes from a request.
func (*HTTPWrapper) AddHeaders ¶
func (c *HTTPWrapper) AddHeaders(req *http.Request, cluster_id string, authorization_token string)
AddHeaders sets the client headers, including the auth token
Click to show internal directories.
Click to hide internal directories.