Documentation ¶
Index ¶
- func AssertProtoBufferMessageContains(t *testing.T, expectedMessage string, actual []byte)
- func AssertProtoBufferMessageEquals(t *testing.T, expectedMessage string, actual []byte)
- func MarshalledDrainedLogMessage(t *testing.T, messageString string, appId string, drainUrls ...string) []byte
- func MarshalledDrainedNonWardenLogMessage(t *testing.T, messageString string, appId string, drainUrls ...string) []byte
- func MarshalledErrorLogMessage(t *testing.T, messageString string, appId, sourceId string) []byte
- func MarshalledLogEnvelope(t *testing.T, unmarshalledMessage *logmessage.LogMessage, secret string) []byte
- func MarshalledLogEnvelopeForMessage(t *testing.T, msg, appName, secret string, drainUrls ...string) []byte
- func MarshalledLogMessage(t *testing.T, messageString string, appId string) []byte
- func NewErrMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message
- func NewLogMessage(messageString, appId string) *logmessage.LogMessage
- func NewMessage(t *testing.T, messageString, appId string) *logmessage.Message
- func NewMessageFromLogMessage(t *testing.T, logMessage *logmessage.LogMessage) *logmessage.Message
- func NewMessageWithError(messageString, appId string) (*logmessage.Message, error)
- func NewMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message
- func NewMessageWithSyslogDrain(t *testing.T, messageString, appId string, syslogDrains ...string) *logmessage.Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalledLogEnvelope ¶
func MarshalledLogEnvelope(t *testing.T, unmarshalledMessage *logmessage.LogMessage, secret string) []byte
func MarshalledLogMessage ¶
func NewErrMessageWithSourceId ¶
func NewErrMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message
func NewLogMessage ¶
func NewLogMessage(messageString, appId string) *logmessage.LogMessage
func NewMessage ¶
func NewMessage(t *testing.T, messageString, appId string) *logmessage.Message
func NewMessageFromLogMessage ¶
func NewMessageFromLogMessage(t *testing.T, logMessage *logmessage.LogMessage) *logmessage.Message
func NewMessageWithError ¶
func NewMessageWithError(messageString, appId string) (*logmessage.Message, error)
func NewMessageWithSourceId ¶
func NewMessageWithSourceId(t *testing.T, messageString, appId, sourceId string) *logmessage.Message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.