Versions in this module Expand all Collapse all v3 v3.1.1 Dec 30, 2020 Changes in this version + const CacheTimeout + const ChannelCapacity + const DefaultCacheCapacity + const DefaultWebhook + const SendTimeout + const WaitTimeout + const WebhookURL + type Auditing interface + Enabled func() bool + K8sAuditingEnabled func() bool + LogRequestObject func(req *http.Request, info *request.RequestInfo) *auditv1alpha1.Event + LogResponseObject func(e *auditv1alpha1.Event, resp *ResponseCapture) + func NewAuditing(informers informers.InformerFactory, url string, stopCh <-chan struct{}) Auditing + type Backend struct + func NewBackend(url string, channelCapacity int, cache chan *v1alpha1.EventList, ...) *Backend + type ResponseCapture struct + func NewResponseCapture(w http.ResponseWriter) *ResponseCapture + func (c *ResponseCapture) Bytes() []byte + func (c *ResponseCapture) CloseNotify() <-chan bool + func (c *ResponseCapture) Header() http.Header + func (c *ResponseCapture) Hijack() (net.Conn, *bufio.ReadWriter, error) + func (c *ResponseCapture) StatusCode() int + func (c *ResponseCapture) Write(data []byte) (int, error) + func (c *ResponseCapture) WriteHeader(statusCode int) Other modules containing this package github.com/fearlesschenc/kubesphere