Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(nameResolver k8sconsts.NameResolver, serviceDefService metadata.ServiceDefinitionService, oauthClient OAuthClient, httpProxyCache proxycache.HTTPProxyCache, skipVerify bool, proxyTimeout int) http.Handler
New creates proxy for handling user's services calls
func NewInvalidStateHandler ¶
NewInvalidStateHandler creates handler always returning 500 response
Types ¶
type OAuthClient ¶
type OAuthClient interface {
GetToken(clientID string, clientSecret string, authURL string) (string, apperrors.AppError)
}
func NewOauthClient ¶
func NewOauthClient(timeoutDuration int) OAuthClient
Click to show internal directories.
Click to hide internal directories.