Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigChanged = "controller.config-changed"
ConfigChanged messages are published by the apiserver client controller facade whenever the controller config is updated. data: `ConfigChangedMessage`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigChangedMessage ¶
type ConfigChangedMessage struct {
Config controller.Config
}
ConfigChangedMessage contains the controller.Config as it is after the update. Despite the controller.Config being a map[string]interface{}, which also happens to be the default pubsub message payload, we wrap it in a structure because the central hub annotates the serialised data structure with, at least, the origin of the message.
Click to show internal directories.
Click to hide internal directories.