Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pepr ¶
func Pepr(w http.ResponseWriter, r *http.Request)
@Description Get Pepr data @Tags monitor @Accept html @Produce text/event-stream @Success 200 @Router /monitor/pepr/{stream} [get] @Param stream path string false "stream type to filter on, all streams by default" Enums(AnyStream, PolicyStream, OperatorStream, AllowStream, DenyStream, MutateStream, FailureStream)
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a simple cache for pepr stream data, it can be invalidated by a timer and max size
func (*Cache) Serve ¶
func (c *Cache) Serve(w http.ResponseWriter)
Serve attempts to serve a cached response if available.
type ClusterData ¶
Click to show internal directories.
Click to hide internal directories.