Class: Kubes::Compiler::Dsl::Core::Base
- Inherits:
-
Object
- Object
- Kubes::Compiler::Dsl::Core::Base
- Extended by:
- Fields
- Includes:
- DslEvaluator, Helpers, Shared::RuntimeHelpers
- Defined in:
- lib/kubes/compiler/dsl/core/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Methods included from Fields
Methods included from Shared::RuntimeHelpers
#base_class_for_helper, #load_custom_helpers, #load_custom_variables, #load_plugin_helpers, #load_runtime_helpers, #show_variable_layer_path
Methods included from Util::Pretty
Methods included from Shared::Helpers::SecretHelper
#decode64, #encode64, #generic_secret_data, #parse_env_like_line
Methods included from Shared::Helpers::ExtraHelper
Methods included from Shared::Helpers::DockerHelper
#built_image, #built_image_helper, #docker_image
Methods included from Shared::Helpers::ConfigMapHelper
Methods included from Helpers
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 13 |
# File 'lib/kubes/compiler/dsl/core/base.rb', line 8 def initialize(={}) @options = @name = [:name] @path = [:path] load_runtime_helpers end |
Instance Method Details
#run ⇒ Object
15 16 17 18 |
# File 'lib/kubes/compiler/dsl/core/base.rb', line 15 def run evaluate_file(@path) # main resource definition result end |