Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the component. Name = "activator" // RevisionHeaderName is the header key for revision name. RevisionHeaderName = "Knative-Serving-Revision" // RevisionHeaderNamespace is the header key for revision's namespace. RevisionHeaderNamespace = "Knative-Serving-Namespace" )
Variables ¶
View Source
var ( // RevisionHeaders are the headers the activator uses to identify the // revision. They are removed before reaching the user container. RevisionHeaders = []string{ RevisionHeaderName, RevisionHeaderNamespace, } )
Functions ¶
func ReportStats ¶ added in v0.18.0
func ReportStats(logger *zap.SugaredLogger, sink RawSender, source <-chan []metrics.StatMessage)
ReportStats sends any messages received on the source channel to the sink. The messages are sent on a goroutine to avoid blocking, which means that messages may arrive out of order.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
|
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state. |
Click to show internal directories.
Click to hide internal directories.