Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSSignerHandler ¶
NewAWSSignerHandler creates a new request handler for signing and forwarding requests to AWS API.
Types ¶
type SignerHandlerConfig ¶
type SignerHandlerConfig struct { // Log is a logger for the handler. Log logrus.FieldLogger // RoundTripper is an http.RoundTripper instance used for requests. RoundTripper http.RoundTripper // SigningService is used to sign requests before forwarding them. *awsutils.SigningService // Clock is used to override time in tests. Clock clockwork.Clock }
SignerHandlerConfig is the awsSignerHandler configuration.
func (*SignerHandlerConfig) CheckAndSetDefaults ¶
func (cfg *SignerHandlerConfig) CheckAndSetDefaults() error
CheckAndSetDefaults validates the AwsSignerHandlerConfig.
Click to show internal directories.
Click to hide internal directories.