juju: github.com/juju/juju/worker/centralhub Index | Files

package centralhub

import "github.com/juju/juju/worker/centralhub"


Package Files


func Manifold Uses

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a manifold whose worker simply provides the central hub. This hub is a dependency for any other workers that need the hub.

type ManifoldConfig Uses

type ManifoldConfig struct {
    StateConfigWatcherName string
    // TODO: remove Hub config when apiserver and peergrouper can depend on
    // this hub.
    Hub *pubsub.StructuredHub

ManifoldConfig provides the dependencies for Manifold.

Package centralhub imports 5 packages (graph) and is imported by 9 packages. Updated 2020-05-01. Refresh now. Tools for package owners.