Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct {
DeploymentKey key.Deployment
RequestKey key.Request
ParentRequestKey optional.Option[key.Request]
StartTime time.Time
DestVerb *schema.Ref
Callers []*schema.Ref
Request *ftlv1.CallRequest
Response result.Result[*ftlv1.CallResponse]
}
func (Call) ToEntry ¶
func (c Call) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type Client ¶
type Client struct {
timelinepbconnect.TimelineServiceClient
// contains filtered or unexported fields
}
type CronScheduled ¶
type CronScheduled struct {
DeploymentKey key.Deployment
Verb schema.Ref
Time time.Time
ScheduledAt time.Time
Schedule string
Error optional.Option[string]
}
func (CronScheduled) ToEntry ¶
func (e CronScheduled) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type DeploymentCreated ¶
type DeploymentCreated struct {
DeploymentKey key.Deployment
Time time.Time
ModuleName string
MinReplicas int
ReplacedDeployment optional.Option[key.Deployment]
}
func (DeploymentCreated) ToEntry ¶
func (d DeploymentCreated) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type DeploymentUpdated ¶
type DeploymentUpdated struct {
DeploymentKey key.Deployment
Time time.Time
MinReplicas int
PrevMinReplicas int
}
func (DeploymentUpdated) ToEntry ¶
func (d DeploymentUpdated) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type Event ¶
type Event interface {
ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
// contains filtered or unexported methods
}
type Ingress ¶
type Ingress struct {
DeploymentKey key.Deployment
RequestKey key.Request
StartTime time.Time
Verb *schema.Ref
RequestMethod string
RequestPath string
RequestHeaders http.Header
ResponseStatus int
ResponseHeaders http.Header
RequestBody []byte
ResponseBody []byte
Error optional.Option[string]
}
func (Ingress) ToEntry ¶
func (i Ingress) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type Log ¶
type Log struct {
DeploymentKey key.Deployment
RequestKey optional.Option[key.Request]
Time time.Time
Level int32
Attributes map[string]string
Message string
Error optional.Option[string]
}
func (Log) ToEntry ¶
func (l Log) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type PubSubConsume ¶
type PubSubConsume struct {
DeploymentKey key.Deployment
RequestKey optional.Option[string]
Time time.Time
DestVerb optional.Option[schema.RefKey]
Topic string
Partition int
Offset int
Error optional.Option[string]
}
func (PubSubConsume) ToEntry ¶
func (p PubSubConsume) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
type PubSubPublish ¶
type PubSubPublish struct {
DeploymentKey key.Deployment
RequestKey optional.Option[string]
Time time.Time
SourceVerb schema.Ref
Topic string
Partition int
Offset int
Request []byte
Error optional.Option[string]
}
func (PubSubPublish) ToEntry ¶
func (p PubSubPublish) ToEntry() (*timelinepb.CreateEventsRequest_EventEntry, error)
Click to show internal directories.
Click to hide internal directories.