Class: SparkleFormation::SparkleStruct::Google
- Inherits:
-
SparkleFormation::SparkleStruct
- Object
- AttributeStruct
- SparkleFormation::SparkleStruct
- SparkleFormation::SparkleStruct::Google
- Defined in:
- lib/sparkle_formation/sparkle_struct.rb
Overview
Google specific struct
Instance Method Summary collapse
-
#__attribute_key(key) ⇒ String
included
from SparkleFormation::SparkleAttribute
Format the provided key.
- #_dynamic(name, *args) {|new_struct| ... } ⇒ self (also: #dynamic!) included from SparkleFormation::SparkleAttribute
-
#_env(e_name) ⇒ SparkleFormation::JinjaExpressionStruct
(also: #env!)
included
from SparkleFormation::SparkleAttribute::Google
Request deployment manager environment variable.
-
#_google_dynamic!(name, *args, &block) ⇒ Object
included
from SparkleFormation::SparkleAttribute::Google
Customized dynamic to provide automatic unique name generation for built in resources.
-
#_jinja ⇒ SparkleFormation::JinjaExpressionStruct
(also: #jinja!, #fn!)
included
from SparkleFormation::SparkleAttribute::Google
Jinja function string wrapper.
-
#_method(sym) ⇒ Method
(also: #method!)
included
from SparkleFormation::SparkleAttribute
Lookup a method definition on self.
-
#_nest(template, *names, options = {}) ⇒ self
(also: #nest!)
included
from SparkleFormation::SparkleAttribute
Nest a stack resource.
-
#_property(p_name) ⇒ SparkleFormation::JinjaExpressionStruct
(also: #property!, #properties!)
included
from SparkleFormation::SparkleAttribute::Google
Access a property value supplied to template.
-
#_puts(obj, ...) ⇒ NilClass
(also: #puts!)
included
from SparkleFormation::SparkleAttribute
Print to stdout.
-
#_raise(*args) ⇒ Object
(also: #raise!)
included
from SparkleFormation::SparkleAttribute
Raise an exception.
-
#_ref(r_name) ⇒ SparkleFormation::GoogleStruct
(also: #ref!)
included
from SparkleFormation::SparkleAttribute::Google
Reference generator.
-
#_registry(name, *args) ⇒ Object
(also: #registry!)
included
from SparkleFormation::SparkleAttribute
Return value of registry item.
-
#_resource_name ⇒ String
(also: #resource_name!)
included
from SparkleFormation::SparkleAttribute
Return current resource name.
-
#_stack_output(stack_name, output_name) ⇒ SparkleFormation::JinjaExpressionStruct
(also: #stack_output!)
included
from SparkleFormation::SparkleAttribute::Google
Reference output value from nested stack.
-
#_statement(line) ⇒ SparkleFormation::JinjaStatementStruct
(also: #statement!)
included
from SparkleFormation::SparkleAttribute::Google
Generate a statement.
-
#_system(command) ⇒ String
(also: #system!)
included
from SparkleFormation::SparkleAttribute
Execute system command.
Constructor Details
This class inherits a constructor from SparkleFormation::SparkleStruct
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SparkleFormation::SparkleStruct
Instance Method Details
#__attribute_key(key) ⇒ String Originally defined in module SparkleFormation::SparkleAttribute
Format the provided key. If symbol type is provided formatting is forced. Otherwise the default formatting is applied
#_dynamic(resource_type, custom_name, options = {}) ⇒ self #_dynamic(dynamic_name, custom_name, options = {}) ⇒ self Also known as: dynamic! Originally defined in module SparkleFormation::SparkleAttribute
#_env(e_name) ⇒ SparkleFormation::JinjaExpressionStruct Also known as: env! Originally defined in module SparkleFormation::SparkleAttribute::Google
Request deployment manager environment variable
#_google_dynamic!(name, *args, &block) ⇒ Object Originally defined in module SparkleFormation::SparkleAttribute::Google
generate unique names using the :sparkle_unique
argument
Customized dynamic to provide automatic unique name generation for built in resources
#_jinja ⇒ SparkleFormation::JinjaExpressionStruct Also known as: jinja!, fn! Originally defined in module SparkleFormation::SparkleAttribute::Google
Jinja function string wrapper
#_method(sym) ⇒ Method Also known as: method! Originally defined in module SparkleFormation::SparkleAttribute
usually used as puts! method!(:foo).source_location
#_nest(template, *names, options = {}) ⇒ self Also known as: nest! Originally defined in module SparkleFormation::SparkleAttribute
#_property(p_name) ⇒ SparkleFormation::JinjaExpressionStruct Also known as: property!, properties! Originally defined in module SparkleFormation::SparkleAttribute::Google
Provide lookup validation that defined p_name is valid
Access a property value supplied to template
#_puts(obj, ...) ⇒ NilClass Also known as: puts! Originally defined in module SparkleFormation::SparkleAttribute
#_raise(*args) ⇒ Object Also known as: raise! Originally defined in module SparkleFormation::SparkleAttribute
Raise an exception
#_ref(r_name) ⇒ SparkleFormation::GoogleStruct Also known as: ref! Originally defined in module SparkleFormation::SparkleAttribute::Google
Reference generator. Will lookup defined resource name to validate exist.
#_registry(name) ⇒ Object #_registry(name, *args, options = {}) ⇒ Object Also known as: registry! Originally defined in module SparkleFormation::SparkleAttribute
Return value of registry item
#_resource_name ⇒ String Also known as: resource_name! Originally defined in module SparkleFormation::SparkleAttribute
Return current resource name
#_stack_output(stack_name, output_name) ⇒ SparkleFormation::JinjaExpressionStruct Also known as: stack_output! Originally defined in module SparkleFormation::SparkleAttribute::Google
Reference output value from nested stack
#_statement(line) ⇒ SparkleFormation::JinjaStatementStruct Also known as: statement! Originally defined in module SparkleFormation::SparkleAttribute::Google
Generate a statement
#_system(command) ⇒ String Also known as: system! Originally defined in module SparkleFormation::SparkleAttribute
Execute system command