Documentation ¶
Index ¶
- func EventToContext(events []types.Event) (models.Meta, []error)
- func LoadConsoleContext(c *csconfig.Config, hub *cwhub.Hub) error
- func NewAlertContext(contextToSend map[string][]string, valueLength int) error
- func ValidateContextExpr(key string, expressions []string) error
- type Context
- type HubItemWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConsoleContext ¶ added in v1.6.0
LoadConsoleContext loads the context from the hub (if provided) and the file console_context_path.
func NewAlertContext ¶
func ValidateContextExpr ¶
Types ¶
type HubItemWrapper ¶ added in v1.6.0
HubItemWrapper is a wrapper around a hub item to unmarshal only the context part because there are other fields like name etc.
Click to show internal directories.
Click to hide internal directories.