Documentation ¶
Index ¶
- Constants
- func ConnectToFirehose() (<-chan *events.Envelope, <-chan error)
- func ConnectToStream(appID string) (<-chan *events.Envelope, <-chan error)
- func EmitToMetron(envelope *events.Envelope)
- func FindMatchingEnvelope(msgChan <-chan *events.Envelope, envelope *events.Envelope) *events.Envelope
- func FindMatchingEnvelopeByID(id string, msgChan <-chan *events.Envelope) (*events.Envelope, error)
- func FindMatchingEnvelopeByOrigin(msgChan <-chan *events.Envelope, origin string) *events.Envelope
- func Initialize(testConfig *TestConfig)
- func RequestContainerMetrics(appID string) ([]*events.ContainerMetric, error)
- func RequestRecentLogs(appID string) ([]*events.LogMessage, error)
- func WaitForWebsocketConnection(printer *TestDebugPrinter)
- func WriteToEtcd(urls []string, key, value string) func()
- type TestDebugPrinter
Constants ¶
View Source
const ORIGIN_NAME = "LATs"
Variables ¶
This section is empty.
Functions ¶
func ConnectToFirehose ¶
func EmitToMetron ¶
func FindMatchingEnvelope ¶
func Initialize ¶
func Initialize(testConfig *TestConfig)
func RequestContainerMetrics ¶
func RequestContainerMetrics(appID string) ([]*events.ContainerMetric, error)
func RequestRecentLogs ¶
func RequestRecentLogs(appID string) ([]*events.LogMessage, error)
func WaitForWebsocketConnection ¶
func WaitForWebsocketConnection(printer *TestDebugPrinter)
func WriteToEtcd ¶
Types ¶
type TestDebugPrinter ¶
type TestDebugPrinter struct {
// contains filtered or unexported fields
}
func SetUpConsumer ¶
func SetUpConsumer() (*consumer.Consumer, *TestDebugPrinter)
func (*TestDebugPrinter) Dump ¶
func (printer *TestDebugPrinter) Dump() string
func (*TestDebugPrinter) Print ¶
func (printer *TestDebugPrinter) Print(title, dump string)
Click to show internal directories.
Click to hide internal directories.