Documentation
¶
Overview ¶
Package seq holds the resources needed to start a Seq testcontainer.
Package seq holds the resources needed to start a Seq testcontainer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶ added in v1.0.4
type Events []struct {
Timestamp time.Time `json:"Timestamp"`
Properties []Property `json:"Properties"`
Messages []Message `json:"MessageTemplateTokens"`
EventType string `json:"EventType"`
Exception string `json:"Exception"`
Level string `json:"Level"`
TraceID string `json:"TraceId"`
SpanID string `json:"SpanId"`
SpanKind string `json:"SpanKind"`
Resource []Resource `json:"Resource"`
ID string `json:"Id"`
Links struct {
Self string `json:"Self"`
Group string `json:"Group"`
} `json:"Links"`
}
Events holds the returned logging events from Seq.
type Message ¶ added in v1.1.3
type Message struct {
Text string `json:"Text"`
}
Message holds the message template tokens from Seq.
type Resource ¶ added in v1.1.3
type Resource struct {
Name string `json:"Name"`
Value struct {
Name string `json:"name"`
} `json:"Value"`
}
Resource holds the resource name and value from Seq.
type Seq ¶
type Seq struct {
Ports map[int]nat.Port
Network *testcontainers.DockerNetwork
Name string
}
Seq hold the testcontainer, ports and network used by Seq. If instantiating yourself, be sure to populate Seq.Network, otherwise a new network will be generated.
Click to show internal directories.
Click to hide internal directories.