Sha256: 8cbf6c0f830a3d67404e4bb9554b980d2b9069ffb1676ddcae85ee0c138de665
Contents?: true
Size: 979 Bytes
Versions: 3
Compression:
Stored size: 979 Bytes
Contents
class KuberKit::Core::Configuration attr_reader :name, :artifacts, :registries, :env_files, :templates, :kubeconfig_path, :deploy_strategy, :services_attributes Contract KeywordArgs[ name: Symbol, artifacts: Hash, registries: Hash, env_files: Hash, templates: Hash, kubeconfig_path: Maybe[String], deploy_strategy: Symbol, services_attributes: HashOf[Symbol => Hash] ] => Any def initialize(name:, artifacts:, registries:, env_files:, templates:, kubeconfig_path:, deploy_strategy:, services_attributes:) @name = name @artifacts = artifacts @registries = registries @env_files = env_files @templates = templates @kubeconfig_path = kubeconfig_path @deploy_strategy = deploy_strategy @services_attributes = services_attributes end def service_attributes(service_name) services_attributes[service_name.to_sym] || {} end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kuber_kit-0.1.8 | lib/kuber_kit/core/configuration.rb |
kuber_kit-0.1.7 | lib/kuber_kit/core/configuration.rb |
kuber_kit-0.1.6 | lib/kuber_kit/core/configuration.rb |