MCPcopy Create free account

hub / github.com/bcsaller/juju-docker / functions

Functions157 in github.com/bcsaller/juju-docker

Functionchdir
(d)
hooks/charmhelpers/core/host.py:358
Functionchownr
(path, owner, group)
hooks/charmhelpers/core/host.py:366
Functionclose_port
Close a service network port
hooks/charmhelpers/core/hookenv.py:418
Functioncmp_pkgrevno
Compare supplied revno with the revno of the installed package * 1 => Installed revno is greater than supplied arg * 0 => Installed revno i
hooks/charmhelpers/core/host.py:341
Functionconfigure_sources
Configure multiple sources from charm configuration. The lists are encoded as yaml fragments in the configuration. The frament needs to
hooks/charmhelpers/fetch/__init__.py:234
Functioncopy_file
Create or overwrite a file with the contents of another file
hooks/charmhelpers/core/host.py:160
Functiondocker_pull
(container_name)
hooks/charmhelpers/contrib/docker/__init__.py:28
Methodentries
(self)
hooks/charmhelpers/core/fstab.py:58
Methodexecute
Execute a registered hook based on args[0]
hooks/charmhelpers/core/hookenv.py:475
Functionexecution_environment
A convenient bundling of the current execution context
hooks/charmhelpers/core/hookenv.py:109
Functionget_nic_hwaddr
(nic)
hooks/charmhelpers/core/host.py:331
Functionget_nic_mtu
(nic)
hooks/charmhelpers/core/host.py:320
Methodhook
Decorator, registering them as hooks
hooks/charmhelpers/core/hookenv.py:483
Functionhook_name
The name of the currently executing hook
hooks/charmhelpers/core/hookenv.py:153
Functionin_relation_hook
Determine whether we're running in a relation hook
hooks/charmhelpers/core/hookenv.py:123
Methodinstall
(self, source)
hooks/charmhelpers/fetch/archiveurl.py:51
Methodinstall
(self, source)
hooks/charmhelpers/fetch/bzrurl.py:33
Functioninstall_docker
()
hooks/charmhelpers/contrib/docker/__init__.py:12
Functioninstall_docker_unstable
()
hooks/charmhelpers/contrib/docker/__init__.py:21
Functioninstall_from_config
(config_var_name)
hooks/charmhelpers/fetch/__init__.py:298
Methodis_ready
(self)
hooks/common.py:22
Functionis_relation_made
Determine whether a relation is established by checking for presence of key(s). If a list of keys is provided, they must all be present
hooks/charmhelpers/core/hookenv.py:392
Methodjson
Serialize the object to json
hooks/charmhelpers/core/hookenv.py:100
Functionlist_nics
Return a list of nics of given type(s)
hooks/charmhelpers/core/host.py:297
Methodmap
(self, relation_settings)
hooks/common.py:14
Functionmount
Mount a filesystem at a particular mountpoint
hooks/charmhelpers/core/host.py:187
Functionmounts
Get a list of all mounted volumes as [[mountpoint,device],[...]]
hooks/charmhelpers/core/host.py:218
Functionopen_port
Open a service network port
hooks/charmhelpers/core/hookenv.py:411
Methodprovide_data
(self)
hooks/common.py:30
Methodprovide_data
Return data to be relation_set for this interface.
hooks/charmhelpers/core/services/helpers.py:95
Functionpwgen
Generate a random pasword.
hooks/charmhelpers/core/host.py:285
Functionread_file
(path)
hooks/charmhelpers/core/host.py:170
Functionrelation_set
Set relation information for the current unit
hooks/charmhelpers/core/hookenv.py:288
Functionrelations_of_type
Get relations of a specific type
hooks/charmhelpers/core/hookenv.py:349
Functionrender
Render a template. The `source` path, if not absolute, is relative to the `templates_dir`. The `target` path should be absolute. T
hooks/charmhelpers/core/templating.py:7
Functionrestart_on_change
Restart services based on configuration files changing This function is used a decorator, for example:: @restart_on_change({
hooks/charmhelpers/core/host.py:238
Functionrsync
Replicate the contents of a path
hooks/charmhelpers/core/host.py:110
Methodsave
Save this config to disk. Preserves items in _prev_dict that do not exist in self.
hooks/charmhelpers/core/hookenv.py:238
Functionservice_available
Determine whether a system service is available
hooks/charmhelpers/core/host.py:67
Functionservice_name
The name service group this unit belongs to
hooks/charmhelpers/core/hookenv.py:148
Functionservice_reload
Reload a system service, optionally falling back to restart if reload fails
hooks/charmhelpers/core/host.py:39
Functionservice_restart
Restart a system service
hooks/charmhelpers/core/host.py:34
Functionservice_restart
Wrapper around host.service_restart to prevent spurious "unknown service" messages in the logs.
hooks/charmhelpers/core/services/base.py:292
Functionservice_running
Determine whether a system service is running
hooks/charmhelpers/core/host.py:54
Functionservice_start
Start a system service
hooks/charmhelpers/core/host.py:24
Functionservice_stop
Stop a system service
hooks/charmhelpers/core/host.py:29
Functionservice_stop
Wrapper around host.service_stop to prevent spurious "unknown service" messages in the logs.
hooks/charmhelpers/core/services/base.py:283
Functionset_nic_mtu
Set MTU on a network interface
hooks/charmhelpers/core/host.py:314
Functionsymlink
Create a symbolic link
hooks/charmhelpers/core/host.py:121
Functionumount
Unmount a filesystem
hooks/charmhelpers/core/host.py:204
Functionunit_private_ip
Get this unit's private IP address
hooks/charmhelpers/core/hookenv.py:435
Functionwrap
(f)
hooks/charmhelpers/core/host.py:253
Functionwrapped_f
(*args)
hooks/charmhelpers/core/host.py:254
Functionwrapper
(*args, **kwargs)
hooks/charmhelpers/core/hookenv.py:38
Methodwrapper
(decorated)
hooks/charmhelpers/core/hookenv.py:485
Functionwrite_file
Create or overwrite a file with the contents of a string
hooks/charmhelpers/core/host.py:149
Methodyaml
Serialize the object to yaml
hooks/charmhelpers/core/hookenv.py:104
← previous101–157 of 157, ranked by callers