Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Audit ¶
type Audit struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts *options.AuditOptions, externalAddress string, secureServingInfo *server.SecureServingInfo) (*Audit, error)
New creates a new Audit struct to handle auditing for proxy requests. This is mostly a wrapper for the apiserver auditing handlers to combine them with the proxy.
func (*Audit) WithRequest ¶
WithRequest will wrap the given handler to inject the request information into the context which is then used by the wrapped audit handler.
Click to show internal directories.
Click to hide internal directories.