harbor2_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +186 -0
  4. data/Rakefile +8 -0
  5. data/docs/AdditionLink.md +9 -0
  6. data/docs/AdditionLinks.md +7 -0
  7. data/docs/Annotations.md +7 -0
  8. data/docs/Artifact.md +25 -0
  9. data/docs/ArtifactApi.md +694 -0
  10. data/docs/AuditLog.md +13 -0
  11. data/docs/AuditlogApi.md +69 -0
  12. data/docs/CVEAllowlist.md +13 -0
  13. data/docs/CVEAllowlistItem.md +8 -0
  14. data/docs/Error.md +9 -0
  15. data/docs/Errors.md +8 -0
  16. data/docs/Execution.md +17 -0
  17. data/docs/ExtraAttrs.md +7 -0
  18. data/docs/Icon.md +9 -0
  19. data/docs/IconApi.md +66 -0
  20. data/docs/Instance.md +19 -0
  21. data/docs/Label.md +15 -0
  22. data/docs/Metadata.md +13 -0
  23. data/docs/Metrics.md +14 -0
  24. data/docs/NativeReportSummary.md +15 -0
  25. data/docs/Platform.md +12 -0
  26. data/docs/PreheatApi.md +1176 -0
  27. data/docs/PreheatPolicy.md +18 -0
  28. data/docs/Project.md +22 -0
  29. data/docs/ProjectApi.md +542 -0
  30. data/docs/ProjectDeletable.md +9 -0
  31. data/docs/ProjectMetadata.md +14 -0
  32. data/docs/ProjectReq.md +13 -0
  33. data/docs/ProjectSummary.md +16 -0
  34. data/docs/ProjectSummaryQuota.md +9 -0
  35. data/docs/ProviderUnderProject.md +11 -0
  36. data/docs/Reference.md +13 -0
  37. data/docs/Registry.md +17 -0
  38. data/docs/RegistryCredential.md +10 -0
  39. data/docs/Repository.md +15 -0
  40. data/docs/RepositoryApi.md +256 -0
  41. data/docs/ResourceList.md +7 -0
  42. data/docs/ScanApi.md +138 -0
  43. data/docs/ScanOverview.md +7 -0
  44. data/docs/Tag.md +15 -0
  45. data/docs/Task.md +17 -0
  46. data/docs/VulnerabilitySummary.md +10 -0
  47. data/git_push.sh +55 -0
  48. data/harbor2_client.gemspec +46 -0
  49. data/lib/harbor2_client.rb +81 -0
  50. data/lib/harbor2_client/api/artifact_api.rb +848 -0
  51. data/lib/harbor2_client/api/auditlog_api.rb +91 -0
  52. data/lib/harbor2_client/api/icon_api.rb +84 -0
  53. data/lib/harbor2_client/api/preheat_api.rb +1327 -0
  54. data/lib/harbor2_client/api/project_api.rb +601 -0
  55. data/lib/harbor2_client/api/repository_api.rb +302 -0
  56. data/lib/harbor2_client/api/scan_api.rb +174 -0
  57. data/lib/harbor2_client/api_client.rb +391 -0
  58. data/lib/harbor2_client/api_error.rb +38 -0
  59. data/lib/harbor2_client/configuration.rb +209 -0
  60. data/lib/harbor2_client/models/addition_link.rb +195 -0
  61. data/lib/harbor2_client/models/addition_links.rb +175 -0
  62. data/lib/harbor2_client/models/annotations.rb +175 -0
  63. data/lib/harbor2_client/models/artifact.rb +355 -0
  64. data/lib/harbor2_client/models/audit_log.rb +235 -0
  65. data/lib/harbor2_client/models/cve_allowlist.rb +237 -0
  66. data/lib/harbor2_client/models/cve_allowlist_item.rb +186 -0
  67. data/lib/harbor2_client/models/error.rb +196 -0
  68. data/lib/harbor2_client/models/errors.rb +187 -0
  69. data/lib/harbor2_client/models/execution.rb +273 -0
  70. data/lib/harbor2_client/models/extra_attrs.rb +175 -0
  71. data/lib/harbor2_client/models/icon.rb +195 -0
  72. data/lib/harbor2_client/models/instance.rb +297 -0
  73. data/lib/harbor2_client/models/label.rb +255 -0
  74. data/lib/harbor2_client/models/metadata.rb +237 -0
  75. data/lib/harbor2_client/models/metrics.rb +245 -0
  76. data/lib/harbor2_client/models/native_report_summary.rb +255 -0
  77. data/lib/harbor2_client/models/platform.rb +227 -0
  78. data/lib/harbor2_client/models/preheat_policy.rb +285 -0
  79. data/lib/harbor2_client/models/project.rb +327 -0
  80. data/lib/harbor2_client/models/project_deletable.rb +195 -0
  81. data/lib/harbor2_client/models/project_metadata.rb +245 -0
  82. data/lib/harbor2_client/models/project_req.rb +235 -0
  83. data/lib/harbor2_client/models/project_summary.rb +263 -0
  84. data/lib/harbor2_client/models/project_summary_quota.rb +195 -0
  85. data/lib/harbor2_client/models/provider_under_project.rb +211 -0
  86. data/lib/harbor2_client/models/reference.rb +235 -0
  87. data/lib/harbor2_client/models/registry.rb +274 -0
  88. data/lib/harbor2_client/models/registry_credential.rb +205 -0
  89. data/lib/harbor2_client/models/repository.rb +255 -0
  90. data/lib/harbor2_client/models/resource_list.rb +175 -0
  91. data/lib/harbor2_client/models/scan_overview.rb +176 -0
  92. data/lib/harbor2_client/models/tag.rb +255 -0
  93. data/lib/harbor2_client/models/task.rb +274 -0
  94. data/lib/harbor2_client/models/vulnerability_summary.rb +208 -0
  95. data/lib/harbor2_client/version.rb +15 -0
  96. data/spec/api/artifact_api_spec.rb +209 -0
  97. data/spec/api/auditlog_api_spec.rb +50 -0
  98. data/spec/api/icon_api_spec.rb +48 -0
  99. data/spec/api/preheat_api_spec.rb +311 -0
  100. data/spec/api/project_api_spec.rb +160 -0
  101. data/spec/api/repository_api_spec.rb +94 -0
  102. data/spec/api/scan_api_spec.rb +66 -0
  103. data/spec/api_client_spec.rb +243 -0
  104. data/spec/configuration_spec.rb +42 -0
  105. data/spec/models/addition_link_spec.rb +47 -0
  106. data/spec/models/addition_links_spec.rb +35 -0
  107. data/spec/models/annotations_spec.rb +35 -0
  108. data/spec/models/artifact_spec.rb +143 -0
  109. data/spec/models/audit_log_spec.rb +71 -0
  110. data/spec/models/cve_allowlist_item_spec.rb +41 -0
  111. data/spec/models/cve_allowlist_spec.rb +71 -0
  112. data/spec/models/error_spec.rb +47 -0
  113. data/spec/models/errors_spec.rb +41 -0
  114. data/spec/models/execution_spec.rb +95 -0
  115. data/spec/models/extra_attrs_spec.rb +35 -0
  116. data/spec/models/icon_spec.rb +47 -0
  117. data/spec/models/instance_spec.rb +107 -0
  118. data/spec/models/label_spec.rb +83 -0
  119. data/spec/models/metadata_spec.rb +71 -0
  120. data/spec/models/metrics_spec.rb +77 -0
  121. data/spec/models/native_report_summary_spec.rb +83 -0
  122. data/spec/models/platform_spec.rb +65 -0
  123. data/spec/models/preheat_policy_spec.rb +101 -0
  124. data/spec/models/project_deletable_spec.rb +47 -0
  125. data/spec/models/project_metadata_spec.rb +77 -0
  126. data/spec/models/project_req_spec.rb +71 -0
  127. data/spec/models/project_spec.rb +125 -0
  128. data/spec/models/project_summary_quota_spec.rb +47 -0
  129. data/spec/models/project_summary_spec.rb +89 -0
  130. data/spec/models/provider_under_project_spec.rb +59 -0
  131. data/spec/models/reference_spec.rb +71 -0
  132. data/spec/models/registry_credential_spec.rb +53 -0
  133. data/spec/models/registry_spec.rb +95 -0
  134. data/spec/models/repository_spec.rb +83 -0
  135. data/spec/models/resource_list_spec.rb +35 -0
  136. data/spec/models/scan_overview_spec.rb +35 -0
  137. data/spec/models/tag_spec.rb +83 -0
  138. data/spec/models/task_spec.rb +95 -0
  139. data/spec/models/vulnerability_summary_spec.rb +53 -0
  140. data/spec/spec_helper.rb +111 -0
  141. metadata +428 -0
