Module charmhelpers::core::hookenv [] [src]

Structs

Config
Relation

Functions

charm_dir

Charm directory

hook_name

Currently executing hook name

in_relation_hook

Are we currently in a hook

local_unit

Local unit ID

log

Log a message, at an optional log::LogLevel, to the Juju log

relation_id

id for the current relation

relation_type

Scope for the current relation hook

remote_unit

The remote unit for the current relation hook

service_name

The name of the service tha this unit belongs to