Documentation ¶
Overview ¶
The resource package provides your charm access to Juju resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Reg ¶
Reg registers the resource name to the resources service. Given name and description are used to register the resource with the hook.Registry, the installers is called when the resource changes on charm deploy or upgrade. Each time the install or upgrade-charm hooks are called a hash is made of the, resource. When the hash for a resource is changed or non-existent the installers is called.
Click to show internal directories.
Click to hide internal directories.