Class: KuberKit::Core::Service

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, template_name:, tags:) ⇒ Service

Returns a new instance of Service.



9
10
11
12
13
# File 'lib/kuber_kit/core/service.rb', line 9

def initialize(name:, template_name:, tags:)
  @name = name
  @template_name = template_name
  @tags = tags
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#tagsObject (readonly)

Returns the value of attribute tags.



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

def tags
  @tags
end

#template_nameObject (readonly)

Returns the value of attribute template_name.



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

def template_name
  @template_name
end