corl 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +8 -6
- data/VERSION +1 -1
- data/bootstrap/os/ubuntu/00_base.sh +2 -2
- data/bootstrap/os/ubuntu/05_ruby.sh +14 -2
- data/corl.gemspec +175 -5
- data/lib/CORL/builder/identity.rb +1 -1
- data/lib/CORL/builder/package.rb +1 -1
- data/lib/CORL/configuration/file.rb +7 -13
- data/lib/CORL/machine/physical.rb +1 -1
- data/lib/CORL/machine/vagrant.rb +12 -4
- data/lib/CORL/network/CORL.rb +1 -1
- data/lib/CORL/node/AWS.rb +25 -23
- data/lib/CORL/node/local.rb +1 -1
- data/lib/CORL/node/rackspace.rb +13 -15
- data/lib/CORL/node/vagrant.rb +1 -1
- data/lib/CORL/provisioner/puppetnode.rb +1 -1
- data/lib/core/mixin/action/keypair.rb +6 -6
- data/lib/core/mixin/action/registration.rb +39 -11
- data/lib/core/mod/fog_aws_server.rb +1 -3
- data/lib/core/plugin/builder.rb +1 -1
- data/lib/core/plugin/cloud_action.rb +59 -49
- data/lib/core/plugin/configuration.rb +4 -3
- data/lib/core/plugin/fog_machine.rb +10 -2
- data/lib/core/plugin/fog_node.rb +10 -4
- data/lib/core/plugin/machine.rb +2 -8
- data/lib/core/plugin/network.rb +9 -3
- data/lib/core/plugin/node.rb +30 -31
- data/lib/core/plugin/provisioner.rb +1 -1
- data/lib/core/vagrant/Vagrantfile +4 -1
- data/lib/core/vagrant/plugins.rb +6 -4
- data/lib/corl.rb +1 -1
- data/lib/nucleon/action/cloud/config.rb +167 -100
- data/lib/nucleon/action/cloud/create.rb +5 -1
- data/lib/nucleon/action/cloud/images.rb +10 -7
- data/lib/nucleon/action/cloud/inspect.rb +8 -6
- data/lib/nucleon/action/cloud/machines.rb +10 -7
- data/lib/nucleon/action/cloud/regions.rb +13 -8
- data/lib/nucleon/action/cloud/remote.rb +68 -0
- data/lib/nucleon/action/cloud/settings.rb +33 -47
- data/lib/nucleon/action/cloud/vagrantfile.rb +34 -17
- data/lib/nucleon/action/node/IP.rb +2 -2
- data/lib/nucleon/action/node/SSH.rb +3 -3
- data/lib/nucleon/action/node/authorize.rb +2 -2
- data/lib/nucleon/action/node/bootstrap.rb +17 -30
- data/lib/nucleon/action/node/build.rb +4 -4
- data/lib/nucleon/action/node/cache.rb +2 -4
- data/lib/nucleon/action/node/destroy.rb +25 -26
- data/lib/nucleon/action/node/exec.rb +2 -2
- data/lib/nucleon/action/node/fact.rb +10 -5
- data/lib/nucleon/action/node/group.rb +10 -5
- data/lib/nucleon/action/node/identity.rb +6 -8
- data/lib/nucleon/action/node/image.rb +3 -3
- data/lib/nucleon/action/node/keypair.rb +2 -2
- data/lib/nucleon/action/node/lookup.rb +2 -4
- data/lib/nucleon/action/node/provision.rb +2 -2
- data/lib/nucleon/action/node/reboot.rb +3 -3
- data/lib/nucleon/action/node/revoke.rb +2 -2
- data/lib/nucleon/action/node/seed.rb +28 -43
- data/lib/nucleon/action/node/spawn.rb +19 -14
- data/lib/nucleon/action/node/start.rb +3 -3
- data/lib/nucleon/action/node/status.rb +8 -8
- data/lib/nucleon/action/node/stop.rb +3 -3
- data/lib/nucleon/action/plugin/create.rb +10 -13
- data/lib/nucleon/action/plugin/list.rb +7 -7
- data/lib/nucleon/action/plugin/template/nucleon.action.erb +2 -2
- data/lib/nucleon/action/plugins.rb +12 -1
- data/lib/nucleon/event/puppet.rb +1 -1
- data/lib/nucleon/extension/corl_config.rb +26 -0
- data/lib/nucleon/template/environment.rb +1 -1
- data/locales/en.yml +483 -90
- data/rdoc/site/0.5.1/CORL/Build.html +781 -0
- data/rdoc/site/0.5.1/CORL/Builder/Identity.html +596 -0
- data/rdoc/site/0.5.1/CORL/Builder/Package.html +600 -0
- data/rdoc/site/0.5.1/CORL/Builder.html +384 -0
- data/rdoc/site/0.5.1/CORL/Configuration/File.html +1186 -0
- data/rdoc/site/0.5.1/CORL/Configuration.html +383 -0
- data/rdoc/site/0.5.1/CORL/Errors.html +383 -0
- data/rdoc/site/0.5.1/CORL/Facade.html +927 -0
- data/rdoc/site/0.5.1/CORL/Machine/AWS.html +777 -0
- data/rdoc/site/0.5.1/CORL/Machine/Fog.html +1313 -0
- data/rdoc/site/0.5.1/CORL/Machine/Physical.html +1083 -0
- data/rdoc/site/0.5.1/CORL/Machine/Rackspace.html +558 -0
- data/rdoc/site/0.5.1/CORL/Machine/Vagrant.html +1344 -0
- data/rdoc/site/0.5.1/CORL/Machine.html +387 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Action/Keypair.html +616 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Action/Registration.html +469 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Action.html +384 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Builder/Global.html +628 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Builder/Instance.html +720 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Builder.html +383 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Lookup.html +1315 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Machine/SSH.html +699 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Machine.html +383 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Macro/NetworkSettings.html +508 -0
- data/rdoc/site/0.5.1/CORL/Mixin/Macro.html +383 -0
- data/rdoc/site/0.5.1/CORL/Mixin.html +388 -0
- data/rdoc/site/0.5.1/CORL/Network/CORL.html +435 -0
- data/rdoc/site/0.5.1/CORL/Network.html +383 -0
- data/rdoc/site/0.5.1/CORL/Node/AWS.html +760 -0
- data/rdoc/site/0.5.1/CORL/Node/Fog.html +1268 -0
- data/rdoc/site/0.5.1/CORL/Node/Local.html +468 -0
- data/rdoc/site/0.5.1/CORL/Node/Rackspace.html +753 -0
- data/rdoc/site/0.5.1/CORL/Node/Vagrant.html +1497 -0
- data/rdoc/site/0.5.1/CORL/Node.html +387 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Builder.html +524 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Configuration.html +1294 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Machine.html +1323 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Network.html +1766 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Node.html +4263 -0
- data/rdoc/site/0.5.1/CORL/Plugin/Provisioner.html +1139 -0
- data/rdoc/site/0.5.1/CORL/Plugin.html +673 -0
- data/rdoc/site/0.5.1/CORL/Provisioner/Puppetnode.html +1201 -0
- data/rdoc/site/0.5.1/CORL/Provisioner.html +383 -0
- data/rdoc/site/0.5.1/CORL/Util/Puppet/Resource.html +1082 -0
- data/rdoc/site/0.5.1/CORL/Util/Puppet/ResourceGroup.html +964 -0
- data/rdoc/site/0.5.1/CORL/Util/Puppet.html +1131 -0
- data/rdoc/site/0.5.1/CORL/Util.html +385 -0
- data/rdoc/site/0.5.1/CORL/Vagrant/Config.html +967 -0
- data/rdoc/site/0.5.1/CORL/Vagrant.html +462 -0
- data/rdoc/site/0.5.1/CORL.html +496 -0
- data/rdoc/site/0.5.1/Fog/Compute/AWS/Server.html +467 -0
- data/rdoc/site/0.5.1/Fog/Compute/AWS.html +389 -0
- data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2/Server.html +452 -0
- data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2.html +389 -0
- data/rdoc/site/0.5.1/Fog/Compute.html +384 -0
- data/rdoc/site/0.5.1/Fog.html +384 -0
- data/rdoc/site/0.5.1/Hiera/Backend.html +466 -0
- data/rdoc/site/0.5.1/Hiera/Corl_logger.html +493 -0
- data/rdoc/site/0.5.1/Hiera.html +390 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Config.html +978 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Create.html +562 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Images.html +596 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Inspect.html +567 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Machines.html +591 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Regions.html +591 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Settings.html +878 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Vagrantfile.html +539 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Cloud.html +390 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Authorize.html +567 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Bootstrap.html +628 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Build.html +550 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Cache.html +773 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Destroy.html +597 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Exec.html +554 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Fact.html +733 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Facts.html +505 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Group.html +729 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Groups.html +505 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/IP.html +477 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Identity.html +614 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Image.html +597 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Keypair.html +596 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Lookup.html +579 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Provision.html +577 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Reboot.html +597 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Revoke.html +565 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/SSH.html +607 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Seed.html +626 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Spawn.html +699 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Start.html +597 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Status.html +615 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node/Stop.html +597 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Node.html +406 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin/Create.html +736 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin/List.html +570 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Plugin.html +384 -0
- data/rdoc/site/0.5.1/Nucleon/Action/Plugins.html +435 -0
- data/rdoc/site/0.5.1/Nucleon/Action.html +417 -0
- data/rdoc/site/0.5.1/Nucleon/Config.html +401 -0
- data/rdoc/site/0.5.1/Nucleon/Event/Puppet.html +717 -0
- data/rdoc/site/0.5.1/Nucleon/Event.html +383 -0
- data/rdoc/site/0.5.1/Nucleon/Plugin/Base.html +389 -0
- data/rdoc/site/0.5.1/Nucleon/Plugin/CloudAction.html +894 -0
- data/rdoc/site/0.5.1/Nucleon/Plugin.html +384 -0
- data/rdoc/site/0.5.1/Nucleon/Template/Environment.html +572 -0
- data/rdoc/site/0.5.1/Nucleon/Template.html +383 -0
- data/rdoc/site/0.5.1/Nucleon.html +421 -0
- data/rdoc/site/0.5.1/Object.html +402 -0
- data/rdoc/site/0.5.1/Puppet/DataBinding/Corl.html +389 -0
- data/rdoc/site/0.5.1/Puppet/DataBinding.html +382 -0
- data/rdoc/site/0.5.1/Puppet/Indirector/Corl.html +501 -0
- data/rdoc/site/0.5.1/Puppet/Indirector.html +382 -0
- data/rdoc/site/0.5.1/Puppet/Parser/Functions.html +524 -0
- data/rdoc/site/0.5.1/Puppet/Parser.html +382 -0
- data/rdoc/site/0.5.1/Puppet.html +382 -0
- data/rdoc/site/0.5.1/README_rdoc.html +384 -0
- data/rdoc/site/0.5.1/Vagrant/Config/Loader.html +443 -0
- data/rdoc/site/0.5.1/Vagrant/Config.html +383 -0
- data/rdoc/site/0.5.1/Vagrant/Vagrantfile.html +436 -0
- data/rdoc/site/0.5.1/Vagrant.html +390 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/DeleteCache.html +446 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/InitKeys.html +452 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/LinkNetwork.html +450 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action.html +385 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/BaseAction.html +535 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command/Launcher.html +577 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command.html +383 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config/CORL.html +776 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config.html +383 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Plugin.html +389 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner/CORL.html +580 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner.html +383 -0
- data/rdoc/site/0.5.1/VagrantPlugins/CORL.html +390 -0
- data/rdoc/site/0.5.1/VagrantPlugins.html +390 -0
- data/rdoc/site/0.5.1/created.rid +114 -0
- data/rdoc/site/0.5.1/images/add.png +0 -0
- data/rdoc/site/0.5.1/images/brick.png +0 -0
- data/rdoc/site/0.5.1/images/brick_link.png +0 -0
- data/rdoc/site/0.5.1/images/bug.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_black.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.5.1/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.5.1/images/date.png +0 -0
- data/rdoc/site/0.5.1/images/delete.png +0 -0
- data/rdoc/site/0.5.1/images/find.png +0 -0
- data/rdoc/site/0.5.1/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.5.1/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.5.1/images/package.png +0 -0
- data/rdoc/site/0.5.1/images/page_green.png +0 -0
- data/rdoc/site/0.5.1/images/page_white_text.png +0 -0
- data/rdoc/site/0.5.1/images/page_white_width.png +0 -0
- data/rdoc/site/0.5.1/images/plugin.png +0 -0
- data/rdoc/site/0.5.1/images/ruby.png +0 -0
- data/rdoc/site/0.5.1/images/tag_blue.png +0 -0
- data/rdoc/site/0.5.1/images/tag_green.png +0 -0
- data/rdoc/site/0.5.1/images/transparent.png +0 -0
- data/rdoc/site/0.5.1/images/wrench.png +0 -0
- data/rdoc/site/0.5.1/images/wrench_orange.png +0 -0
- data/rdoc/site/0.5.1/images/zoom.png +0 -0
- data/rdoc/site/0.5.1/index.html +383 -0
- data/rdoc/site/0.5.1/js/darkfish.js +155 -0
- data/rdoc/site/0.5.1/js/jquery.js +18 -0
- data/rdoc/site/0.5.1/js/navigation.js +142 -0
- data/rdoc/site/0.5.1/js/search.js +94 -0
- data/rdoc/site/0.5.1/js/search_index.js +1 -0
- data/rdoc/site/0.5.1/js/searcher.js +228 -0
- data/rdoc/site/0.5.1/rdoc.css +543 -0
- data/rdoc/site/0.5.1/table_of_contents.html +2005 -0
- metadata +174 -4
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
+
|
|
7
|
+
<title>corl 0.5.1</title>
|
|
8
|
+
|
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
|
10
|
+
|
|
11
|
+
<script type="text/javascript">
|
|
12
|
+
var rdoc_rel_prefix = "./";
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<body>
|
|
24
|
+
<nav id="metadata">
|
|
25
|
+
<nav id="home-section" class="section">
|
|
26
|
+
<h3 class="section-header">
|
|
27
|
+
<a href="./index.html">Home</a>
|
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
|
30
|
+
</h3>
|
|
31
|
+
</nav>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
+
<h3 class="section-header">
|
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
+
</h3>
|
|
40
|
+
</form>
|
|
41
|
+
|
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
+
</nav>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div id="project-metadata">
|
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
|
48
|
+
<h3 class="section-header">Pages</h3>
|
|
49
|
+
|
|
50
|
+
<ul>
|
|
51
|
+
|
|
52
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
|
53
|
+
|
|
54
|
+
</ul>
|
|
55
|
+
</nav>
|
|
56
|
+
|
|
57
|
+
<nav id="classindex-section" class="section project-section">
|
|
58
|
+
<h3 class="section-header">Class and Module Index</h3>
|
|
59
|
+
|
|
60
|
+
<ul class="link-list">
|
|
61
|
+
|
|
62
|
+
<li><a href="./CORL.html">CORL</a>
|
|
63
|
+
|
|
64
|
+
<li><a href="./CORL/Build.html">CORL::Build</a>
|
|
65
|
+
|
|
66
|
+
<li><a href="./CORL/Builder.html">CORL::Builder</a>
|
|
67
|
+
|
|
68
|
+
<li><a href="./CORL/Builder/Identity.html">CORL::Builder::Identity</a>
|
|
69
|
+
|
|
70
|
+
<li><a href="./CORL/Builder/Package.html">CORL::Builder::Package</a>
|
|
71
|
+
|
|
72
|
+
<li><a href="./CORL/Configuration.html">CORL::Configuration</a>
|
|
73
|
+
|
|
74
|
+
<li><a href="./CORL/Configuration/File.html">CORL::Configuration::File</a>
|
|
75
|
+
|
|
76
|
+
<li><a href="./CORL/Errors.html">CORL::Errors</a>
|
|
77
|
+
|
|
78
|
+
<li><a href="./CORL/Facade.html">CORL::Facade</a>
|
|
79
|
+
|
|
80
|
+
<li><a href="./CORL/Machine.html">CORL::Machine</a>
|
|
81
|
+
|
|
82
|
+
<li><a href="./CORL/Machine/AWS.html">CORL::Machine::AWS</a>
|
|
83
|
+
|
|
84
|
+
<li><a href="./CORL/Machine/Fog.html">CORL::Machine::Fog</a>
|
|
85
|
+
|
|
86
|
+
<li><a href="./CORL/Machine/Physical.html">CORL::Machine::Physical</a>
|
|
87
|
+
|
|
88
|
+
<li><a href="./CORL/Machine/Rackspace.html">CORL::Machine::Rackspace</a>
|
|
89
|
+
|
|
90
|
+
<li><a href="./CORL/Machine/Vagrant.html">CORL::Machine::Vagrant</a>
|
|
91
|
+
|
|
92
|
+
<li><a href="./CORL/Mixin.html">CORL::Mixin</a>
|
|
93
|
+
|
|
94
|
+
<li><a href="./CORL/Mixin/Action.html">CORL::Mixin::Action</a>
|
|
95
|
+
|
|
96
|
+
<li><a href="./CORL/Mixin/Action/Keypair.html">CORL::Mixin::Action::Keypair</a>
|
|
97
|
+
|
|
98
|
+
<li><a href="./CORL/Mixin/Action/Registration.html">CORL::Mixin::Action::Registration</a>
|
|
99
|
+
|
|
100
|
+
<li><a href="./CORL/Mixin/Builder.html">CORL::Mixin::Builder</a>
|
|
101
|
+
|
|
102
|
+
<li><a href="./CORL/Mixin/Builder/Global.html">CORL::Mixin::Builder::Global</a>
|
|
103
|
+
|
|
104
|
+
<li><a href="./CORL/Mixin/Builder/Instance.html">CORL::Mixin::Builder::Instance</a>
|
|
105
|
+
|
|
106
|
+
<li><a href="./CORL/Mixin/Lookup.html">CORL::Mixin::Lookup</a>
|
|
107
|
+
|
|
108
|
+
<li><a href="./CORL/Mixin/Machine.html">CORL::Mixin::Machine</a>
|
|
109
|
+
|
|
110
|
+
<li><a href="./CORL/Mixin/Machine/SSH.html">CORL::Mixin::Machine::SSH</a>
|
|
111
|
+
|
|
112
|
+
<li><a href="./CORL/Mixin/Macro.html">CORL::Mixin::Macro</a>
|
|
113
|
+
|
|
114
|
+
<li><a href="./CORL/Mixin/Macro/NetworkSettings.html">CORL::Mixin::Macro::NetworkSettings</a>
|
|
115
|
+
|
|
116
|
+
<li><a href="./CORL/Network.html">CORL::Network</a>
|
|
117
|
+
|
|
118
|
+
<li><a href="./CORL/Network/CORL.html">CORL::Network::CORL</a>
|
|
119
|
+
|
|
120
|
+
<li><a href="./CORL/Node.html">CORL::Node</a>
|
|
121
|
+
|
|
122
|
+
<li><a href="./CORL/Node/AWS.html">CORL::Node::AWS</a>
|
|
123
|
+
|
|
124
|
+
<li><a href="./CORL/Node/Fog.html">CORL::Node::Fog</a>
|
|
125
|
+
|
|
126
|
+
<li><a href="./CORL/Node/Local.html">CORL::Node::Local</a>
|
|
127
|
+
|
|
128
|
+
<li><a href="./CORL/Node/Rackspace.html">CORL::Node::Rackspace</a>
|
|
129
|
+
|
|
130
|
+
<li><a href="./CORL/Node/Vagrant.html">CORL::Node::Vagrant</a>
|
|
131
|
+
|
|
132
|
+
<li><a href="./CORL/Plugin.html">CORL::Plugin</a>
|
|
133
|
+
|
|
134
|
+
<li><a href="./CORL/Plugin/Builder.html">CORL::Plugin::Builder</a>
|
|
135
|
+
|
|
136
|
+
<li><a href="./CORL/Plugin/Configuration.html">CORL::Plugin::Configuration</a>
|
|
137
|
+
|
|
138
|
+
<li><a href="./CORL/Plugin/Machine.html">CORL::Plugin::Machine</a>
|
|
139
|
+
|
|
140
|
+
<li><a href="./CORL/Plugin/Network.html">CORL::Plugin::Network</a>
|
|
141
|
+
|
|
142
|
+
<li><a href="./CORL/Plugin/Node.html">CORL::Plugin::Node</a>
|
|
143
|
+
|
|
144
|
+
<li><a href="./CORL/Plugin/Provisioner.html">CORL::Plugin::Provisioner</a>
|
|
145
|
+
|
|
146
|
+
<li><a href="./CORL/Provisioner.html">CORL::Provisioner</a>
|
|
147
|
+
|
|
148
|
+
<li><a href="./CORL/Provisioner/Puppetnode.html">CORL::Provisioner::Puppetnode</a>
|
|
149
|
+
|
|
150
|
+
<li><a href="./CORL/Util.html">CORL::Util</a>
|
|
151
|
+
|
|
152
|
+
<li><a href="./CORL/Util/Puppet.html">CORL::Util::Puppet</a>
|
|
153
|
+
|
|
154
|
+
<li><a href="./CORL/Util/Puppet/Resource.html">CORL::Util::Puppet::Resource</a>
|
|
155
|
+
|
|
156
|
+
<li><a href="./CORL/Util/Puppet/ResourceGroup.html">CORL::Util::Puppet::ResourceGroup</a>
|
|
157
|
+
|
|
158
|
+
<li><a href="./CORL/Vagrant.html">CORL::Vagrant</a>
|
|
159
|
+
|
|
160
|
+
<li><a href="./CORL/Vagrant/Config.html">CORL::Vagrant::Config</a>
|
|
161
|
+
|
|
162
|
+
<li><a href="./Nucleon.html">Nucleon</a>
|
|
163
|
+
|
|
164
|
+
<li><a href="./Nucleon/Action.html">Nucleon::Action</a>
|
|
165
|
+
|
|
166
|
+
<li><a href="./Nucleon/Action/Cloud.html">Nucleon::Action::Cloud</a>
|
|
167
|
+
|
|
168
|
+
<li><a href="./Nucleon/Action/Cloud/Config.html">Nucleon::Action::Cloud::Config</a>
|
|
169
|
+
|
|
170
|
+
<li><a href="./Nucleon/Action/Cloud/Create.html">Nucleon::Action::Cloud::Create</a>
|
|
171
|
+
|
|
172
|
+
<li><a href="./Nucleon/Action/Cloud/Images.html">Nucleon::Action::Cloud::Images</a>
|
|
173
|
+
|
|
174
|
+
<li><a href="./Nucleon/Action/Cloud/Inspect.html">Nucleon::Action::Cloud::Inspect</a>
|
|
175
|
+
|
|
176
|
+
<li><a href="./Nucleon/Action/Cloud/Machines.html">Nucleon::Action::Cloud::Machines</a>
|
|
177
|
+
|
|
178
|
+
<li><a href="./Nucleon/Action/Cloud/Regions.html">Nucleon::Action::Cloud::Regions</a>
|
|
179
|
+
|
|
180
|
+
<li><a href="./Nucleon/Action/Cloud/Settings.html">Nucleon::Action::Cloud::Settings</a>
|
|
181
|
+
|
|
182
|
+
<li><a href="./Nucleon/Action/Cloud/Vagrantfile.html">Nucleon::Action::Cloud::Vagrantfile</a>
|
|
183
|
+
|
|
184
|
+
<li><a href="./Nucleon/Action/Node.html">Nucleon::Action::Node</a>
|
|
185
|
+
|
|
186
|
+
<li><a href="./Nucleon/Action/Node/Authorize.html">Nucleon::Action::Node::Authorize</a>
|
|
187
|
+
|
|
188
|
+
<li><a href="./Nucleon/Action/Node/Bootstrap.html">Nucleon::Action::Node::Bootstrap</a>
|
|
189
|
+
|
|
190
|
+
<li><a href="./Nucleon/Action/Node/Build.html">Nucleon::Action::Node::Build</a>
|
|
191
|
+
|
|
192
|
+
<li><a href="./Nucleon/Action/Node/Cache.html">Nucleon::Action::Node::Cache</a>
|
|
193
|
+
|
|
194
|
+
<li><a href="./Nucleon/Action/Node/Destroy.html">Nucleon::Action::Node::Destroy</a>
|
|
195
|
+
|
|
196
|
+
<li><a href="./Nucleon/Action/Node/Exec.html">Nucleon::Action::Node::Exec</a>
|
|
197
|
+
|
|
198
|
+
<li><a href="./Nucleon/Action/Node/Fact.html">Nucleon::Action::Node::Fact</a>
|
|
199
|
+
|
|
200
|
+
<li><a href="./Nucleon/Action/Node/Facts.html">Nucleon::Action::Node::Facts</a>
|
|
201
|
+
|
|
202
|
+
<li><a href="./Nucleon/Action/Node/Group.html">Nucleon::Action::Node::Group</a>
|
|
203
|
+
|
|
204
|
+
<li><a href="./Nucleon/Action/Node/Groups.html">Nucleon::Action::Node::Groups</a>
|
|
205
|
+
|
|
206
|
+
<li><a href="./Nucleon/Action/Node/IP.html">Nucleon::Action::Node::IP</a>
|
|
207
|
+
|
|
208
|
+
<li><a href="./Nucleon/Action/Node/Identity.html">Nucleon::Action::Node::Identity</a>
|
|
209
|
+
|
|
210
|
+
<li><a href="./Nucleon/Action/Node/Image.html">Nucleon::Action::Node::Image</a>
|
|
211
|
+
|
|
212
|
+
<li><a href="./Nucleon/Action/Node/Keypair.html">Nucleon::Action::Node::Keypair</a>
|
|
213
|
+
|
|
214
|
+
<li><a href="./Nucleon/Action/Node/Lookup.html">Nucleon::Action::Node::Lookup</a>
|
|
215
|
+
|
|
216
|
+
<li><a href="./Nucleon/Action/Node/Provision.html">Nucleon::Action::Node::Provision</a>
|
|
217
|
+
|
|
218
|
+
<li><a href="./Nucleon/Action/Node/Reboot.html">Nucleon::Action::Node::Reboot</a>
|
|
219
|
+
|
|
220
|
+
<li><a href="./Nucleon/Action/Node/Revoke.html">Nucleon::Action::Node::Revoke</a>
|
|
221
|
+
|
|
222
|
+
<li><a href="./Nucleon/Action/Node/SSH.html">Nucleon::Action::Node::SSH</a>
|
|
223
|
+
|
|
224
|
+
<li><a href="./Nucleon/Action/Node/Seed.html">Nucleon::Action::Node::Seed</a>
|
|
225
|
+
|
|
226
|
+
<li><a href="./Nucleon/Action/Node/Spawn.html">Nucleon::Action::Node::Spawn</a>
|
|
227
|
+
|
|
228
|
+
<li><a href="./Nucleon/Action/Node/Start.html">Nucleon::Action::Node::Start</a>
|
|
229
|
+
|
|
230
|
+
<li><a href="./Nucleon/Action/Node/Status.html">Nucleon::Action::Node::Status</a>
|
|
231
|
+
|
|
232
|
+
<li><a href="./Nucleon/Action/Node/Stop.html">Nucleon::Action::Node::Stop</a>
|
|
233
|
+
|
|
234
|
+
<li><a href="./Nucleon/Action/Plugin.html">Nucleon::Action::Plugin</a>
|
|
235
|
+
|
|
236
|
+
<li><a href="./Nucleon/Action/Plugin/Create.html">Nucleon::Action::Plugin::Create</a>
|
|
237
|
+
|
|
238
|
+
<li><a href="./Nucleon/Action/Plugin/List.html">Nucleon::Action::Plugin::List</a>
|
|
239
|
+
|
|
240
|
+
<li><a href="./Nucleon/Action/Plugins.html">Nucleon::Action::Plugins</a>
|
|
241
|
+
|
|
242
|
+
<li><a href="./Nucleon/Config.html">Nucleon::Config</a>
|
|
243
|
+
|
|
244
|
+
<li><a href="./Nucleon/Event.html">Nucleon::Event</a>
|
|
245
|
+
|
|
246
|
+
<li><a href="./Nucleon/Event/Puppet.html">Nucleon::Event::Puppet</a>
|
|
247
|
+
|
|
248
|
+
<li><a href="./Nucleon/Plugin.html">Nucleon::Plugin</a>
|
|
249
|
+
|
|
250
|
+
<li><a href="./Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
|
|
251
|
+
|
|
252
|
+
<li><a href="./Nucleon/Plugin/CloudAction.html">Nucleon::Plugin::CloudAction</a>
|
|
253
|
+
|
|
254
|
+
<li><a href="./Nucleon/Template.html">Nucleon::Template</a>
|
|
255
|
+
|
|
256
|
+
<li><a href="./Nucleon/Template/Environment.html">Nucleon::Template::Environment</a>
|
|
257
|
+
|
|
258
|
+
<li><a href="./VagrantPlugins.html">VagrantPlugins</a>
|
|
259
|
+
|
|
260
|
+
<li><a href="./VagrantPlugins/CORL.html">VagrantPlugins::CORL</a>
|
|
261
|
+
|
|
262
|
+
<li><a href="./VagrantPlugins/CORL/Action.html">VagrantPlugins::CORL::Action</a>
|
|
263
|
+
|
|
264
|
+
<li><a href="./VagrantPlugins/CORL/Action/DeleteCache.html">VagrantPlugins::CORL::Action::DeleteCache</a>
|
|
265
|
+
|
|
266
|
+
<li><a href="./VagrantPlugins/CORL/Action/InitKeys.html">VagrantPlugins::CORL::Action::InitKeys</a>
|
|
267
|
+
|
|
268
|
+
<li><a href="./VagrantPlugins/CORL/Action/LinkNetwork.html">VagrantPlugins::CORL::Action::LinkNetwork</a>
|
|
269
|
+
|
|
270
|
+
<li><a href="./VagrantPlugins/CORL/BaseAction.html">VagrantPlugins::CORL::BaseAction</a>
|
|
271
|
+
|
|
272
|
+
<li><a href="./VagrantPlugins/CORL/Command.html">VagrantPlugins::CORL::Command</a>
|
|
273
|
+
|
|
274
|
+
<li><a href="./VagrantPlugins/CORL/Command/Launcher.html">VagrantPlugins::CORL::Command::Launcher</a>
|
|
275
|
+
|
|
276
|
+
<li><a href="./VagrantPlugins/CORL/Config.html">VagrantPlugins::CORL::Config</a>
|
|
277
|
+
|
|
278
|
+
<li><a href="./VagrantPlugins/CORL/Config/CORL.html">VagrantPlugins::CORL::Config::CORL</a>
|
|
279
|
+
|
|
280
|
+
<li><a href="./VagrantPlugins/CORL/Plugin.html">VagrantPlugins::CORL::Plugin</a>
|
|
281
|
+
|
|
282
|
+
<li><a href="./VagrantPlugins/CORL/Provisioner.html">VagrantPlugins::CORL::Provisioner</a>
|
|
283
|
+
|
|
284
|
+
<li><a href="./VagrantPlugins/CORL/Provisioner/CORL.html">VagrantPlugins::CORL::Provisioner::CORL</a>
|
|
285
|
+
|
|
286
|
+
<li><a href="./Puppet.html">Puppet</a>
|
|
287
|
+
|
|
288
|
+
<li><a href="./Puppet/DataBinding.html">Puppet::DataBinding</a>
|
|
289
|
+
|
|
290
|
+
<li><a href="./Puppet/DataBinding/Corl.html">Puppet::DataBinding::Corl</a>
|
|
291
|
+
|
|
292
|
+
<li><a href="./Puppet/Indirector.html">Puppet::Indirector</a>
|
|
293
|
+
|
|
294
|
+
<li><a href="./Puppet/Indirector/Corl.html">Puppet::Indirector::Corl</a>
|
|
295
|
+
|
|
296
|
+
<li><a href="./Puppet/Parser.html">Puppet::Parser</a>
|
|
297
|
+
|
|
298
|
+
<li><a href="./Puppet/Parser/Functions.html">Puppet::Parser::Functions</a>
|
|
299
|
+
|
|
300
|
+
<li><a href="./Fog.html">Fog</a>
|
|
301
|
+
|
|
302
|
+
<li><a href="./Fog/Compute.html">Fog::Compute</a>
|
|
303
|
+
|
|
304
|
+
<li><a href="./Fog/Compute/AWS.html">Fog::Compute::AWS</a>
|
|
305
|
+
|
|
306
|
+
<li><a href="./Fog/Compute/AWS/Server.html">Fog::Compute::AWS::Server</a>
|
|
307
|
+
|
|
308
|
+
<li><a href="./Fog/Compute/RackspaceV2.html">Fog::Compute::RackspaceV2</a>
|
|
309
|
+
|
|
310
|
+
<li><a href="./Fog/Compute/RackspaceV2/Server.html">Fog::Compute::RackspaceV2::Server</a>
|
|
311
|
+
|
|
312
|
+
<li><a href="./Vagrant.html">Vagrant</a>
|
|
313
|
+
|
|
314
|
+
<li><a href="./Vagrant/Config.html">Vagrant::Config</a>
|
|
315
|
+
|
|
316
|
+
<li><a href="./Vagrant/Config/Loader.html">Vagrant::Config::Loader</a>
|
|
317
|
+
|
|
318
|
+
<li><a href="./Vagrant/Vagrantfile.html">Vagrant::Vagrantfile</a>
|
|
319
|
+
|
|
320
|
+
<li><a href="./Hiera.html">Hiera</a>
|
|
321
|
+
|
|
322
|
+
<li><a href="./Hiera/Backend.html">Hiera::Backend</a>
|
|
323
|
+
|
|
324
|
+
<li><a href="./Hiera/Corl_logger.html">Hiera::Corl_logger</a>
|
|
325
|
+
|
|
326
|
+
<li><a href="./Object.html">Object</a>
|
|
327
|
+
|
|
328
|
+
</ul>
|
|
329
|
+
</nav>
|
|
330
|
+
|
|
331
|
+
</div>
|
|
332
|
+
</nav>
|
|
333
|
+
|
|
334
|
+
<div id="documentation" class="description">
|
|
335
|
+
|
|
336
|
+
<p>## Welcome to <a href="CORL.html">CORL</a> (Coral Orchestration and
|
|
337
|
+
Research Library)</p>
|
|
338
|
+
|
|
339
|
+
<p><a href="CORL.html">CORL</a> is a cloud application framework and command
|
|
340
|
+
line utility that provides easy and extensible creation and management of
|
|
341
|
+
project based networks and nodes and relevant infrastructure.</p>
|
|
342
|
+
|
|
343
|
+
<p>The <a href="CORL.html">CORL</a> system is built on top of our general
|
|
344
|
+
purpose <a href="Nucleon.html">Nucleon</a> application framework.</p>
|
|
345
|
+
|
|
346
|
+
<h4 id="label-Contributing+to+CORL">Contributing to <a href="CORL.html">CORL</a></h4>
|
|
347
|
+
<ul><li>
|
|
348
|
+
<p>Check out the latest {major}.{minor} branch to make sure the feature
|
|
349
|
+
hasn't been implemented or the bug hasn't been fixed yet.</p>
|
|
350
|
+
</li><li>
|
|
351
|
+
<p>Check out the issue tracker to make sure someone already hasn't
|
|
352
|
+
requested it and/or contributed it.</p>
|
|
353
|
+
</li><li>
|
|
354
|
+
<p>Fork the project.</p>
|
|
355
|
+
</li><li>
|
|
356
|
+
<p>Start a feature/bugfix branch.</p>
|
|
357
|
+
</li><li>
|
|
358
|
+
<p>Commit and push until you are happy with your contribution.</p>
|
|
359
|
+
</li><li>
|
|
360
|
+
<p>If possible, add tests for it. This is important so I don't break it in
|
|
361
|
+
a future version unintentionally.</p>
|
|
362
|
+
</li><li>
|
|
363
|
+
<p>Please try not to mess with the Rakefile, version, or history. If you want
|
|
364
|
+
to have your own version, or is otherwise necessary, that is fine, but
|
|
365
|
+
please isolate to its own commit so I can cherry-pick around it.</p>
|
|
366
|
+
</li></ul>
|
|
367
|
+
|
|
368
|
+
<h4 id="label-Copyright">Copyright</h4>
|
|
369
|
+
|
|
370
|
+
<p>Licensed under Apache License 2.0. See LICENSE.txt for further details.</p>
|
|
371
|
+
|
|
372
|
+
<p>Copyright © 2013-2014 Adrian Webb <coralnexus at adrian.webb.com>
|
|
373
|
+
Coral Technology Group LLC</p>
|
|
374
|
+
|
|
375
|
+
</div>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
<footer id="validator-badges">
|
|
379
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
380
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
|
|
381
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
382
|
+
</footer>
|
|
383
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Darkfish Page Functions
|
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
|
5
|
+
*
|
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
|
11
|
+
if (!("console" in window) || !("firebug" in console)) {
|
|
12
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
|
13
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
|
14
|
+
|
|
15
|
+
window.console = {};
|
|
16
|
+
for (var i = 0; i < names.length; ++i)
|
|
17
|
+
window.console[names[i]] = function() {};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Unwrap the first element that matches the given @expr@ from the targets and return them.
|
|
23
|
+
*/
|
|
24
|
+
$.fn.unwrap = function( expr ) {
|
|
25
|
+
return this.each( function() {
|
|
26
|
+
$(this).parents( expr ).eq( 0 ).after( this ).remove();
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
function showSource( e ) {
|
|
32
|
+
var target = e.target;
|
|
33
|
+
var codeSections = $(target).
|
|
34
|
+
parents('.method-detail').
|
|
35
|
+
find('.method-source-code');
|
|
36
|
+
|
|
37
|
+
$(target).
|
|
38
|
+
parents('.method-detail').
|
|
39
|
+
find('.method-source-code').
|
|
40
|
+
slideToggle();
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
function hookSourceViews() {
|
|
44
|
+
$('.method-heading').click( showSource );
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
function toggleDebuggingSection() {
|
|
48
|
+
$('.debugging-section').slideToggle();
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
function hookDebuggingToggle() {
|
|
52
|
+
$('#debugging-toggle img').click( toggleDebuggingSection );
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
function hookTableOfContentsToggle() {
|
|
56
|
+
$('.indexpage li .toc-toggle').each( function() {
|
|
57
|
+
$(this).click( function() {
|
|
58
|
+
$(this).toggleClass('open');
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
var section = $(this).next();
|
|
62
|
+
|
|
63
|
+
$(this).click( function() {
|
|
64
|
+
section.slideToggle();
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function hookSearch() {
|
|
70
|
+
var input = $('#search-field').eq(0);
|
|
71
|
+
var result = $('#search-results').eq(0);
|
|
72
|
+
$(result).show();
|
|
73
|
+
|
|
74
|
+
var search_section = $('#search-section').get(0);
|
|
75
|
+
$(search_section).show();
|
|
76
|
+
|
|
77
|
+
var search = new Search(search_data, input, result);
|
|
78
|
+
|
|
79
|
+
search.renderItem = function(result) {
|
|
80
|
+
var li = document.createElement('li');
|
|
81
|
+
var html = '';
|
|
82
|
+
|
|
83
|
+
// TODO add relative path to <script> per-page
|
|
84
|
+
html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
|
|
85
|
+
if (result.params)
|
|
86
|
+
html += '<span class="params">' + result.params + '</span>';
|
|
87
|
+
html += '</a>';
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
if (result.namespace)
|
|
91
|
+
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
|
92
|
+
|
|
93
|
+
if (result.snippet)
|
|
94
|
+
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
|
95
|
+
|
|
96
|
+
li.innerHTML = html;
|
|
97
|
+
|
|
98
|
+
return li;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
search.select = function(result) {
|
|
102
|
+
var result_element = result.get(0);
|
|
103
|
+
window.location.href = result_element.firstChild.firstChild.href;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
search.scrollIntoView = search.scrollInWindow;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
function highlightTarget( anchor ) {
|
|
110
|
+
console.debug( "Highlighting target '%s'.", anchor );
|
|
111
|
+
|
|
112
|
+
$("a[name]").each( function() {
|
|
113
|
+
if ( $(this).attr("name") == anchor ) {
|
|
114
|
+
if ( !$(this).parent().parent().hasClass('target-section') ) {
|
|
115
|
+
console.debug( "Wrapping the target-section" );
|
|
116
|
+
$('div.method-detail').unwrap( 'div.target-section' );
|
|
117
|
+
$(this).parent().wrap( '<div class="target-section"></div>' );
|
|
118
|
+
} else {
|
|
119
|
+
console.debug( "Already wrapped." );
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
function highlightLocationTarget() {
|
|
126
|
+
console.debug( "Location hash: %s", window.location.hash );
|
|
127
|
+
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
|
|
128
|
+
|
|
129
|
+
var anchor = window.location.hash.substring(1);
|
|
130
|
+
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
|
|
131
|
+
|
|
132
|
+
highlightTarget( anchor );
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
function highlightClickTarget( event ) {
|
|
136
|
+
console.debug( "Highlighting click target for event %o", event.target );
|
|
137
|
+
try {
|
|
138
|
+
var anchor = $(event.target).attr( 'href' ).substring(1);
|
|
139
|
+
console.debug( "Found target anchor: %s", anchor );
|
|
140
|
+
highlightTarget( anchor );
|
|
141
|
+
} catch ( err ) {
|
|
142
|
+
console.error( "Exception while highlighting: %o", err );
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
$(document).ready( function() {
|
|
148
|
+
hookSourceViews();
|
|
149
|
+
hookDebuggingToggle();
|
|
150
|
+
hookSearch();
|
|
151
|
+
highlightLocationTarget();
|
|
152
|
+
hookTableOfContentsToggle();
|
|
153
|
+
|
|
154
|
+
$('ul.link-list a').bind( "click", highlightClickTarget );
|
|
155
|
+
});
|