Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCPHandler ¶
NewGCPHandler creates a new instance of a http.Handler for GCP requests.
Types ¶
type HandlerConfig ¶
type HandlerConfig struct { // RoundTripper is the underlying transport given to an oxy Forwarder. RoundTripper http.RoundTripper // Log is the Logger. Log logrus.FieldLogger // Clock is used to override time in tests. Clock clockwork.Clock // contains filtered or unexported fields }
HandlerConfig is the configuration for an GCP app-access handler.
func (*HandlerConfig) CheckAndSetDefaults ¶
func (s *HandlerConfig) CheckAndSetDefaults() error
CheckAndSetDefaults validates the HandlerConfig.
Click to show internal directories.
Click to hide internal directories.