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

package centralhub

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

Index

Package Files

manifold.go

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 7 packages. Updated 2018-10-15. Refresh now. Tools for package owners.