juju: github.com/juju/juju/component/all Index | Files

package all

import "github.com/juju/juju/component/all"

The all package facilitates the registration of Juju components into the relevant machinery. It is intended as the one place in Juju where the components (horizontal design layers) and the machinery (vertical/architectural layers) intersect. This approach helps alleviate interdependence between the components and the machinery.

This is done in an independent package to avoid circular imports.

Index

Package Files

all.go payload.go resource.go

func RegisterForClient Uses

func RegisterForClient() error

RegisterForClient registers all the parts of the components with the Juju machinery for use as a client (e.g. juju).

func RegisterForServer Uses

func RegisterForServer() error

RegisterForServer registers all the parts of the components with the Juju machinery for use as a server (e.g. jujud, jujuc).

Package all imports 20 packages (graph) and is imported by 48 packages. Updated 2019-08-23. Refresh now. Tools for package owners.