2022-08-27 11:52:29 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
module Reports
|
|
|
|
module Sbom
|
|
|
|
class Component
|
|
|
|
attr_reader :component_type, :name, :version
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
def initialize(type:, name:, version:)
|
|
|
|
@component_type = type
|
|
|
|
@name = name
|
|
|
|
@version = version
|
2022-08-27 11:52:29 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|