Developer Details¶
-
class
flapjack_stack.flapjack_stack.
FlapjackStack
[source]¶ A container to hold layers of stack attributes stored in Layer objects
-
add_layer
(obj=None)[source]¶ This function adds another empty layer (Layer) to the layers list and optionally merges a given object into this layer
Parameters: obj (object) – An object to be merged with this layer
-
add_layer_from_env
()[source]¶ This function creates a new layer, gets a list of all the current attributes, and attempts to find matching environment variables with the prefix of FJS_. If matches are found it sets those attributes in the new layer.
-
add_layer_from_file
(filename)[source]¶ This function calls all supported file type handlers which in turn populate a new empty layer (Layer) the provided file’s contents
Parameters: filename (string) – The name of a file to read
-
add_layer_from_py_file
(filename)[source]¶ This function implements loading a Python file and populating a new empty layer (Layer) with its contents
Parameters: filename (string) – The name of a file to read
-
add_layer_from_yaml_file
(filename)[source]¶ This function implements loading a YAML file and populating a new empty layer (Layer) with its contents
Parameters: filename (string) – The name of a file to read
-