class Orchparty::Kubernetes::ChartBuilder
Public Class Methods
new(name, application, type)
click to toggle source
Calls superclass method
Orchparty::Kubernetes::CommonBuilder::new
# File lib/orchparty/dsl_parser_kubernetes.rb, line 339 def initialize(name, application, type) super AST.chart(name: name, _type: type ) @application = application end
Public Instance Methods
service(name, &block)
click to toggle source
# File lib/orchparty/dsl_parser_kubernetes.rb, line 344 def service(name, &block) result = ServiceBuilder.build(name, "chart-service", block) name = "chart-#{@node.name}-#{name}" @application.services[name] = result @application._service_order << name @node._services << name self end