class Kustomize::Session

Attributes

only_emit_component[RW]
plugin_manager[R]

Public Class Methods

new(load_paths: [], only_emit_component: nil) click to toggle source
# File lib/kustomize/session.rb, line 6
def initialize(load_paths: [], only_emit_component: nil)
  @load_paths = load_paths
  @plugin_manager = Kustomize::PluginManager.new(session: self)
  @only_emit_component = only_emit_component
end

Public Instance Methods

builtin_load_paths() click to toggle source
# File lib/kustomize/session.rb, line 15
def builtin_load_paths
  [Pathname.new(__FILE__).expand_path.parent / 'builtin_plugins']
end
effective_load_paths() click to toggle source
# File lib/kustomize/session.rb, line 19
def effective_load_paths
  @load_paths + self.builtin_load_paths
end