harbor2_client 2.3.3.0 → 2.3.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +180 -180
- data/build_scripts/generate.sh +8 -0
- data/{build → build_scripts}/swagger-codegen-cli-ruby-config.json +1 -1
- data/lib/harbor2_client/api/usergroup_api.rb +8 -0
- data/lib/harbor2_client/models/platform.rb +6 -6
- data/lib/harbor2_client/models/quota.rb +1 -1
- data/lib/harbor2_client/version.rb +1 -1
- metadata +166 -166
- data/build/generate.sh +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55727ea39bf10e5f99a4426f8946d8a109feaa656657b4310f3cf50f913e2e67
|
4
|
+
data.tar.gz: a618c286aa022c0c5a7c4b5bf57f26903d25a0e8f43e05b554df09ab3c360246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6554a7955cfdc6be3a42062303c4750fb298594c3a82e929486ed5201a5d09fb2043ed0a51f5b6ccfa41bd72b563f8579879e62908e93e14d121e7702879c143
|
7
|
+
data.tar.gz: 7cadf14b666dfc98ff6a44aacbb44ef83c5efdf4f77839bb76c8b6be9494b83acdc5aad7600b9cb60fd312e93b13e95829691630d4593c05ba923f67cc959566
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ These APIs provide services for manipulating Harbor project.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 2.3.3.
|
10
|
+
- Package version: 2.3.3.4
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build harbor2_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./harbor2_client-2.3.3.
|
26
|
+
gem install ./harbor2_client-2.3.3.4.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./harbor2_client-2.3.3.
|
28
|
+
(for development, run `gem install --dev ./harbor2_client-2.3.3.4.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'harbor2_client', '~> 2.3.3.
|
34
|
+
gem 'harbor2_client', '~> 2.3.3.4'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -88,182 +88,182 @@ end
|
|
88
88
|
|
89
89
|
All URIs are relative to *http://localhost/api/v2.0*
|
90
90
|
|
91
|
-
Class
|
92
|
-
|
93
|
-
*Harbor2Client::ArtifactApi*
|
94
|
-
*Harbor2Client::ArtifactApi*
|
95
|
-
*Harbor2Client::ArtifactApi*
|
96
|
-
*Harbor2Client::ArtifactApi*
|
97
|
-
*Harbor2Client::ArtifactApi*
|
98
|
-
*Harbor2Client::ArtifactApi*
|
99
|
-
*Harbor2Client::ArtifactApi*
|
100
|
-
*Harbor2Client::ArtifactApi*
|
101
|
-
*Harbor2Client::ArtifactApi*
|
102
|
-
*Harbor2Client::ArtifactApi*
|
103
|
-
*Harbor2Client::ArtifactApi*
|
104
|
-
*Harbor2Client::AuditlogApi*
|
105
|
-
*Harbor2Client::ConfigureApi*
|
106
|
-
*Harbor2Client::ConfigureApi*
|
107
|
-
*Harbor2Client::ConfigureApi*
|
108
|
-
*Harbor2Client::GcApi*
|
109
|
-
*Harbor2Client::GcApi*
|
110
|
-
*Harbor2Client::GcApi*
|
111
|
-
*Harbor2Client::GcApi*
|
112
|
-
*Harbor2Client::GcApi*
|
113
|
-
*Harbor2Client::GcApi*
|
114
|
-
*Harbor2Client::HealthApi*
|
115
|
-
*Harbor2Client::IconApi*
|
116
|
-
*Harbor2Client::ImmutableApi*
|
117
|
-
*Harbor2Client::ImmutableApi*
|
118
|
-
*Harbor2Client::ImmutableApi*
|
119
|
-
*Harbor2Client::ImmutableApi*
|
120
|
-
*Harbor2Client::LabelApi*
|
121
|
-
*Harbor2Client::LabelApi*
|
122
|
-
*Harbor2Client::LabelApi*
|
123
|
-
*Harbor2Client::LabelApi*
|
124
|
-
*Harbor2Client::LabelApi*
|
125
|
-
*Harbor2Client::LdapApi*
|
126
|
-
*Harbor2Client::LdapApi*
|
127
|
-
*Harbor2Client::LdapApi*
|
128
|
-
*Harbor2Client::LdapApi*
|
129
|
-
*Harbor2Client::MemberApi*
|
130
|
-
*Harbor2Client::MemberApi*
|
131
|
-
*Harbor2Client::MemberApi*
|
132
|
-
*Harbor2Client::MemberApi*
|
133
|
-
*Harbor2Client::MemberApi*
|
134
|
-
*Harbor2Client::OidcApi*
|
135
|
-
*Harbor2Client::PingApi*
|
136
|
-
*Harbor2Client::PreheatApi*
|
137
|
-
*Harbor2Client::PreheatApi*
|
138
|
-
*Harbor2Client::PreheatApi*
|
139
|
-
*Harbor2Client::PreheatApi*
|
140
|
-
*Harbor2Client::PreheatApi*
|
141
|
-
*Harbor2Client::PreheatApi*
|
142
|
-
*Harbor2Client::PreheatApi*
|
143
|
-
*Harbor2Client::PreheatApi*
|
144
|
-
*Harbor2Client::PreheatApi*
|
145
|
-
*Harbor2Client::PreheatApi*
|
146
|
-
*Harbor2Client::PreheatApi*
|
147
|
-
*Harbor2Client::PreheatApi*
|
148
|
-
*Harbor2Client::PreheatApi*
|
149
|
-
*Harbor2Client::PreheatApi*
|
150
|
-
*Harbor2Client::PreheatApi*
|
151
|
-
*Harbor2Client::PreheatApi*
|
152
|
-
*Harbor2Client::PreheatApi*
|
153
|
-
*Harbor2Client::PreheatApi*
|
154
|
-
*Harbor2Client::PreheatApi*
|
155
|
-
*Harbor2Client::ProjectApi*
|
156
|
-
*Harbor2Client::ProjectApi*
|
157
|
-
*Harbor2Client::ProjectApi*
|
158
|
-
*Harbor2Client::ProjectApi*
|
159
|
-
*Harbor2Client::ProjectApi*
|
160
|
-
*Harbor2Client::ProjectApi*
|
161
|
-
*Harbor2Client::ProjectApi*
|
162
|
-
*Harbor2Client::ProjectApi*
|
163
|
-
*Harbor2Client::ProjectApi*
|
164
|
-
*Harbor2Client::ProjectApi*
|
165
|
-
*Harbor2Client::ProjectApi*
|
166
|
-
*Harbor2Client::ProjectApi*
|
167
|
-
*Harbor2Client::ProjectMetadataApi*
|
168
|
-
*Harbor2Client::ProjectMetadataApi*
|
169
|
-
*Harbor2Client::ProjectMetadataApi*
|
170
|
-
*Harbor2Client::ProjectMetadataApi*
|
171
|
-
*Harbor2Client::ProjectMetadataApi*
|
172
|
-
*Harbor2Client::QuotaApi*
|
173
|
-
*Harbor2Client::QuotaApi*
|
174
|
-
*Harbor2Client::QuotaApi*
|
175
|
-
*Harbor2Client::RegistryApi*
|
176
|
-
*Harbor2Client::RegistryApi*
|
177
|
-
*Harbor2Client::RegistryApi*
|
178
|
-
*Harbor2Client::RegistryApi*
|
179
|
-
*Harbor2Client::RegistryApi*
|
180
|
-
*Harbor2Client::RegistryApi*
|
181
|
-
*Harbor2Client::RegistryApi*
|
182
|
-
*Harbor2Client::RegistryApi*
|
183
|
-
*Harbor2Client::RegistryApi*
|
184
|
-
*Harbor2Client::ReplicationApi*
|
185
|
-
*Harbor2Client::ReplicationApi*
|
186
|
-
*Harbor2Client::ReplicationApi*
|
187
|
-
*Harbor2Client::ReplicationApi*
|
188
|
-
*Harbor2Client::ReplicationApi*
|
189
|
-
*Harbor2Client::ReplicationApi*
|
190
|
-
*Harbor2Client::ReplicationApi*
|
191
|
-
*Harbor2Client::ReplicationApi*
|
192
|
-
*Harbor2Client::ReplicationApi*
|
193
|
-
*Harbor2Client::ReplicationApi*
|
194
|
-
*Harbor2Client::ReplicationApi*
|
195
|
-
*Harbor2Client::RepositoryApi*
|
196
|
-
*Harbor2Client::RepositoryApi*
|
197
|
-
*Harbor2Client::RepositoryApi*
|
198
|
-
*Harbor2Client::RepositoryApi*
|
199
|
-
*Harbor2Client::RepositoryApi*
|
200
|
-
*Harbor2Client::RetentionApi*
|
201
|
-
*Harbor2Client::RetentionApi*
|
202
|
-
*Harbor2Client::RetentionApi*
|
203
|
-
*Harbor2Client::RetentionApi*
|
204
|
-
*Harbor2Client::RetentionApi*
|
205
|
-
*Harbor2Client::RetentionApi*
|
206
|
-
*Harbor2Client::RetentionApi*
|
207
|
-
*Harbor2Client::RetentionApi*
|
208
|
-
*Harbor2Client::RetentionApi*
|
209
|
-
*Harbor2Client::RetentionApi*
|
210
|
-
*Harbor2Client::RobotApi*
|
211
|
-
*Harbor2Client::RobotApi*
|
212
|
-
*Harbor2Client::RobotApi*
|
213
|
-
*Harbor2Client::RobotApi*
|
214
|
-
*Harbor2Client::RobotApi*
|
215
|
-
*Harbor2Client::RobotApi*
|
216
|
-
*Harbor2Client::Robotv1Api*
|
217
|
-
*Harbor2Client::Robotv1Api*
|
218
|
-
*Harbor2Client::Robotv1Api*
|
219
|
-
*Harbor2Client::Robotv1Api*
|
220
|
-
*Harbor2Client::Robotv1Api*
|
221
|
-
*Harbor2Client::ScanApi*
|
222
|
-
*Harbor2Client::ScanApi*
|
223
|
-
*Harbor2Client::ScanAllApi*
|
224
|
-
*Harbor2Client::ScanAllApi*
|
225
|
-
*Harbor2Client::ScanAllApi*
|
226
|
-
*Harbor2Client::ScanAllApi*
|
227
|
-
*Harbor2Client::ScanAllApi*
|
228
|
-
*Harbor2Client::ScannerApi*
|
229
|
-
*Harbor2Client::ScannerApi*
|
230
|
-
*Harbor2Client::ScannerApi*
|
231
|
-
*Harbor2Client::ScannerApi*
|
232
|
-
*Harbor2Client::ScannerApi*
|
233
|
-
*Harbor2Client::ScannerApi*
|
234
|
-
*Harbor2Client::ScannerApi*
|
235
|
-
*Harbor2Client::ScannerApi*
|
236
|
-
*Harbor2Client::SearchApi*
|
237
|
-
*Harbor2Client::StatisticApi*
|
238
|
-
*Harbor2Client::SystemCVEAllowlistApi* | [**get_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#get_system_cve_allowlist)
|
239
|
-
*Harbor2Client::SystemCVEAllowlistApi* | [**put_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#put_system_cve_allowlist)
|
240
|
-
*Harbor2Client::SysteminfoApi*
|
241
|
-
*Harbor2Client::SysteminfoApi*
|
242
|
-
*Harbor2Client::SysteminfoApi*
|
243
|
-
*Harbor2Client::UserApi*
|
244
|
-
*Harbor2Client::UserApi*
|
245
|
-
*Harbor2Client::UserApi*
|
246
|
-
*Harbor2Client::UserApi*
|
247
|
-
*Harbor2Client::UserApi*
|
248
|
-
*Harbor2Client::UserApi*
|
249
|
-
*Harbor2Client::UserApi*
|
250
|
-
*Harbor2Client::UserApi*
|
251
|
-
*Harbor2Client::UserApi*
|
252
|
-
*Harbor2Client::UserApi*
|
253
|
-
*Harbor2Client::UserApi*
|
254
|
-
*Harbor2Client::UsergroupApi*
|
255
|
-
*Harbor2Client::UsergroupApi*
|
256
|
-
*Harbor2Client::UsergroupApi*
|
257
|
-
*Harbor2Client::UsergroupApi*
|
258
|
-
*Harbor2Client::UsergroupApi*
|
259
|
-
*Harbor2Client::WebhookApi*
|
260
|
-
*Harbor2Client::WebhookApi*
|
261
|
-
*Harbor2Client::WebhookApi*
|
262
|
-
*Harbor2Client::WebhookApi*
|
263
|
-
*Harbor2Client::WebhookApi*
|
264
|
-
*Harbor2Client::WebhookApi*
|
265
|
-
*Harbor2Client::WebhookApi*
|
266
|
-
*Harbor2Client::WebhookjobApi*
|
91
|
+
| Class | Method | HTTP request | Description |
|
92
|
+
| -------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
|
93
|
+
| *Harbor2Client::ArtifactApi* | [**add_label**](docs/ArtifactApi.md#add_label) | **POST** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels | Add label to artifact |
|
94
|
+
| *Harbor2Client::ArtifactApi* | [**copy_artifact**](docs/ArtifactApi.md#copy_artifact) | **POST** /projects/{project_name}/repositories/{repository_name}/artifacts | Copy artifact |
|
95
|
+
| *Harbor2Client::ArtifactApi* | [**create_tag**](docs/ArtifactApi.md#create_tag) | **POST** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags | Create tag |
|
96
|
+
| *Harbor2Client::ArtifactApi* | [**delete_artifact**](docs/ArtifactApi.md#delete_artifact) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference} | Delete the specific artifact |
|
97
|
+
| *Harbor2Client::ArtifactApi* | [**delete_tag**](docs/ArtifactApi.md#delete_tag) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name} | Delete tag |
|
98
|
+
| *Harbor2Client::ArtifactApi* | [**get_addition**](docs/ArtifactApi.md#get_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/{addition} | Get the addition of the specific artifact |
|
99
|
+
| *Harbor2Client::ArtifactApi* | [**get_artifact**](docs/ArtifactApi.md#get_artifact) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference} | Get the specific artifact |
|
100
|
+
| *Harbor2Client::ArtifactApi* | [**get_vulnerabilities_addition**](docs/ArtifactApi.md#get_vulnerabilities_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/vulnerabilities | Get the vulnerabilities addition of the specific artifact |
|
101
|
+
| *Harbor2Client::ArtifactApi* | [**list_artifacts**](docs/ArtifactApi.md#list_artifacts) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts | List artifacts |
|
102
|
+
| *Harbor2Client::ArtifactApi* | [**list_tags**](docs/ArtifactApi.md#list_tags) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags | List tags |
|
103
|
+
| *Harbor2Client::ArtifactApi* | [**remove_label**](docs/ArtifactApi.md#remove_label) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels/{label_id} | Remove label from artifact |
|
104
|
+
| *Harbor2Client::AuditlogApi* | [**list_audit_logs**](docs/AuditlogApi.md#list_audit_logs) | **GET** /audit-logs | Get recent logs of the projects which the user is a member of |
|
105
|
+
| *Harbor2Client::ConfigureApi* | [**get_configurations**](docs/ConfigureApi.md#get_configurations) | **GET** /configurations | Get system configurations. |
|
106
|
+
| *Harbor2Client::ConfigureApi* | [**get_internalconfig**](docs/ConfigureApi.md#get_internalconfig) | **GET** /internalconfig | Get internal configurations. |
|
107
|
+
| *Harbor2Client::ConfigureApi* | [**update_configurations**](docs/ConfigureApi.md#update_configurations) | **PUT** /configurations | Modify system configurations. |
|
108
|
+
| *Harbor2Client::GcApi* | [**create_gc_schedule**](docs/GcApi.md#create_gc_schedule) | **POST** /system/gc/schedule | Create a gc schedule. |
|
109
|
+
| *Harbor2Client::GcApi* | [**get_gc**](docs/GcApi.md#get_gc) | **GET** /system/gc/{gc_id} | Get gc status. |
|
110
|
+
| *Harbor2Client::GcApi* | [**get_gc_history**](docs/GcApi.md#get_gc_history) | **GET** /system/gc | Get gc results. |
|
111
|
+
| *Harbor2Client::GcApi* | [**get_gc_log**](docs/GcApi.md#get_gc_log) | **GET** /system/gc/{gc_id}/log | Get gc job log. |
|
112
|
+
| *Harbor2Client::GcApi* | [**get_gc_schedule**](docs/GcApi.md#get_gc_schedule) | **GET** /system/gc/schedule | Get gc's schedule. |
|
113
|
+
| *Harbor2Client::GcApi* | [**update_gc_schedule**](docs/GcApi.md#update_gc_schedule) | **PUT** /system/gc/schedule | Update gc's schedule. |
|
114
|
+
| *Harbor2Client::HealthApi* | [**get_health**](docs/HealthApi.md#get_health) | **GET** /health | Check the status of Harbor components |
|
115
|
+
| *Harbor2Client::IconApi* | [**get_icon**](docs/IconApi.md#get_icon) | **GET** /icons/{digest} | Get artifact icon |
|
116
|
+
| *Harbor2Client::ImmutableApi* | [**create_immu_rule**](docs/ImmutableApi.md#create_immu_rule) | **POST** /projects/{project_name_or_id}/immutabletagrules | Add an immutable tag rule to current project |
|
117
|
+
| *Harbor2Client::ImmutableApi* | [**delete_immu_rule**](docs/ImmutableApi.md#delete_immu_rule) | **DELETE** /projects/{project_name_or_id}/immutabletagrules/{immutable_rule_id} | Delete the immutable tag rule. |
|
118
|
+
| *Harbor2Client::ImmutableApi* | [**list_immu_rules**](docs/ImmutableApi.md#list_immu_rules) | **GET** /projects/{project_name_or_id}/immutabletagrules | List all immutable tag rules of current project |
|
119
|
+
| *Harbor2Client::ImmutableApi* | [**update_immu_rule**](docs/ImmutableApi.md#update_immu_rule) | **PUT** /projects/{project_name_or_id}/immutabletagrules/{immutable_rule_id} | Update the immutable tag rule or enable or disable the rule |
|
120
|
+
| *Harbor2Client::LabelApi* | [**create_label**](docs/LabelApi.md#create_label) | **POST** /labels | Post creates a label |
|
121
|
+
| *Harbor2Client::LabelApi* | [**delete_label**](docs/LabelApi.md#delete_label) | **DELETE** /labels/{label_id} | Delete the label specified by ID. |
|
122
|
+
| *Harbor2Client::LabelApi* | [**get_label_by_id**](docs/LabelApi.md#get_label_by_id) | **GET** /labels/{label_id} | Get the label specified by ID. |
|
123
|
+
| *Harbor2Client::LabelApi* | [**list_labels**](docs/LabelApi.md#list_labels) | **GET** /labels | List labels according to the query strings. |
|
124
|
+
| *Harbor2Client::LabelApi* | [**update_label**](docs/LabelApi.md#update_label) | **PUT** /labels/{label_id} | Update the label properties. |
|
125
|
+
| *Harbor2Client::LdapApi* | [**import_ldap_user**](docs/LdapApi.md#import_ldap_user) | **POST** /ldap/users/import | Import selected available ldap users. |
|
126
|
+
| *Harbor2Client::LdapApi* | [**ping_ldap**](docs/LdapApi.md#ping_ldap) | **POST** /ldap/ping | Ping available ldap service. |
|
127
|
+
| *Harbor2Client::LdapApi* | [**search_ldap_group**](docs/LdapApi.md#search_ldap_group) | **GET** /ldap/groups/search | Search available ldap groups. |
|
128
|
+
| *Harbor2Client::LdapApi* | [**search_ldap_user**](docs/LdapApi.md#search_ldap_user) | **GET** /ldap/users/search | Search available ldap users. |
|
129
|
+
| *Harbor2Client::MemberApi* | [**create_project_member**](docs/MemberApi.md#create_project_member) | **POST** /projects/{project_name_or_id}/members | Create project member |
|
130
|
+
| *Harbor2Client::MemberApi* | [**delete_project_member**](docs/MemberApi.md#delete_project_member) | **DELETE** /projects/{project_name_or_id}/members/{mid} | Delete project member |
|
131
|
+
| *Harbor2Client::MemberApi* | [**get_project_member**](docs/MemberApi.md#get_project_member) | **GET** /projects/{project_name_or_id}/members/{mid} | Get the project member information |
|
132
|
+
| *Harbor2Client::MemberApi* | [**list_project_members**](docs/MemberApi.md#list_project_members) | **GET** /projects/{project_name_or_id}/members | Get all project member information |
|
133
|
+
| *Harbor2Client::MemberApi* | [**update_project_member**](docs/MemberApi.md#update_project_member) | **PUT** /projects/{project_name_or_id}/members/{mid} | Update project member |
|
134
|
+
| *Harbor2Client::OidcApi* | [**ping_oidc**](docs/OidcApi.md#ping_oidc) | **POST** /system/oidc/ping | Test the OIDC endpoint. |
|
135
|
+
| *Harbor2Client::PingApi* | [**get_ping**](docs/PingApi.md#get_ping) | **GET** /ping | Ping Harbor to check if it's alive. |
|
136
|
+
| *Harbor2Client::PreheatApi* | [**create_instance**](docs/PreheatApi.md#create_instance) | **POST** /p2p/preheat/instances | Create p2p provider instances |
|
137
|
+
| *Harbor2Client::PreheatApi* | [**create_policy**](docs/PreheatApi.md#create_policy) | **POST** /projects/{project_name}/preheat/policies | Create a preheat policy under a project |
|
138
|
+
| *Harbor2Client::PreheatApi* | [**delete_instance**](docs/PreheatApi.md#delete_instance) | **DELETE** /p2p/preheat/instances/{preheat_instance_name} | Delete the specified P2P provider instance |
|
139
|
+
| *Harbor2Client::PreheatApi* | [**delete_policy**](docs/PreheatApi.md#delete_policy) | **DELETE** /projects/{project_name}/preheat/policies/{preheat_policy_name} | Delete a preheat policy |
|
140
|
+
| *Harbor2Client::PreheatApi* | [**get_execution**](docs/PreheatApi.md#get_execution) | **GET** /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions/{execution_id} | Get a execution detail by id |
|
141
|
+
| *Harbor2Client::PreheatApi* | [**get_instance**](docs/PreheatApi.md#get_instance) | **GET** /p2p/preheat/instances/{preheat_instance_name} | Get a P2P provider instance |
|
142
|
+
| *Harbor2Client::PreheatApi* | [**get_policy**](docs/PreheatApi.md#get_policy) | **GET** /projects/{project_name}/preheat/policies/{preheat_policy_name} | Get a preheat policy |
|
143
|
+
| *Harbor2Client::PreheatApi* | [**get_preheat_log**](docs/PreheatApi.md#get_preheat_log) | **GET** /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions/{execution_id}/tasks/{task_id}/logs | Get the log text stream of the specified task for the given execution |
|
144
|
+
| *Harbor2Client::PreheatApi* | [**list_executions**](docs/PreheatApi.md#list_executions) | **GET** /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions | List executions for the given policy |
|
145
|
+
| *Harbor2Client::PreheatApi* | [**list_instances**](docs/PreheatApi.md#list_instances) | **GET** /p2p/preheat/instances | List P2P provider instances |
|
146
|
+
| *Harbor2Client::PreheatApi* | [**list_policies**](docs/PreheatApi.md#list_policies) | **GET** /projects/{project_name}/preheat/policies | List preheat policies |
|
147
|
+
| *Harbor2Client::PreheatApi* | [**list_providers**](docs/PreheatApi.md#list_providers) | **GET** /p2p/preheat/providers | List P2P providers |
|
148
|
+
| *Harbor2Client::PreheatApi* | [**list_providers_under_project**](docs/PreheatApi.md#list_providers_under_project) | **GET** /projects/{project_name}/preheat/providers | Get all providers at project level |
|
149
|
+
| *Harbor2Client::PreheatApi* | [**list_tasks**](docs/PreheatApi.md#list_tasks) | **GET** /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions/{execution_id}/tasks | List all the related tasks for the given execution |
|
150
|
+
| *Harbor2Client::PreheatApi* | [**manual_preheat**](docs/PreheatApi.md#manual_preheat) | **POST** /projects/{project_name}/preheat/policies/{preheat_policy_name} | Manual preheat |
|
151
|
+
| *Harbor2Client::PreheatApi* | [**ping_instances**](docs/PreheatApi.md#ping_instances) | **POST** /p2p/preheat/instances/ping | Ping status of a instance. |
|
152
|
+
| *Harbor2Client::PreheatApi* | [**stop_execution**](docs/PreheatApi.md#stop_execution) | **PATCH** /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions/{execution_id} | Stop a execution |
|
153
|
+
| *Harbor2Client::PreheatApi* | [**update_instance**](docs/PreheatApi.md#update_instance) | **PUT** /p2p/preheat/instances/{preheat_instance_name} | Update the specified P2P provider instance |
|
154
|
+
| *Harbor2Client::PreheatApi* | [**update_policy**](docs/PreheatApi.md#update_policy) | **PUT** /projects/{project_name}/preheat/policies/{preheat_policy_name} | Update preheat policy |
|
155
|
+
| *Harbor2Client::ProjectApi* | [**create_project**](docs/ProjectApi.md#create_project) | **POST** /projects | Create a new project. |
|
156
|
+
| *Harbor2Client::ProjectApi* | [**delete_project**](docs/ProjectApi.md#delete_project) | **DELETE** /projects/{project_name_or_id} | Delete project by projectID |
|
157
|
+
| *Harbor2Client::ProjectApi* | [**get_logs**](docs/ProjectApi.md#get_logs) | **GET** /projects/{project_name}/logs | Get recent logs of the projects |
|
158
|
+
| *Harbor2Client::ProjectApi* | [**get_project**](docs/ProjectApi.md#get_project) | **GET** /projects/{project_name_or_id} | Return specific project detail information |
|
159
|
+
| *Harbor2Client::ProjectApi* | [**get_project_deletable**](docs/ProjectApi.md#get_project_deletable) | **GET** /projects/{project_name_or_id}/_deletable | Get the deletable status of the project |
|
160
|
+
| *Harbor2Client::ProjectApi* | [**get_project_summary**](docs/ProjectApi.md#get_project_summary) | **GET** /projects/{project_name_or_id}/summary | Get summary of the project. |
|
161
|
+
| *Harbor2Client::ProjectApi* | [**get_scanner_of_project**](docs/ProjectApi.md#get_scanner_of_project) | **GET** /projects/{project_name_or_id}/scanner | Get project level scanner |
|
162
|
+
| *Harbor2Client::ProjectApi* | [**head_project**](docs/ProjectApi.md#head_project) | **HEAD** /projects | Check if the project name user provided already exists. |
|
163
|
+
| *Harbor2Client::ProjectApi* | [**list_projects**](docs/ProjectApi.md#list_projects) | **GET** /projects | List projects |
|
164
|
+
| *Harbor2Client::ProjectApi* | [**list_scanner_candidates_of_project**](docs/ProjectApi.md#list_scanner_candidates_of_project) | **GET** /projects/{project_name_or_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner |
|
165
|
+
| *Harbor2Client::ProjectApi* | [**set_scanner_of_project**](docs/ProjectApi.md#set_scanner_of_project) | **PUT** /projects/{project_name_or_id}/scanner | Configure scanner for the specified project |
|
166
|
+
| *Harbor2Client::ProjectApi* | [**update_project**](docs/ProjectApi.md#update_project) | **PUT** /projects/{project_name_or_id} | Update properties for a selected project. |
|
167
|
+
| *Harbor2Client::ProjectMetadataApi* | [**add_project_metadatas**](docs/ProjectMetadataApi.md#add_project_metadatas) | **POST** /projects/{project_name_or_id}/metadatas/ | Add metadata for the specific project |
|
168
|
+
| *Harbor2Client::ProjectMetadataApi* | [**delete_project_metadata**](docs/ProjectMetadataApi.md#delete_project_metadata) | **DELETE** /projects/{project_name_or_id}/metadatas/{meta_name} | Delete the specific metadata for the specific project |
|
169
|
+
| *Harbor2Client::ProjectMetadataApi* | [**get_project_metadata**](docs/ProjectMetadataApi.md#get_project_metadata) | **GET** /projects/{project_name_or_id}/metadatas/{meta_name} | Get the specific metadata of the specific project |
|
170
|
+
| *Harbor2Client::ProjectMetadataApi* | [**list_project_metadatas**](docs/ProjectMetadataApi.md#list_project_metadatas) | **GET** /projects/{project_name_or_id}/metadatas/ | Get the metadata of the specific project |
|
171
|
+
| *Harbor2Client::ProjectMetadataApi* | [**update_project_metadata**](docs/ProjectMetadataApi.md#update_project_metadata) | **PUT** /projects/{project_name_or_id}/metadatas/{meta_name} | Update the specific metadata for the specific project |
|
172
|
+
| *Harbor2Client::QuotaApi* | [**get_quota**](docs/QuotaApi.md#get_quota) | **GET** /quotas/{id} | Get the specified quota |
|
173
|
+
| *Harbor2Client::QuotaApi* | [**list_quotas**](docs/QuotaApi.md#list_quotas) | **GET** /quotas | List quotas |
|
174
|
+
| *Harbor2Client::QuotaApi* | [**update_quota**](docs/QuotaApi.md#update_quota) | **PUT** /quotas/{id} | Update the specified quota |
|
175
|
+
| *Harbor2Client::RegistryApi* | [**create_registry**](docs/RegistryApi.md#create_registry) | **POST** /registries | Create a registry |
|
176
|
+
| *Harbor2Client::RegistryApi* | [**delete_registry**](docs/RegistryApi.md#delete_registry) | **DELETE** /registries/{id} | Delete the specific registry |
|
177
|
+
| *Harbor2Client::RegistryApi* | [**get_registry**](docs/RegistryApi.md#get_registry) | **GET** /registries/{id} | Get the specific registry |
|
178
|
+
| *Harbor2Client::RegistryApi* | [**get_registry_info**](docs/RegistryApi.md#get_registry_info) | **GET** /registries/{id}/info | Get the registry info |
|
179
|
+
| *Harbor2Client::RegistryApi* | [**list_registries**](docs/RegistryApi.md#list_registries) | **GET** /registries | List the registries |
|
180
|
+
| *Harbor2Client::RegistryApi* | [**list_registry_provider_infos**](docs/RegistryApi.md#list_registry_provider_infos) | **GET** /replication/adapterinfos | List all registered registry provider information |
|
181
|
+
| *Harbor2Client::RegistryApi* | [**list_registry_provider_types**](docs/RegistryApi.md#list_registry_provider_types) | **GET** /replication/adapters | List registry adapters |
|
182
|
+
| *Harbor2Client::RegistryApi* | [**ping_registry**](docs/RegistryApi.md#ping_registry) | **POST** /registries/ping | Check status of a registry |
|
183
|
+
| *Harbor2Client::RegistryApi* | [**update_registry**](docs/RegistryApi.md#update_registry) | **PUT** /registries/{id} | Update the registry |
|
184
|
+
| *Harbor2Client::ReplicationApi* | [**create_replication_policy**](docs/ReplicationApi.md#create_replication_policy) | **POST** /replication/policies | Create a replication policy |
|
185
|
+
| *Harbor2Client::ReplicationApi* | [**delete_replication_policy**](docs/ReplicationApi.md#delete_replication_policy) | **DELETE** /replication/policies/{id} | Delete the specific replication policy |
|
186
|
+
| *Harbor2Client::ReplicationApi* | [**get_replication_execution**](docs/ReplicationApi.md#get_replication_execution) | **GET** /replication/executions/{id} | Get the specific replication execution |
|
187
|
+
| *Harbor2Client::ReplicationApi* | [**get_replication_log**](docs/ReplicationApi.md#get_replication_log) | **GET** /replication/executions/{id}/tasks/{task_id}/log | Get the log of the specific replication task |
|
188
|
+
| *Harbor2Client::ReplicationApi* | [**get_replication_policy**](docs/ReplicationApi.md#get_replication_policy) | **GET** /replication/policies/{id} | Get the specific replication policy |
|
189
|
+
| *Harbor2Client::ReplicationApi* | [**list_replication_executions**](docs/ReplicationApi.md#list_replication_executions) | **GET** /replication/executions | List replication executions |
|
190
|
+
| *Harbor2Client::ReplicationApi* | [**list_replication_policies**](docs/ReplicationApi.md#list_replication_policies) | **GET** /replication/policies | List replication policies |
|
191
|
+
| *Harbor2Client::ReplicationApi* | [**list_replication_tasks**](docs/ReplicationApi.md#list_replication_tasks) | **GET** /replication/executions/{id}/tasks | List replication tasks for a specific execution |
|
192
|
+
| *Harbor2Client::ReplicationApi* | [**start_replication**](docs/ReplicationApi.md#start_replication) | **POST** /replication/executions | Start one replication execution |
|
193
|
+
| *Harbor2Client::ReplicationApi* | [**stop_replication**](docs/ReplicationApi.md#stop_replication) | **PUT** /replication/executions/{id} | Stop the specific replication execution |
|
194
|
+
| *Harbor2Client::ReplicationApi* | [**update_replication_policy**](docs/ReplicationApi.md#update_replication_policy) | **PUT** /replication/policies/{id} | Update the replication policy |
|
195
|
+
| *Harbor2Client::RepositoryApi* | [**delete_repository**](docs/RepositoryApi.md#delete_repository) | **DELETE** /projects/{project_name}/repositories/{repository_name} | Delete repository |
|
196
|
+
| *Harbor2Client::RepositoryApi* | [**get_repository**](docs/RepositoryApi.md#get_repository) | **GET** /projects/{project_name}/repositories/{repository_name} | Get repository |
|
197
|
+
| *Harbor2Client::RepositoryApi* | [**list_all_repositories**](docs/RepositoryApi.md#list_all_repositories) | **GET** /repositories | List all authorized repositories |
|
198
|
+
| *Harbor2Client::RepositoryApi* | [**list_repositories**](docs/RepositoryApi.md#list_repositories) | **GET** /projects/{project_name}/repositories | List repositories |
|
199
|
+
| *Harbor2Client::RepositoryApi* | [**update_repository**](docs/RepositoryApi.md#update_repository) | **PUT** /projects/{project_name}/repositories/{repository_name} | Update repository |
|
200
|
+
| *Harbor2Client::RetentionApi* | [**create_retention**](docs/RetentionApi.md#create_retention) | **POST** /retentions | Create Retention Policy |
|
201
|
+
| *Harbor2Client::RetentionApi* | [**delete_retention**](docs/RetentionApi.md#delete_retention) | **DELETE** /retentions/{id} | Delete Retention Policy |
|
202
|
+
| *Harbor2Client::RetentionApi* | [**get_rentenition_metadata**](docs/RetentionApi.md#get_rentenition_metadata) | **GET** /retentions/metadatas | Get Retention Metadatas |
|
203
|
+
| *Harbor2Client::RetentionApi* | [**get_retention**](docs/RetentionApi.md#get_retention) | **GET** /retentions/{id} | Get Retention Policy |
|
204
|
+
| *Harbor2Client::RetentionApi* | [**get_retention_task_log**](docs/RetentionApi.md#get_retention_task_log) | **GET** /retentions/{id}/executions/{eid}/tasks/{tid} | Get Retention job task log |
|
205
|
+
| *Harbor2Client::RetentionApi* | [**list_retention_executions**](docs/RetentionApi.md#list_retention_executions) | **GET** /retentions/{id}/executions | Get Retention executions |
|
206
|
+
| *Harbor2Client::RetentionApi* | [**list_retention_tasks**](docs/RetentionApi.md#list_retention_tasks) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention tasks |
|
207
|
+
| *Harbor2Client::RetentionApi* | [**operate_retention_execution**](docs/RetentionApi.md#operate_retention_execution) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention execution |
|
208
|
+
| *Harbor2Client::RetentionApi* | [**trigger_retention_execution**](docs/RetentionApi.md#trigger_retention_execution) | **POST** /retentions/{id}/executions | Trigger a Retention Execution |
|
209
|
+
| *Harbor2Client::RetentionApi* | [**update_retention**](docs/RetentionApi.md#update_retention) | **PUT** /retentions/{id} | Update Retention Policy |
|
210
|
+
| *Harbor2Client::RobotApi* | [**create_robot**](docs/RobotApi.md#create_robot) | **POST** /robots | Create a robot account |
|
211
|
+
| *Harbor2Client::RobotApi* | [**delete_robot**](docs/RobotApi.md#delete_robot) | **DELETE** /robots/{robot_id} | Delete a robot account |
|
212
|
+
| *Harbor2Client::RobotApi* | [**get_robot_by_id**](docs/RobotApi.md#get_robot_by_id) | **GET** /robots/{robot_id} | Get a robot account |
|
213
|
+
| *Harbor2Client::RobotApi* | [**list_robot**](docs/RobotApi.md#list_robot) | **GET** /robots | Get robot account |
|
214
|
+
| *Harbor2Client::RobotApi* | [**refresh_sec**](docs/RobotApi.md#refresh_sec) | **PATCH** /robots/{robot_id} | Refresh the robot secret |
|
215
|
+
| *Harbor2Client::RobotApi* | [**update_robot**](docs/RobotApi.md#update_robot) | **PUT** /robots/{robot_id} | Update a robot account |
|
216
|
+
| *Harbor2Client::Robotv1Api* | [**create_robot_v1**](docs/Robotv1Api.md#create_robot_v1) | **POST** /projects/{project_name_or_id}/robots | Create a robot account |
|
217
|
+
| *Harbor2Client::Robotv1Api* | [**delete_robot_v1**](docs/Robotv1Api.md#delete_robot_v1) | **DELETE** /projects/{project_name_or_id}/robots/{robot_id} | Delete a robot account |
|
218
|
+
| *Harbor2Client::Robotv1Api* | [**get_robot_by_idv1**](docs/Robotv1Api.md#get_robot_by_idv1) | **GET** /projects/{project_name_or_id}/robots/{robot_id} | Get a robot account |
|
219
|
+
| *Harbor2Client::Robotv1Api* | [**list_robot_v1**](docs/Robotv1Api.md#list_robot_v1) | **GET** /projects/{project_name_or_id}/robots | Get all robot accounts of specified project |
|
220
|
+
| *Harbor2Client::Robotv1Api* | [**update_robot_v1**](docs/Robotv1Api.md#update_robot_v1) | **PUT** /projects/{project_name_or_id}/robots/{robot_id} | Update status of robot account. |
|
221
|
+
| *Harbor2Client::ScanApi* | [**get_report_log**](docs/ScanApi.md#get_report_log) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan/{report_id}/log | Get the log of the scan report |
|
222
|
+
| *Harbor2Client::ScanApi* | [**scan_artifact**](docs/ScanApi.md#scan_artifact) | **POST** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan | Scan the artifact |
|
223
|
+
| *Harbor2Client::ScanAllApi* | [**create_scan_all_schedule**](docs/ScanAllApi.md#create_scan_all_schedule) | **POST** /system/scanAll/schedule | Create a schedule or a manual trigger for the scan all job. |
|
224
|
+
| *Harbor2Client::ScanAllApi* | [**get_latest_scan_all_metrics**](docs/ScanAllApi.md#get_latest_scan_all_metrics) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process |
|
225
|
+
| *Harbor2Client::ScanAllApi* | [**get_latest_scheduled_scan_all_metrics**](docs/ScanAllApi.md#get_latest_scheduled_scan_all_metrics) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process |
|
226
|
+
| *Harbor2Client::ScanAllApi* | [**get_scan_all_schedule**](docs/ScanAllApi.md#get_scan_all_schedule) | **GET** /system/scanAll/schedule | Get scan all's schedule. |
|
227
|
+
| *Harbor2Client::ScanAllApi* | [**update_scan_all_schedule**](docs/ScanAllApi.md#update_scan_all_schedule) | **PUT** /system/scanAll/schedule | Update scan all's schedule. |
|
228
|
+
| *Harbor2Client::ScannerApi* | [**create_scanner**](docs/ScannerApi.md#create_scanner) | **POST** /scanners | Create a scanner registration |
|
229
|
+
| *Harbor2Client::ScannerApi* | [**delete_scanner**](docs/ScannerApi.md#delete_scanner) | **DELETE** /scanners/{registration_id} | Delete a scanner registration |
|
230
|
+
| *Harbor2Client::ScannerApi* | [**get_scanner**](docs/ScannerApi.md#get_scanner) | **GET** /scanners/{registration_id} | Get a scanner registration details |
|
231
|
+
| *Harbor2Client::ScannerApi* | [**get_scanner_metadata**](docs/ScannerApi.md#get_scanner_metadata) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration |
|
232
|
+
| *Harbor2Client::ScannerApi* | [**list_scanners**](docs/ScannerApi.md#list_scanners) | **GET** /scanners | List scanner registrations |
|
233
|
+
| *Harbor2Client::ScannerApi* | [**ping_scanner**](docs/ScannerApi.md#ping_scanner) | **POST** /scanners/ping | Tests scanner registration settings |
|
234
|
+
| *Harbor2Client::ScannerApi* | [**set_scanner_as_default**](docs/ScannerApi.md#set_scanner_as_default) | **PATCH** /scanners/{registration_id} | Set system default scanner registration |
|
235
|
+
| *Harbor2Client::ScannerApi* | [**update_scanner**](docs/ScannerApi.md#update_scanner) | **PUT** /scanners/{registration_id} | Update a scanner registration |
|
236
|
+
| *Harbor2Client::SearchApi* | [**search**](docs/SearchApi.md#search) | **GET** /search | Search for projects, repositories and helm charts |
|
237
|
+
| *Harbor2Client::StatisticApi* | [**get_statistic**](docs/StatisticApi.md#get_statistic) | **GET** /statistics | Get the statistic information about the projects and repositories |
|
238
|
+
| *Harbor2Client::SystemCVEAllowlistApi* | [**get_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#get_system_cve_allowlist) | **GET** /system/CVEAllowlist | Get the system level allowlist of CVE. |
|
239
|
+
| *Harbor2Client::SystemCVEAllowlistApi* | [**put_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#put_system_cve_allowlist) | **PUT** /system/CVEAllowlist | Update the system level allowlist of CVE. |
|
240
|
+
| *Harbor2Client::SysteminfoApi* | [**get_cert**](docs/SysteminfoApi.md#get_cert) | **GET** /systeminfo/getcert | Get default root certificate. |
|
241
|
+
| *Harbor2Client::SysteminfoApi* | [**get_system_info**](docs/SysteminfoApi.md#get_system_info) | **GET** /systeminfo | Get general system info |
|
242
|
+
| *Harbor2Client::SysteminfoApi* | [**get_volumes**](docs/SysteminfoApi.md#get_volumes) | **GET** /systeminfo/volumes | Get system volume info (total/free size). |
|
243
|
+
| *Harbor2Client::UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /users | Create a local user. |
|
244
|
+
| *Harbor2Client::UserApi* | [**delete_user**](docs/UserApi.md#delete_user) | **DELETE** /users/{user_id} | Mark a registered user as be removed. |
|
245
|
+
| *Harbor2Client::UserApi* | [**get_current_user_info**](docs/UserApi.md#get_current_user_info) | **GET** /users/current | Get current user info. |
|
246
|
+
| *Harbor2Client::UserApi* | [**get_current_user_permissions**](docs/UserApi.md#get_current_user_permissions) | **GET** /users/current/permissions | Get current user permissions. |
|
247
|
+
| *Harbor2Client::UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /users/{user_id} | Get a user's profile. |
|
248
|
+
| *Harbor2Client::UserApi* | [**list_users**](docs/UserApi.md#list_users) | **GET** /users | List users |
|
249
|
+
| *Harbor2Client::UserApi* | [**search_users**](docs/UserApi.md#search_users) | **GET** /users/search | Search users by username |
|
250
|
+
| *Harbor2Client::UserApi* | [**set_cli_secret**](docs/UserApi.md#set_cli_secret) | **PUT** /users/{user_id}/cli_secret | Set CLI secret for a user. |
|
251
|
+
| *Harbor2Client::UserApi* | [**set_user_sys_admin**](docs/UserApi.md#set_user_sys_admin) | **PUT** /users/{user_id}/sysadmin | Update a registered user to change to be an administrator of Harbor. |
|
252
|
+
| *Harbor2Client::UserApi* | [**update_user_password**](docs/UserApi.md#update_user_password) | **PUT** /users/{user_id}/password | Change the password on a user that already exists. |
|
253
|
+
| *Harbor2Client::UserApi* | [**update_user_profile**](docs/UserApi.md#update_user_profile) | **PUT** /users/{user_id} | Update user's profile. |
|
254
|
+
| *Harbor2Client::UsergroupApi* | [**create_user_group**](docs/UsergroupApi.md#create_user_group) | **POST** /usergroups | Create user group |
|
255
|
+
| *Harbor2Client::UsergroupApi* | [**delete_user_group**](docs/UsergroupApi.md#delete_user_group) | **DELETE** /usergroups/{group_id} | Delete user group |
|
256
|
+
| *Harbor2Client::UsergroupApi* | [**get_user_group**](docs/UsergroupApi.md#get_user_group) | **GET** /usergroups/{group_id} | Get user group information |
|
257
|
+
| *Harbor2Client::UsergroupApi* | [**list_user_groups**](docs/UsergroupApi.md#list_user_groups) | **GET** /usergroups | Get all user groups information |
|
258
|
+
| *Harbor2Client::UsergroupApi* | [**update_user_group**](docs/UsergroupApi.md#update_user_group) | **PUT** /usergroups/{group_id} | Update group information |
|
259
|
+
| *Harbor2Client::WebhookApi* | [**create_webhook_policy_of_project**](docs/WebhookApi.md#create_webhook_policy_of_project) | **POST** /projects/{project_name_or_id}/webhook/policies | Create project webhook policy. |
|
260
|
+
| *Harbor2Client::WebhookApi* | [**delete_webhook_policy_of_project**](docs/WebhookApi.md#delete_webhook_policy_of_project) | **DELETE** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Delete webhook policy of a project |
|
261
|
+
| *Harbor2Client::WebhookApi* | [**get_supported_event_types**](docs/WebhookApi.md#get_supported_event_types) | **GET** /projects/{project_name_or_id}/webhook/events | Get supported event types and notify types. |
|
262
|
+
| *Harbor2Client::WebhookApi* | [**get_webhook_policy_of_project**](docs/WebhookApi.md#get_webhook_policy_of_project) | **GET** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Get project webhook policy |
|
263
|
+
| *Harbor2Client::WebhookApi* | [**last_trigger**](docs/WebhookApi.md#last_trigger) | **GET** /projects/{project_name_or_id}/webhook/lasttrigger | Get project webhook policy last trigger info |
|
264
|
+
| *Harbor2Client::WebhookApi* | [**list_webhook_policies_of_project**](docs/WebhookApi.md#list_webhook_policies_of_project) | **GET** /projects/{project_name_or_id}/webhook/policies | List project webhook policies. |
|
265
|
+
| *Harbor2Client::WebhookApi* | [**update_webhook_policy_of_project**](docs/WebhookApi.md#update_webhook_policy_of_project) | **PUT** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Update webhook policy of a project. |
|
266
|
+
| *Harbor2Client::WebhookjobApi* | [**list_webhook_jobs**](docs/WebhookjobApi.md#list_webhook_jobs) | **GET** /projects/{project_name_or_id}/webhook/jobs | List project webhook jobs |
|
267
267
|
|
268
268
|
|
269
269
|
## Documentation for Models
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# 1. Create a new git branch
|
3
|
+
# 2. Clean out repo (delete everything except build_scripts folder and .git folder)
|
4
|
+
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
+
# 4. Run this script from the root of the repo ( e.g. "build_scripts/generate.sh 2.3.3")
|
6
|
+
# 5. Check previous commits to check required manual fixups (may or may not stil be required)
|
7
|
+
version=$1
|
8
|
+
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/v2.0/swagger.yaml" -l ruby -c /local/build_scripts/swagger-codegen-cli-ruby-config.json -o /local/
|
@@ -211,6 +211,8 @@ module Harbor2Client
|
|
211
211
|
# @param [Hash] opts the optional parameters
|
212
212
|
# @option opts [String] :x_request_id An unique ID for the request
|
213
213
|
# @return [Array<(Array<UserGroup>, Fixnum, Hash)>] Array<UserGroup> data, response status code and response headers
|
214
|
+
# @option opts [Integer] :page The page number
|
215
|
+
# @option opts [Integer] :page_size The size of per page
|
214
216
|
def list_user_groups_with_http_info(opts = {})
|
215
217
|
if @api_client.config.debugging
|
216
218
|
@api_client.config.logger.debug 'Calling API: UsergroupApi.list_user_groups ...'
|
@@ -219,11 +221,17 @@ module Harbor2Client
|
|
219
221
|
fail ArgumentError, 'invalid value for "opts[:"x_request_id"]" when calling UsergroupApi.list_user_groups, the character length must be great than or equal to 1.'
|
220
222
|
end
|
221
223
|
|
224
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 100
|
225
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling UserApi.list_users, must be smaller than or equal to 100.'
|
226
|
+
end
|
227
|
+
|
222
228
|
# resource path
|
223
229
|
local_var_path = '/usergroups'
|
224
230
|
|
225
231
|
# query parameters
|
226
232
|
query_params = {}
|
233
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
234
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
227
235
|
|
228
236
|
# header parameters
|
229
237
|
header_params = {}
|
@@ -34,8 +34,8 @@ module Harbor2Client
|
|
34
34
|
{
|
35
35
|
:'architecture' => :'architecture',
|
36
36
|
:'os' => :'os',
|
37
|
-
:'os_version' => :'
|
38
|
-
:'os_features' => :'
|
37
|
+
:'os_version' => :'os.version',
|
38
|
+
:'os_features' => :'os.features',
|
39
39
|
:'variant' => :'variant'
|
40
40
|
}
|
41
41
|
end
|
@@ -67,12 +67,12 @@ module Harbor2Client
|
|
67
67
|
self.os = attributes[:'os']
|
68
68
|
end
|
69
69
|
|
70
|
-
if attributes.has_key?(:'
|
71
|
-
self.os_version = attributes[:'
|
70
|
+
if attributes.has_key?(:'os.version')
|
71
|
+
self.os_version = attributes[:'os.version']
|
72
72
|
end
|
73
73
|
|
74
|
-
if attributes.has_key?(:'
|
75
|
-
if (value = attributes[:'
|
74
|
+
if attributes.has_key?(:'os.features')
|
75
|
+
if (value = attributes[:'os.features']).is_a?(Array)
|
76
76
|
self.os_features = value
|
77
77
|
end
|
78
78
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harbor2_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.3.
|
4
|
+
version: 2.3.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Grainger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -34,62 +34,62 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.1'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.1'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: addressable
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 2.3.0
|
60
57
|
- - "~>"
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: '2.3'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.3.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 2.3.0
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: '2.3'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 2.3.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rspec
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: 3.6.0
|
80
77
|
- - "~>"
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: '3.6'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.6.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 3.6.0
|
90
87
|
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: '3.6'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 3.6.0
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: vcr
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,8 +220,8 @@ files:
|
|
220
220
|
- Gemfile
|
221
221
|
- README.md
|
222
222
|
- Rakefile
|
223
|
-
-
|
224
|
-
-
|
223
|
+
- build_scripts/generate.sh
|
224
|
+
- build_scripts/swagger-codegen-cli-ruby-config.json
|
225
225
|
- docs/Access.md
|
226
226
|
- docs/AdditionLink.md
|
227
227
|
- docs/AdditionLinks.md
|
@@ -755,179 +755,179 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
755
755
|
- !ruby/object:Gem::Version
|
756
756
|
version: '0'
|
757
757
|
requirements: []
|
758
|
-
rubygems_version: 3.
|
758
|
+
rubygems_version: 3.1.2
|
759
759
|
signing_key:
|
760
760
|
specification_version: 4
|
761
761
|
summary: A ruby wrapper for the Harbor swagger APIs
|
762
762
|
test_files:
|
763
|
-
- spec/api/statistic_api_spec.rb
|
764
|
-
- spec/api/oidc_api_spec.rb
|
765
|
-
- spec/api/ping_api_spec.rb
|
766
|
-
- spec/api/system_cve_allowlist_api_spec.rb
|
767
|
-
- spec/api/scan_api_spec.rb
|
768
|
-
- spec/api/quota_api_spec.rb
|
769
|
-
- spec/api/health_api_spec.rb
|
770
|
-
- spec/api/ldap_api_spec.rb
|
771
|
-
- spec/api/label_api_spec.rb
|
772
|
-
- spec/api/auditlog_api_spec.rb
|
773
|
-
- spec/api/repository_api_spec.rb
|
774
|
-
- spec/api/scan_all_api_spec.rb
|
775
763
|
- spec/api/configure_api_spec.rb
|
776
|
-
- spec/api/
|
777
|
-
- spec/api/
|
778
|
-
- spec/api/
|
779
|
-
- spec/api/usergroup_api_spec.rb
|
780
|
-
- spec/api/preheat_api_spec.rb
|
781
|
-
- spec/api/immutable_api_spec.rb
|
782
|
-
- spec/api/project_api_spec.rb
|
764
|
+
- spec/api/replication_api_spec.rb
|
765
|
+
- spec/api/auditlog_api_spec.rb
|
766
|
+
- spec/api/project_metadata_api_spec.rb
|
783
767
|
- spec/api/search_api_spec.rb
|
768
|
+
- spec/api/immutable_api_spec.rb
|
769
|
+
- spec/api/icon_api_spec.rb
|
784
770
|
- spec/api/systeminfo_api_spec.rb
|
771
|
+
- spec/api/ping_api_spec.rb
|
785
772
|
- spec/api/member_api_spec.rb
|
786
|
-
- spec/api/
|
773
|
+
- spec/api/project_api_spec.rb
|
774
|
+
- spec/api/repository_api_spec.rb
|
775
|
+
- spec/api/quota_api_spec.rb
|
776
|
+
- spec/api/retention_api_spec.rb
|
777
|
+
- spec/api/robot_api_spec.rb
|
778
|
+
- spec/api/health_api_spec.rb
|
779
|
+
- spec/api/artifact_api_spec.rb
|
780
|
+
- spec/api/preheat_api_spec.rb
|
781
|
+
- spec/api/webhookjob_api_spec.rb
|
787
782
|
- spec/api/robotv1_api_spec.rb
|
788
|
-
- spec/api/
|
783
|
+
- spec/api/scan_api_spec.rb
|
784
|
+
- spec/api/webhook_api_spec.rb
|
789
785
|
- spec/api/gc_api_spec.rb
|
786
|
+
- spec/api/system_cve_allowlist_api_spec.rb
|
787
|
+
- spec/api/label_api_spec.rb
|
788
|
+
- spec/api/oidc_api_spec.rb
|
789
|
+
- spec/api/usergroup_api_spec.rb
|
790
790
|
- spec/api/user_api_spec.rb
|
791
|
-
- spec/api/
|
792
|
-
- spec/api/
|
793
|
-
- spec/api/
|
794
|
-
- spec/api/
|
795
|
-
- spec/api/
|
791
|
+
- spec/api/statistic_api_spec.rb
|
792
|
+
- spec/api/registry_api_spec.rb
|
793
|
+
- spec/api/ldap_api_spec.rb
|
794
|
+
- spec/api/scan_all_api_spec.rb
|
795
|
+
- spec/api/scanner_api_spec.rb
|
796
796
|
- spec/api_client_spec.rb
|
797
797
|
- spec/configuration_spec.rb
|
798
|
-
- spec/models/
|
799
|
-
- spec/models/vulnerability_summary_spec.rb
|
800
|
-
- spec/models/robot_created_spec.rb
|
801
|
-
- spec/models/oidc_user_info_spec.rb
|
802
|
-
- spec/models/robot_permission_spec.rb
|
803
|
-
- spec/models/integer_config_item_spec.rb
|
804
|
-
- spec/models/user_sys_admin_flag_spec.rb
|
805
|
-
- spec/models/start_replication_execution_spec.rb
|
806
|
-
- spec/models/access_spec.rb
|
807
|
-
- spec/models/stats_spec.rb
|
808
|
-
- spec/models/scanner_spec.rb
|
809
|
-
- spec/models/replication_execution_spec.rb
|
810
|
-
- spec/models/native_report_summary_spec.rb
|
811
|
-
- spec/models/project_deletable_spec.rb
|
812
|
-
- spec/models/project_member_entity_spec.rb
|
813
|
-
- spec/models/preheat_policy_spec.rb
|
814
|
-
- spec/models/quota_ref_object_spec.rb
|
815
|
-
- spec/models/scanner_registration_settings_spec.rb
|
816
|
-
- spec/models/registry_provider_endpoint_pattern_spec.rb
|
817
|
-
- spec/models/webhook_job_spec.rb
|
818
|
-
- spec/models/configurations_response_scan_all_policy_spec.rb
|
819
|
-
- spec/models/error_spec.rb
|
820
|
-
- spec/models/execution_spec.rb
|
821
|
-
- spec/models/registry_endpoint_spec.rb
|
822
|
-
- spec/models/configurations_response_scan_all_policy_parameter_spec.rb
|
823
|
-
- spec/models/robot_create_spec.rb
|
824
|
-
- spec/models/body_1_spec.rb
|
825
|
-
- spec/models/user_entity_spec.rb
|
826
|
-
- spec/models/ldap_import_users_spec.rb
|
827
|
-
- spec/models/registry_credential_spec.rb
|
828
|
-
- spec/models/schedule_spec.rb
|
829
|
-
- spec/models/scanner_registration_req_spec.rb
|
830
|
-
- spec/models/label_spec.rb
|
798
|
+
- spec/models/cve_allowlist_item_spec.rb
|
831
799
|
- spec/models/permission_spec.rb
|
832
|
-
- spec/models/
|
833
|
-
- spec/models/
|
834
|
-
- spec/models/
|
835
|
-
- spec/models/
|
836
|
-
- spec/models/project_spec.rb
|
837
|
-
- spec/models/artifact_spec.rb
|
838
|
-
- spec/models/webhook_target_object_spec.rb
|
839
|
-
- spec/models/user_search_spec.rb
|
840
|
-
- spec/models/internal_configurations_response_spec.rb
|
841
|
-
- spec/models/supported_webhook_event_types_spec.rb
|
842
|
-
- spec/models/replication_policy_spec.rb
|
843
|
-
- spec/models/oidc_cli_secret_req_spec.rb
|
844
|
-
- spec/models/quota_spec.rb
|
845
|
-
- spec/models/user_group_spec.rb
|
846
|
-
- spec/models/general_info_spec.rb
|
847
|
-
- spec/models/metrics_spec.rb
|
800
|
+
- spec/models/scanner_capability_spec.rb
|
801
|
+
- spec/models/registry_endpoint_spec.rb
|
802
|
+
- spec/models/cve_allowlist_spec.rb
|
803
|
+
- spec/models/ldap_failed_import_user_spec.rb
|
848
804
|
- spec/models/user_search_resp_item_spec.rb
|
849
|
-
- spec/models/
|
850
|
-
- spec/models/retention_rule_trigger_spec.rb
|
851
|
-
- spec/models/provider_under_project_spec.rb
|
852
|
-
- spec/models/body_spec.rb
|
853
|
-
- spec/models/quota_update_req_spec.rb
|
854
|
-
- spec/models/is_default_spec.rb
|
805
|
+
- spec/models/robot_sec_spec.rb
|
855
806
|
- spec/models/robot_create_v1_spec.rb
|
856
|
-
- spec/models/retention_selector_metadata_spec.rb
|
857
|
-
- spec/models/storage_spec.rb
|
858
|
-
- spec/models/registry_update_spec.rb
|
859
|
-
- spec/models/retention_rule_metadata_spec.rb
|
860
|
-
- spec/models/annotations_spec.rb
|
861
|
-
- spec/models/registry_spec.rb
|
862
|
-
- spec/models/registry_info_spec.rb
|
863
|
-
- spec/models/project_member_spec.rb
|
864
|
-
- spec/models/retention_selector_spec.rb
|
865
807
|
- spec/models/robot_spec.rb
|
866
|
-
- spec/models/
|
867
|
-
- spec/models/
|
868
|
-
- spec/models/gc_history_spec.rb
|
869
|
-
- spec/models/reference_spec.rb
|
870
|
-
- spec/models/cve_allowlist_spec.rb
|
871
|
-
- spec/models/errors_spec.rb
|
872
|
-
- spec/models/cve_allowlist_item_spec.rb
|
873
|
-
- spec/models/task_spec.rb
|
808
|
+
- spec/models/search_spec.rb
|
809
|
+
- spec/models/body_spec.rb
|
874
810
|
- spec/models/search_repository_spec.rb
|
875
|
-
- spec/models/
|
876
|
-
- spec/models/
|
811
|
+
- spec/models/body_1_spec.rb
|
812
|
+
- spec/models/scanner_registration_req_spec.rb
|
813
|
+
- spec/models/configurations_response_spec.rb
|
814
|
+
- spec/models/errors_spec.rb
|
815
|
+
- spec/models/project_member_entity_spec.rb
|
816
|
+
- spec/models/registry_ping_spec.rb
|
817
|
+
- spec/models/project_member_spec.rb
|
818
|
+
- spec/models/is_default_spec.rb
|
819
|
+
- spec/models/chart_metadata_spec.rb
|
820
|
+
- spec/models/start_replication_execution_spec.rb
|
877
821
|
- spec/models/registry_provider_info_spec.rb
|
878
|
-
- spec/models/instance_spec.rb
|
879
|
-
- spec/models/project_summary_quota_spec.rb
|
880
|
-
- spec/models/schedule_obj_spec.rb
|
881
|
-
- spec/models/resource_list_spec.rb
|
882
|
-
- spec/models/ldap_conf_spec.rb
|
883
|
-
- spec/models/retention_execution_spec.rb
|
884
|
-
- spec/models/retention_policy_spec.rb
|
885
|
-
- spec/models/project_scanner_spec.rb
|
886
|
-
- spec/models/string_config_item_spec.rb
|
887
|
-
- spec/models/icon_spec.rb
|
888
822
|
- spec/models/replication_filter_spec.rb
|
823
|
+
- spec/models/metrics_spec.rb
|
824
|
+
- spec/models/role_request_spec.rb
|
825
|
+
- spec/models/chart_version_spec.rb
|
889
826
|
- spec/models/component_health_status_spec.rb
|
890
|
-
- spec/models/
|
891
|
-
- spec/models/
|
892
|
-
- spec/models/
|
893
|
-
- spec/models/
|
894
|
-
- spec/models/extra_attrs_spec.rb
|
895
|
-
- spec/models/tag_spec.rb
|
896
|
-
- spec/models/webhook_last_trigger_spec.rb
|
897
|
-
- spec/models/robot_sec_spec.rb
|
898
|
-
- spec/models/system_info_spec.rb
|
899
|
-
- spec/models/registry_ping_spec.rb
|
827
|
+
- spec/models/scanner_adapter_metadata_spec.rb
|
828
|
+
- spec/models/oidc_cli_secret_req_spec.rb
|
829
|
+
- spec/models/quota_update_req_spec.rb
|
830
|
+
- spec/models/execution_spec.rb
|
900
831
|
- spec/models/webhook_policy_spec.rb
|
901
|
-
- spec/models/
|
902
|
-
- spec/models/registry_provider_credential_pattern_spec.rb
|
903
|
-
- spec/models/filter_style_spec.rb
|
904
|
-
- spec/models/repository_spec.rb
|
905
|
-
- spec/models/platform_spec.rb
|
832
|
+
- spec/models/ldap_ping_result_spec.rb
|
906
833
|
- spec/models/configurations_spec.rb
|
907
|
-
- spec/models/
|
834
|
+
- spec/models/configurations_response_scan_all_policy_parameter_spec.rb
|
835
|
+
- spec/models/audit_log_spec.rb
|
836
|
+
- spec/models/quota_spec.rb
|
837
|
+
- spec/models/platform_spec.rb
|
838
|
+
- spec/models/internal_configurations_response_spec.rb
|
839
|
+
- spec/models/retention_rule_trigger_spec.rb
|
840
|
+
- spec/models/retention_policy_spec.rb
|
841
|
+
- spec/models/registry_provider_credential_pattern_spec.rb
|
842
|
+
- spec/models/stats_spec.rb
|
843
|
+
- spec/models/supported_webhook_event_types_spec.rb
|
908
844
|
- spec/models/metadata_spec.rb
|
909
|
-
- spec/models/
|
845
|
+
- spec/models/search_result_spec.rb
|
846
|
+
- spec/models/schedule_spec.rb
|
847
|
+
- spec/models/webhook_job_spec.rb
|
848
|
+
- spec/models/storage_spec.rb
|
849
|
+
- spec/models/registry_spec.rb
|
850
|
+
- spec/models/notify_type_spec.rb
|
851
|
+
- spec/models/general_info_spec.rb
|
910
852
|
- spec/models/authproxy_setting_spec.rb
|
853
|
+
- spec/models/project_metadata_spec.rb
|
854
|
+
- spec/models/oidc_user_info_spec.rb
|
855
|
+
- spec/models/immutable_rule_spec.rb
|
856
|
+
- spec/models/string_config_item_spec.rb
|
857
|
+
- spec/models/resource_list_spec.rb
|
858
|
+
- spec/models/preheat_policy_spec.rb
|
859
|
+
- spec/models/retention_policy_scope_spec.rb
|
860
|
+
- spec/models/replication_execution_spec.rb
|
861
|
+
- spec/models/vulnerability_summary_spec.rb
|
862
|
+
- spec/models/password_req_spec.rb
|
863
|
+
- spec/models/project_spec.rb
|
864
|
+
- spec/models/statistic_spec.rb
|
865
|
+
- spec/models/filter_style_spec.rb
|
911
866
|
- spec/models/retention_rule_spec.rb
|
912
|
-
- spec/models/
|
913
|
-
- spec/models/
|
914
|
-
- spec/models/
|
915
|
-
- spec/models/search_result_spec.rb
|
867
|
+
- spec/models/integer_config_item_spec.rb
|
868
|
+
- spec/models/user_sys_admin_flag_spec.rb
|
869
|
+
- spec/models/retention_selector_metadata_spec.rb
|
916
870
|
- spec/models/scan_overview_spec.rb
|
917
|
-
- spec/models/
|
918
|
-
- spec/models/
|
919
|
-
- spec/models/
|
871
|
+
- spec/models/user_search_spec.rb
|
872
|
+
- spec/models/replication_trigger_spec.rb
|
873
|
+
- spec/models/replication_task_spec.rb
|
874
|
+
- spec/models/user_profile_spec.rb
|
875
|
+
- spec/models/icon_spec.rb
|
876
|
+
- spec/models/error_spec.rb
|
877
|
+
- spec/models/native_report_summary_spec.rb
|
878
|
+
- spec/models/scanner_spec.rb
|
879
|
+
- spec/models/label_spec.rb
|
880
|
+
- spec/models/retention_rule_param_metadata_spec.rb
|
881
|
+
- spec/models/addition_links_spec.rb
|
882
|
+
- spec/models/retention_selector_spec.rb
|
883
|
+
- spec/models/artifact_spec.rb
|
884
|
+
- spec/models/instance_spec.rb
|
885
|
+
- spec/models/retention_execution_task_spec.rb
|
886
|
+
- spec/models/scanner_registration_settings_spec.rb
|
887
|
+
- spec/models/retention_rule_metadata_spec.rb
|
888
|
+
- spec/models/event_type_spec.rb
|
889
|
+
- spec/models/scanner_registration_spec.rb
|
920
890
|
- spec/models/user_resp_spec.rb
|
921
|
-
- spec/models/
|
891
|
+
- spec/models/user_entity_spec.rb
|
892
|
+
- spec/models/overall_health_status_spec.rb
|
893
|
+
- spec/models/project_deletable_spec.rb
|
894
|
+
- spec/models/ldap_user_spec.rb
|
895
|
+
- spec/models/project_summary_quota_spec.rb
|
896
|
+
- spec/models/registry_credential_spec.rb
|
897
|
+
- spec/models/provider_under_project_spec.rb
|
898
|
+
- spec/models/project_scanner_spec.rb
|
899
|
+
- spec/models/endpoint_spec.rb
|
922
900
|
- spec/models/user_creation_req_spec.rb
|
923
|
-
- spec/models/
|
924
|
-
- spec/models/
|
901
|
+
- spec/models/retention_metadata_spec.rb
|
902
|
+
- spec/models/repository_spec.rb
|
925
903
|
- spec/models/bool_config_item_spec.rb
|
926
|
-
- spec/models/
|
927
|
-
- spec/models/
|
928
|
-
- spec/models/
|
929
|
-
- spec/models/
|
930
|
-
- spec/models/
|
904
|
+
- spec/models/immutable_selector_spec.rb
|
905
|
+
- spec/models/robot_created_spec.rb
|
906
|
+
- spec/models/quota_ref_object_spec.rb
|
907
|
+
- spec/models/annotations_spec.rb
|
908
|
+
- spec/models/robot_permission_spec.rb
|
909
|
+
- spec/models/ldap_import_users_spec.rb
|
910
|
+
- spec/models/retention_execution_spec.rb
|
911
|
+
- spec/models/system_info_spec.rb
|
912
|
+
- spec/models/extra_attrs_spec.rb
|
913
|
+
- spec/models/reference_spec.rb
|
914
|
+
- spec/models/ldap_conf_spec.rb
|
915
|
+
- spec/models/webhook_target_object_spec.rb
|
916
|
+
- spec/models/replication_trigger_settings_spec.rb
|
917
|
+
- spec/models/configurations_response_scan_all_policy_spec.rb
|
918
|
+
- spec/models/gc_history_spec.rb
|
919
|
+
- spec/models/replication_policy_spec.rb
|
920
|
+
- spec/models/registry_update_spec.rb
|
931
921
|
- spec/models/project_summary_spec.rb
|
932
|
-
- spec/models/
|
922
|
+
- spec/models/schedule_obj_spec.rb
|
923
|
+
- spec/models/tag_spec.rb
|
924
|
+
- spec/models/robot_create_spec.rb
|
925
|
+
- spec/models/task_spec.rb
|
926
|
+
- spec/models/registry_info_spec.rb
|
927
|
+
- spec/models/addition_link_spec.rb
|
928
|
+
- spec/models/project_req_spec.rb
|
929
|
+
- spec/models/webhook_last_trigger_spec.rb
|
930
|
+
- spec/models/user_group_spec.rb
|
931
|
+
- spec/models/registry_provider_endpoint_pattern_spec.rb
|
932
|
+
- spec/models/access_spec.rb
|
933
933
|
- spec/spec_helper.rb
|
data/build/generate.sh
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
# 1. Create a new git branch
|
3
|
-
# 2. Clean out repo (delete everything except build folder and .git folder)
|
4
|
-
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
-
# 4. Run this script from the root of the repo ( e.g. "build/generate.sh 2.3.3")
|
6
|
-
# Clean out repo (remove everything except )
|
7
|
-
version=$1
|
8
|
-
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/v2.0/swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/
|