Module: SparkleFormation::SparkleAttribute::Rackspace
- Includes:
- Heat
- Included in:
- SparkleFormation::SparkleStruct::Rackspace
- Defined in:
- lib/sparkle_formation/sparkle_attribute/rackspace.rb
Overview
Rackspace specific helper implementations
Class Method Summary collapse
-
.included(klass) ⇒ Object
Set customized struct behavior.
Instance Method Summary collapse
-
#_depends_on(*args) ⇒ Array<String>
(also: #depends_on!)
included
from Heat
Resource dependency generator.
-
#_digest(value, algorithm = "sha512") ⇒ Object
(also: #digest!)
included
from Heat
digest generator.
-
#_get_attr(logical_id, attribute_name) ⇒ Hash
(also: #_attr, #attr!)
included
from Heat
get_attr generator.
-
#_get_file(loc) ⇒ Hash
(also: #_file, #file!)
included
from Heat
get_file generator.
- #_get_param(*args) ⇒ Hash (also: #_param, #param!) included from Heat
-
#_get_resource(r_name) ⇒ Hash
(also: #_resource, #resource!)
included
from Heat
get_resource generator.
-
#_list_join(*args, opts = {}) ⇒ Hash
(also: #_join, #join!)
included
from Heat
list_join generator.
-
#_map_merge(hash1, hash2, ...) ⇒ Hash
(also: #map_merge!)
included
from Heat
map_merge generator.
- #_project_id ⇒ Hash (also: #project_id!) included from Heat
-
#_resource_facade(type) ⇒ Hash
(also: #_facade, #facade!, #resource_facade!)
included
from Heat
resource_facade generator.
- #_stack_id ⇒ Hash (also: #stack_id!) included from Heat
- #_stack_name ⇒ Hash (also: #stack_name!) included from Heat
-
#_stack_output(stack_name, output_name) ⇒ Hash
(also: #stack_output!)
included
from Heat
Reference output value from nested stack.
-
#_str_replace(template, params) ⇒ Hash
(also: #_replace, #replace!)
included
from Heat
str_replace generator.
-
#_str_split(splitter, string, idx = nil) ⇒ Hash
(also: #_split, #split!)
included
from Heat
str_split generator.
Class Method Details
.included(klass) ⇒ Object
Set customized struct behavior
14 15 16 |
# File 'lib/sparkle_formation/sparkle_attribute/rackspace.rb', line 14 def self.included(klass) klass.include SparkleFormation::SparkleAttribute::Heat end |
Instance Method Details
#_depends_on(resource_name) ⇒ Array<String> #_depends_on(resource_names) ⇒ Array<String> #_depends_on(*resource_names) ⇒ Array<String> Also known as: depends_on! Originally defined in module Heat
Note:
this will directly modify the struct at its current context to inject depends on structure
Resource dependency generator
#_digest(value, algorithm = "sha512") ⇒ Object Also known as: digest! Originally defined in module Heat
digest generator
#_get_attr(logical_id, attribute_name) ⇒ Hash Also known as: _attr, attr! Originally defined in module Heat
#_get_file(loc) ⇒ Hash Also known as: _file, file! Originally defined in module Heat
get_file generator
#_get_param(name) ⇒ Hash #_get_param(name, index1, index2, ...) ⇒ Hash Also known as: _param, param! Originally defined in module Heat
#_get_resource(r_name) ⇒ Hash Also known as: _resource, resource! Originally defined in module Heat
get_resource generator
#_list_join(*args, opts = {}) ⇒ Hash Also known as: _join, join! Originally defined in module Heat
#_map_merge(hash1, hash2, ...) ⇒ Hash Also known as: map_merge! Originally defined in module Heat
#_project_id ⇒ Hash Also known as: project_id! Originally defined in module Heat
#_resource_facade(type) ⇒ Hash Also known as: _facade, facade!, resource_facade! Originally defined in module Heat
resource_facade generator
#_stack_id ⇒ Hash Also known as: stack_id! Originally defined in module Heat
#_stack_name ⇒ Hash Also known as: stack_name! Originally defined in module Heat
#_stack_output(stack_name, output_name) ⇒ Hash Also known as: stack_output! Originally defined in module Heat
Reference output value from nested stack
#_str_replace(template, params) ⇒ Hash Also known as: _replace, replace! Originally defined in module Heat
str_replace generator
#_str_split(splitter, string, idx = nil) ⇒ Hash Also known as: _split, split! Originally defined in module Heat
str_split generator