@@ -0,0 +1,95 @@
1
+ =begin
2
+ #Harbor API
3
+
4
+ #These APIs provide services for manipulating Harbor project.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.17
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Harbor2Client::Task
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Task' do
21
+ before do
22
+ # run before each test
23
+ @instance = Harbor2Client::Task.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Task' do
31
+ it 'should create an instance of Task' do
32
+ expect(@instance).to be_instance_of(Harbor2Client::Task)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "execution_id"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "status"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "status_message"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "run_count"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "extra_attrs"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "creation_time"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "update_time"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "start_time"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "end_time"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Harbor API
3
+
4
+ #These APIs provide services for manipulating Harbor project.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.17
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Harbor2Client::VulnerabilitySummary
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'VulnerabilitySummary' do
21
+ before do
22
+ # run before each test
23
+ @instance = Harbor2Client::VulnerabilitySummary.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of VulnerabilitySummary' do
31
+ it 'should create an instance of VulnerabilitySummary' do
32
+ expect(@instance).to be_instance_of(Harbor2Client::VulnerabilitySummary)
33
+ end
34
+ end
35
+ describe 'test attribute "total"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "fixable"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "summary"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #Harbor API
3
+
4
+ #These APIs provide services for manipulating Harbor project.
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.17
10
+
11
+ =end
12
+
13
+ # load the gem
14
+ require 'harbor2_client'
15
+
16
+ # The following was generated by the `rspec --init` command. Conventionally, all
17
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
18
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
19
+ # this file to always be loaded, without a need to explicitly require it in any
20
+ # files.
21
+ #
22
+ # Given that it is always loaded, you are encouraged to keep this file as
23
+ # light-weight as possible. Requiring heavyweight dependencies from this file
24
+ # will add to the boot time of your test suite on EVERY test run, even for an
25
+ # individual file that may not need all of that loaded. Instead, consider making
26
+ # a separate helper file that requires the additional dependencies and performs
27
+ # the additional setup, and require it from the spec files that actually need
28
+ # it.
29
+ #
30
+ # The `.rspec` file also contains a few flags that are not defaults but that
31
+ # users commonly want.
32
+ #
33
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
34
+ RSpec.configure do |config|
35
+ # rspec-expectations config goes here. You can use an alternate
36
+ # assertion/expectation library such as wrong or the stdlib/minitest
37
+ # assertions if you prefer.
38
+ config.expect_with :rspec do |expectations|
39
+ # This option will default to `true` in RSpec 4. It makes the `description`
40
+ # and `failure_message` of custom matchers include text for helper methods
41
+ # defined using `chain`, e.g.:
42
+ # be_bigger_than(2).and_smaller_than(4).description
43
+ # # => "be bigger than 2 and smaller than 4"
44
+ # ...rather than:
45
+ # # => "be bigger than 2"
46
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
47
+ end
48
+
49
+ # rspec-mocks config goes here. You can use an alternate test double
50
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
51
+ config.mock_with :rspec do |mocks|
52
+ # Prevents you from mocking or stubbing a method that does not exist on
53
+ # a real object. This is generally recommended, and will default to
54
+ # `true` in RSpec 4.
55
+ mocks.verify_partial_doubles = true
56
+ end
57
+
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ =begin
61
+ # These two settings work together to allow you to limit a spec run
62
+ # to individual examples or groups you care about by tagging them with
63
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
+ # get run.
65
+ config.filter_run :focus
66
+ config.run_all_when_everything_filtered = true
67
+
68
+ # Allows RSpec to persist some state between runs in order to support
69
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
70
+ # you configure your source control system to ignore this file.
71
+ config.example_status_persistence_file_path = "spec/examples.txt"
72
+
73
+ # Limits the available syntax to the non-monkey patched syntax that is
74
+ # recommended. For more details, see:
75
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
+ config.disable_monkey_patching!
79
+
80
+ # This setting enables warnings. It's recommended, but in some cases may
81
+ # be too noisy due to issues in dependencies.
82
+ config.warnings = true
83
+
84
+ # Many RSpec users commonly either run the entire suite or an individual
85
+ # file, and it's useful to allow more verbose output when running an
86
+ # individual spec file.
87
+ if config.files_to_run.one?
88
+ # Use the documentation formatter for detailed output,
89
+ # unless a formatter has already been configured
90
+ # (e.g. via a command-line flag).
91
+ config.default_formatter = 'doc'
92
+ end
93
+
94
+ # Print the 10 slowest examples and example groups at the
95
+ # end of the spec run, to help surface which specs are running
96
+ # particularly slow.
97
+ config.profile_examples = 10
98
+
99
+ # Run specs in random order to surface order dependencies. If you find an
100
+ # order dependency and want to debug it, you can fix the order by providing
101
+ # the seed, which is printed after each run.
102
+ # --seed 1234
103
+ config.order = :random
104
+
105
+ # Seed global randomization in this process using the `--seed` CLI option.
106
+ # Setting this allows you to use `--seed` to deterministically reproduce
107
+ # test failures related to randomization by passing the same `--seed` value
108
+ # as the one that triggered the failure.
109
+ Kernel.srand config.seed
110
+ =end
111
+ end
metadata ADDED
@@ -0,0 +1,428 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: harbor2_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Richard Grainger
8
+ - Swagger-Codegen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-12-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: typhoeus
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.0'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.1
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '1.0'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.1
34
+ - !ruby/object:Gem::Dependency
35
+ name: json
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.1.0
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.1'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.1.0
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.1'
54
+ - !ruby/object:Gem::Dependency
55
+ name: addressable
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.3.0
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.3'
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 2.3.0
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '2.3'
74
+ - !ruby/object:Gem::Dependency
75
+ name: rspec
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 3.6.0
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.6'
84
+ type: :development
85
+ prerelease: false
86
+ version_requirements: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 3.6.0
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '3.6'
94
+ - !ruby/object:Gem::Dependency
95
+ name: vcr
96
+ requirement: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '3.0'
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 3.0.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 3.0.1
114
+ - !ruby/object:Gem::Dependency
115
+ name: webmock
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '1.24'
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.24.3
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.24'
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 1.24.3
134
+ - !ruby/object:Gem::Dependency
135
+ name: autotest
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '4.4'
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 4.4.6
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '4.4'
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 4.4.6
154
+ - !ruby/object:Gem::Dependency
155
+ name: autotest-rails-pure
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '4.1'
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: 4.1.2
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - "~>"
169
+ - !ruby/object:Gem::Version
170
+ version: '4.1'
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 4.1.2
174
+ - !ruby/object:Gem::Dependency
175
+ name: autotest-growl
176
+ requirement: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.2'
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 0.2.16
184
+ type: :development
185
+ prerelease: false
186
+ version_requirements: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - "~>"
189
+ - !ruby/object:Gem::Version
190
+ version: '0.2'
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 0.2.16
194
+ - !ruby/object:Gem::Dependency
195
+ name: autotest-fsevent
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '0.2'
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: 0.2.12
204
+ type: :development
205
+ prerelease: false
206
+ version_requirements: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - "~>"
209
+ - !ruby/object:Gem::Version
210
+ version: '0.2'
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: 0.2.12
214
+ description: These APIs provide services for manipulating Harbor projects.
215
+ email:
216
+ - ''
217
+ executables: []
218
+ extensions: []
219
+ extra_rdoc_files: []
220
+ files:
221
+ - Gemfile
222
+ - README.md
223
+ - Rakefile
224
+ - docs/AdditionLink.md
225
+ - docs/AdditionLinks.md
226
+ - docs/Annotations.md
227
+ - docs/Artifact.md
228
+ - docs/ArtifactApi.md
229
+ - docs/AuditLog.md
230
+ - docs/AuditlogApi.md
231
+ - docs/CVEAllowlist.md
232
+ - docs/CVEAllowlistItem.md
233
+ - docs/Error.md
234
+ - docs/Errors.md
235
+ - docs/Execution.md
236
+ - docs/ExtraAttrs.md
237
+ - docs/Icon.md
238
+ - docs/IconApi.md
239
+ - docs/Instance.md
240
+ - docs/Label.md
241
+ - docs/Metadata.md
242
+ - docs/Metrics.md
243
+ - docs/NativeReportSummary.md
244
+ - docs/Platform.md
245
+ - docs/PreheatApi.md
246
+ - docs/PreheatPolicy.md
247
+ - docs/Project.md
248
+ - docs/ProjectApi.md
249
+ - docs/ProjectDeletable.md
250
+ - docs/ProjectMetadata.md
251
+ - docs/ProjectReq.md
252
+ - docs/ProjectSummary.md
253
+ - docs/ProjectSummaryQuota.md
254
+ - docs/ProviderUnderProject.md
255
+ - docs/Reference.md
256
+ - docs/Registry.md
257
+ - docs/RegistryCredential.md
258
+ - docs/Repository.md
259
+ - docs/RepositoryApi.md
260
+ - docs/ResourceList.md
261
+ - docs/ScanApi.md
262
+ - docs/ScanOverview.md
263
+ - docs/Tag.md
264
+ - docs/Task.md
265
+ - docs/VulnerabilitySummary.md
266
+ - git_push.sh
267
+ - harbor2_client.gemspec
268
+ - lib/harbor2_client.rb
269
+ - lib/harbor2_client/api/artifact_api.rb
270
+ - lib/harbor2_client/api/auditlog_api.rb
271
+ - lib/harbor2_client/api/icon_api.rb
272
+ - lib/harbor2_client/api/preheat_api.rb
273
+ - lib/harbor2_client/api/project_api.rb
274
+ - lib/harbor2_client/api/repository_api.rb
275
+ - lib/harbor2_client/api/scan_api.rb
276
+ - lib/harbor2_client/api_client.rb
277
+ - lib/harbor2_client/api_error.rb
278
+ - lib/harbor2_client/configuration.rb
279
+ - lib/harbor2_client/models/addition_link.rb
280
+ - lib/harbor2_client/models/addition_links.rb
281
+ - lib/harbor2_client/models/annotations.rb
282
+ - lib/harbor2_client/models/artifact.rb
283
+ - lib/harbor2_client/models/audit_log.rb
284
+ - lib/harbor2_client/models/cve_allowlist.rb
285
+ - lib/harbor2_client/models/cve_allowlist_item.rb
286
+ - lib/harbor2_client/models/error.rb
287
+ - lib/harbor2_client/models/errors.rb
288
+ - lib/harbor2_client/models/execution.rb
289
+ - lib/harbor2_client/models/extra_attrs.rb
290
+ - lib/harbor2_client/models/icon.rb
291
+ - lib/harbor2_client/models/instance.rb
292
+ - lib/harbor2_client/models/label.rb
293
+ - lib/harbor2_client/models/metadata.rb
294
+ - lib/harbor2_client/models/metrics.rb
295
+ - lib/harbor2_client/models/native_report_summary.rb
296
+ - lib/harbor2_client/models/platform.rb
297
+ - lib/harbor2_client/models/preheat_policy.rb
298
+ - lib/harbor2_client/models/project.rb
299
+ - lib/harbor2_client/models/project_deletable.rb
300
+ - lib/harbor2_client/models/project_metadata.rb
301
+ - lib/harbor2_client/models/project_req.rb
302
+ - lib/harbor2_client/models/project_summary.rb
303
+ - lib/harbor2_client/models/project_summary_quota.rb
304
+ - lib/harbor2_client/models/provider_under_project.rb
305
+ - lib/harbor2_client/models/reference.rb
306
+ - lib/harbor2_client/models/registry.rb
307
+ - lib/harbor2_client/models/registry_credential.rb
308
+ - lib/harbor2_client/models/repository.rb
309
+ - lib/harbor2_client/models/resource_list.rb
310
+ - lib/harbor2_client/models/scan_overview.rb
311
+ - lib/harbor2_client/models/tag.rb
312
+ - lib/harbor2_client/models/task.rb
313
+ - lib/harbor2_client/models/vulnerability_summary.rb
314
+ - lib/harbor2_client/version.rb
315
+ - spec/api/artifact_api_spec.rb
316
+ - spec/api/auditlog_api_spec.rb
317
+ - spec/api/icon_api_spec.rb
318
+ - spec/api/preheat_api_spec.rb
319
+ - spec/api/project_api_spec.rb
320
+ - spec/api/repository_api_spec.rb
321
+ - spec/api/scan_api_spec.rb
322
+ - spec/api_client_spec.rb
323
+ - spec/configuration_spec.rb
324
+ - spec/models/addition_link_spec.rb
325
+ - spec/models/addition_links_spec.rb
326
+ - spec/models/annotations_spec.rb
327
+ - spec/models/artifact_spec.rb
328
+ - spec/models/audit_log_spec.rb
329
+ - spec/models/cve_allowlist_item_spec.rb
330
+ - spec/models/cve_allowlist_spec.rb
331
+ - spec/models/error_spec.rb
332
+ - spec/models/errors_spec.rb
333
+ - spec/models/execution_spec.rb
334
+ - spec/models/extra_attrs_spec.rb
335
+ - spec/models/icon_spec.rb
336
+ - spec/models/instance_spec.rb
337
+ - spec/models/label_spec.rb
338
+ - spec/models/metadata_spec.rb
339
+ - spec/models/metrics_spec.rb
340
+ - spec/models/native_report_summary_spec.rb
341
+ - spec/models/platform_spec.rb
342
+ - spec/models/preheat_policy_spec.rb
343
+ - spec/models/project_deletable_spec.rb
344
+ - spec/models/project_metadata_spec.rb
345
+ - spec/models/project_req_spec.rb
346
+ - spec/models/project_spec.rb
347
+ - spec/models/project_summary_quota_spec.rb
348
+ - spec/models/project_summary_spec.rb
349
+ - spec/models/provider_under_project_spec.rb
350
+ - spec/models/reference_spec.rb
351
+ - spec/models/registry_credential_spec.rb
352
+ - spec/models/registry_spec.rb
353
+ - spec/models/repository_spec.rb
354
+ - spec/models/resource_list_spec.rb
355
+ - spec/models/scan_overview_spec.rb
356
+ - spec/models/tag_spec.rb
357
+ - spec/models/task_spec.rb
358
+ - spec/models/vulnerability_summary_spec.rb
359
+ - spec/spec_helper.rb
360
+ homepage: https://github.com/liger1978/ruby-harbor2_client/
361
+ licenses:
362
+ - MIT
363
+ metadata: {}
364
+ post_install_message:
365
+ rdoc_options: []
366
+ require_paths:
367
+ - lib
368
+ required_ruby_version: !ruby/object:Gem::Requirement
369
+ requirements:
370
+ - - ">="
371
+ - !ruby/object:Gem::Version
372
+ version: '1.9'
373
+ required_rubygems_version: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - ">="
376
+ - !ruby/object:Gem::Version
377
+ version: '0'
378
+ requirements: []
379
+ rubygems_version: 3.0.3
380
+ signing_key:
381
+ specification_version: 4
382
+ summary: Harbor API Ruby Gem
383
+ test_files:
384
+ - spec/api/scan_api_spec.rb
385
+ - spec/api/auditlog_api_spec.rb
386
+ - spec/api/repository_api_spec.rb
387
+ - spec/api/preheat_api_spec.rb
388
+ - spec/api/project_api_spec.rb
389
+ - spec/api/icon_api_spec.rb
390
+ - spec/api/artifact_api_spec.rb
391
+ - spec/api_client_spec.rb
392
+ - spec/configuration_spec.rb
393
+ - spec/models/vulnerability_summary_spec.rb
394
+ - spec/models/native_report_summary_spec.rb
395
+ - spec/models/project_deletable_spec.rb
396
+ - spec/models/preheat_policy_spec.rb
397
+ - spec/models/error_spec.rb
398
+ - spec/models/execution_spec.rb
399
+ - spec/models/registry_credential_spec.rb
400
+ - spec/models/label_spec.rb
401
+ - spec/models/project_spec.rb
402
+ - spec/models/artifact_spec.rb
403
+ - spec/models/metrics_spec.rb
404
+ - spec/models/provider_under_project_spec.rb
405
+ - spec/models/annotations_spec.rb
406
+ - spec/models/registry_spec.rb
407
+ - spec/models/reference_spec.rb
408
+ - spec/models/cve_allowlist_spec.rb
409
+ - spec/models/errors_spec.rb
410
+ - spec/models/cve_allowlist_item_spec.rb
411
+ - spec/models/task_spec.rb
412
+ - spec/models/instance_spec.rb
413
+ - spec/models/project_summary_quota_spec.rb
414
+ - spec/models/resource_list_spec.rb
415
+ - spec/models/icon_spec.rb
416
+ - spec/models/addition_links_spec.rb
417
+ - spec/models/extra_attrs_spec.rb
418
+ - spec/models/tag_spec.rb
419
+ - spec/models/repository_spec.rb
420
+ - spec/models/platform_spec.rb
421
+ - spec/models/metadata_spec.rb
422
+ - spec/models/scan_overview_spec.rb
423
+ - spec/models/project_req_spec.rb
424
+ - spec/models/project_metadata_spec.rb
425
+ - spec/models/audit_log_spec.rb
426
+ - spec/models/addition_link_spec.rb
427
+ - spec/models/project_summary_spec.rb
428
+ - spec/spec_helper.rb