rgetter

Description

A client side example with a single relation to show values appearing on
the other side


Trivial example of a relation:

juju deploy local:rsetter relation-setter
juju deploy local:rgetter relation-getter

juju add-relation relation-setter relation-getter

This is basically a one way relation, the setter provides some information
and the getter just outputs it when it's finally ready.

The setter is responsible for joining, the getter's join hook is null
The setter does nothing except join and populate the relation with data.

It's the getter's responsibility to use the changed hook and wait,
using a guard construct until the secret is not null and then
log that secret.