Class: KuberKit::Core::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, artifacts:, registries:, env_files:, templates:, kubecfg_path:) ⇒ Configuration

Returns a new instance of Configuration.



12
13
14
15
16
17
18
19
# File 'lib/kuber_kit/core/configuration.rb', line 12

def initialize(name:, artifacts:, registries:, env_files:, templates:, kubecfg_path:)
  @name       = name
  @artifacts  = artifacts
  @registries = registries
  @env_files  = env_files
  @templates  = templates
  @kubecfg_path = kubecfg_path
end

Instance Attribute Details

#artifactsObject (readonly)

Returns the value of attribute artifacts.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def artifacts
  @artifacts
end

#env_filesObject (readonly)

Returns the value of attribute env_files.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def env_files
  @env_files
end

#kubecfg_pathObject (readonly)

Returns the value of attribute kubecfg_path.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def kubecfg_path
  @kubecfg_path
end

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def name
  @name
end

#registriesObject (readonly)

Returns the value of attribute registries.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def registries
  @registries
end

#templatesObject (readonly)

Returns the value of attribute templates.



2
3
4
# File 'lib/kuber_kit/core/configuration.rb', line 2

def templates
  @templates
end