juju: github.com/juju/juju/pubsub/controller Index | Files

package controller

import "github.com/juju/juju/pubsub/controller"


Package Files



const ConfigChanged = "controller.config-changed"

ConfigChanged messages are published by the apiserver client controller facade whenever the controller config is updated. data: `ConfigChangedMessage`

type ConfigChangedMessage Uses

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.

Package controller imports 1 packages (graph) and is imported by 13 packages. Updated 2018-04-23. Refresh now. Tools for package owners.