Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvocationTypeKey = "invocation"
InvocationTypeKey defines context key
View Source
var JobKey = jobKey("job")
JobKey defines context job key
Functions ¶
Types ¶
type InvocationType ¶
type InvocationType string
const ( InvocationTypeEvent InvocationType = "event" InvocationTypeUndefined InvocationType = "" )
type Job ¶
type Job struct { ID string `sqlx:"primaryKey=true,name=ID" json:",omitempty"` MatchKey string `json:",omitempty"` Status string `sqlx:"name=Status" json:",omitempty"` Metrics string `json:",omitempty"` destination.Table destination.Cache Request Principal MainView string `json:",omitempty" sqlx:"MainView"` Module string `json:",omitempty" sqlx:"Module"` Labels string `json:",omitempty"` JobType string `json:",omitempty"` EventURL string `json:",omitempty"` Error *string `json:",omitempty"` CreationTime time.Time `json:",omitempty"` StartTime *time.Time `json:",omitempty"` EndTime *time.Time `json:",omitempty"` ExpiryTime *time.Time `json:",omitempty"` WaitTimeInMcs int `json:",omitempty"` RunTimeInMcs int `json:",omitempty"` SQL []*SQL `sqlx:"enc=JSON,name=SQLQuery" sqlxAsync:"enc=JSON,name=SQLQuery"` Deactivated bool `json:",omitempty"` }
type Notification ¶
type Notification struct { Method NotificationMethod Destination string }
type NotificationMethod ¶
type NotificationMethod string
const ( NotificationMethodStorage NotificationMethod = "Storage" NotificationMethodMessageBus NotificationMethod = "MessageBus" NotificationMethodUndefined NotificationMethod = "" )
Click to show internal directories.
Click to hide internal directories.