class KuberKit::Core::ContextHelper::ImageHelper
Public Class Methods
new(image_store:, artifact_store:, shell:, env_file_reader:, image:)
click to toggle source
Calls superclass method
KuberKit::Core::ContextHelper::BaseHelper::new
# File lib/kuber_kit/core/context_helper/image_helper.rb, line 2 def initialize(image_store:, artifact_store:, shell:, env_file_reader:, image:) super( image_store: image_store, artifact_store: artifact_store, shell: shell, env_file_reader: env_file_reader ) @image = image end
Public Instance Methods
build_vars()
click to toggle source
# File lib/kuber_kit/core/context_helper/image_helper.rb, line 16 def build_vars KuberKit::Core::ContextHelper::ContextVars.new(@image.build_vars) end
image_name()
click to toggle source
# File lib/kuber_kit/core/context_helper/image_helper.rb, line 12 def image_name @image.name.to_s end