Lines Matching refs:deploy_config
137 def validate_path(deploy_config): argument
144 target = deploy_config['target']
145 source = deploy_config['source']
158 deploy_config['source'] = source
162 def validate(deploy_config): argument
176 DeployConfigManager.validate_path(deploy_config)
177 return DeployConfig(**deploy_config)
181 def validate_mount(deploy_config): argument
196 DeployConfigManager.validate_path(deploy_config)
197 c = MountConfig(**deploy_config)
240 def _deploy_config_pre_start(self, deploy_config): argument
249 if not lxc_utils.path_exists(deploy_config.source):
252 if deploy_config.append:
254 os.path.basename(deploy_config.target))
256 target = deploy_config.target
258 self.container.copy(deploy_config.source, target)
261 def _deploy_config_post_start(self, deploy_config): argument
273 if deploy_config.append:
275 os.path.basename(deploy_config.target))
277 (source, deploy_config.target))
280 (deploy_config.permission, deploy_config.target))
385 for deploy_config in self.deploy_configs:
386 self._deploy_config_pre_start(deploy_config)
399 for deploy_config in self.deploy_configs:
400 self._deploy_config_post_start(deploy_config)