Python charmhelpers.core.hookenv模块,常用函数和类

下面列出了Python charmhelpers.core.hookenv 模块中定义的常用函数和类,我们从55个开源Python项目中,按照使用频率进行了排序。

函数和类 使用项目数
1. log() 用在(47)个项目中
2. config() 用在(42)个项目中
3. unit_get() 用在(37)个项目中
4. ERROR 用在(35)个项目中
5. DEBUG 用在(35)个项目中
6. open_port() 用在(35)个项目中
7. related_units() 用在(34)个项目中
8. relation_ids() 用在(34)个项目中
9. close_port() 用在(34)个项目中
10. charm_dir() 用在(33)个项目中
11. relation_get() 用在(33)个项目中
12. hook_name() 用在(32)个项目中
13. execution_environment() 用在(32)个项目中
14. Hooks() 用在(32)个项目中
15. _run_atstart() 用在(32)个项目中
16. _run_atexit() 用在(32)个项目中
17. relation_set() 用在(32)个项目中
18. service_name() 用在(29)个项目中
19. local_unit() 用在(26)个项目中
20. CRITICAL 用在(23)个项目中
21. cache() 用在(10)个项目中
22. status_set() 用在(9)个项目中
23. relation_id() 用在(8)个项目中
24. is_leader() 用在(7)个项目中
25. unit_private_ip() 用在(7)个项目中
26. leader_get() 用在(7)个项目中
27. action_get() 用在(7)个项目中
28. leader_set() 用在(6)个项目中
29. WARNING 用在(5)个项目中