Class: KuberKit::Core::ContextHelper::ContextHelperFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/core/context_helper/context_helper_factory.rb

Instance Method Summary collapse

Instance Method Details

#build_image_context(shell) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/kuber_kit/core/context_helper/context_helper_factory.rb', line 7

def build_image_context(shell)
  KuberKit::Core::ContextHelper::ImageHelper.new(
    image_store:    image_store,
    artifact_store: artifact_store,
    shell:          shell
  )
end

#build_service_context(shell, service) ⇒ Object



15
16
17
18
19
20
21
22
# File 'lib/kuber_kit/core/context_helper/context_helper_factory.rb', line 15

def build_service_context(shell, service)
  KuberKit::Core::ContextHelper::ServiceHelper.new(
    image_store:    image_store,
    artifact_store: artifact_store,
    shell:          shell,
    service:        service
  )
end