activator

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 31

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

This section is empty.

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

type RawSender added in v0.18.0

type RawSender interface {
	SendRaw(msgType int, msg []byte) error
}

RawSender sends raw byte array messages with a message type (implemented by gorilla/websocket.Socket).

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL