harbor1_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +438 -0
- data/Rakefile +8 -0
- data/docs/AccessLog.md +13 -0
- data/docs/Action.md +8 -0
- data/docs/Action1.md +8 -0
- data/docs/AdminJobSchedule.md +8 -0
- data/docs/AdminJobScheduleObj.md +9 -0
- data/docs/BadRequestFormatedError.md +8 -0
- data/docs/BoolConfigItem.md +9 -0
- data/docs/CVEWhitelist.md +11 -0
- data/docs/CVEWhitelistItem.md +8 -0
- data/docs/ChartAPIError.md +8 -0
- data/docs/ChartInfoEntry.md +15 -0
- data/docs/ChartInfoList.md +7 -0
- data/docs/ChartMetadata.md +18 -0
- data/docs/ChartRepositoryApi.md +698 -0
- data/docs/ChartVersion.md +23 -0
- data/docs/ChartVersionDetails.md +13 -0
- data/docs/ChartVersions.md +7 -0
- data/docs/ComponentHealthStatus.md +10 -0
- data/docs/ComponentOverviewEntry.md +9 -0
- data/docs/Configurations.md +42 -0
- data/docs/ConfigurationsResponse.md +41 -0
- data/docs/ConfigurationsScanAllPolicy.md +9 -0
- data/docs/ConfigurationsScanAllPolicyParameter.md +8 -0
- data/docs/ConflictFormatedError.md +8 -0
- data/docs/Dependency.md +10 -0
- data/docs/DetailedTag.md +18 -0
- data/docs/DigitalSignature.md +9 -0
- data/docs/EmailServerSetting.md +13 -0
- data/docs/Endpoint.md +9 -0
- data/docs/FilterStyle.md +10 -0
- data/docs/ForbiddenChartAPIError.md +8 -0
- data/docs/GCResult.md +15 -0
- data/docs/GeneralInfo.md +20 -0
- data/docs/GeneralInfoClairVulnerabilityStatus.md +9 -0
- data/docs/HasAdminRole.md +8 -0
- data/docs/ImmutableTagRule.md +11 -0
- data/docs/InlineResponse200.md +8 -0
- data/docs/InputSecret.md +8 -0
- data/docs/InsufficientStorageChartAPIError.md +8 -0
- data/docs/IntegerConfigItem.md +9 -0
- data/docs/InternalChartAPIError.md +8 -0
- data/docs/IsDefault.md +8 -0
- data/docs/JobStatus.md +15 -0
- data/docs/Label.md +16 -0
- data/docs/LabelApi.md +191 -0
- data/docs/Labels.md +7 -0
- data/docs/LdapConf.md +15 -0
- data/docs/LdapFailedImportUsers.md +9 -0
- data/docs/LdapImportUsers.md +8 -0
- data/docs/LdapUsers.md +10 -0
- data/docs/Manifest.md +9 -0
- data/docs/Namespace.md +9 -0
- data/docs/NativeReportSummary.md +14 -0
- data/docs/NotFoundChartAPIError.md +8 -0
- data/docs/OverallHealthStatus.md +9 -0
- data/docs/Password.md +9 -0
- data/docs/Permission.md +9 -0
- data/docs/PingRegistry.md +14 -0
- data/docs/ProductsApi.md +8594 -0
- data/docs/Project.md +21 -0
- data/docs/ProjectMember.md +10 -0
- data/docs/ProjectMemberEntity.md +14 -0
- data/docs/ProjectMetadata.md +13 -0
- data/docs/ProjectReq.md +12 -0
- data/docs/ProjectScanner.md +8 -0
- data/docs/ProjectSummary.md +14 -0
- data/docs/ProjectSummaryQuota.md +9 -0
- data/docs/PutRegistry.md +14 -0
- data/docs/Quota.md +13 -0
- data/docs/QuotaApi.md +118 -0
- data/docs/QuotaRefObject.md +7 -0
- data/docs/QuotaSwitcher.md +8 -0
- data/docs/QuotaUpdateReq.md +8 -0
- data/docs/Registry.md +17 -0
- data/docs/RegistryCredential.md +10 -0
- data/docs/RegistryInfo.md +11 -0
- data/docs/ReplicationExecution.md +19 -0
- data/docs/ReplicationFilter.md +9 -0
- data/docs/ReplicationPolicy.md +20 -0
- data/docs/ReplicationTask.md +16 -0
- data/docs/ReplicationTrigger.md +9 -0
- data/docs/RepoSignature.md +9 -0
- data/docs/Report.md +11 -0
- data/docs/Repository.md +17 -0
- data/docs/RepositoryDescription.md +8 -0
- data/docs/Resource.md +8 -0
- data/docs/ResourceList.md +7 -0
- data/docs/RetagReq.md +10 -0
- data/docs/RetentionApi.md +449 -0
- data/docs/RetentionExecution.md +14 -0
- data/docs/RetentionExecutionTask.md +18 -0
- data/docs/RetentionMetadata.md +10 -0
- data/docs/RetentionPolicy.md +12 -0
- data/docs/RetentionPolicyScope.md +9 -0
- data/docs/RetentionRule.md +15 -0
- data/docs/RetentionRuleMetadata.md +11 -0
- data/docs/RetentionRuleParamMetadata.md +10 -0
- data/docs/RetentionRuleTrigger.md +10 -0
- data/docs/RetentionSelector.md +10 -0
- data/docs/RetentionSelectorMetadata.md +10 -0
- data/docs/RobotAccount.md +15 -0
- data/docs/RobotAccountAccess.md +9 -0
- data/docs/RobotAccountApi.md +291 -0
- data/docs/RobotAccountCreate.md +10 -0
- data/docs/RobotAccountPostRep.md +9 -0
- data/docs/RobotAccountUpdate.md +8 -0
- data/docs/Role.md +11 -0
- data/docs/RoleParam.md +9 -0
- data/docs/RoleRequest.md +8 -0
- data/docs/ScanApi.md +281 -0
- data/docs/ScanOverview.md +7 -0
- data/docs/Scanner.md +10 -0
- data/docs/ScannerAdapterMetadata.md +10 -0
- data/docs/ScannerCapability.md +9 -0
- data/docs/ScannerRegistration.md +21 -0
- data/docs/ScannerRegistrationReq.md +15 -0
- data/docs/ScannerRegistrationSettings.md +11 -0
- data/docs/ScannersApi.md +600 -0
- data/docs/Search.md +10 -0
- data/docs/SearchRepository.md +13 -0
- data/docs/SearchResult.md +10 -0
- data/docs/SecurityReport.md +8 -0
- data/docs/StatisticMap.md +13 -0
- data/docs/Stats.md +11 -0
- data/docs/Storage.md +9 -0
- data/docs/StringConfigItem.md +9 -0
- data/docs/SystemApi.md +163 -0
- data/docs/SystemInfo.md +8 -0
- data/docs/Tags.md +8 -0
- data/docs/TriggerSettings.md +8 -0
- data/docs/UnauthorizedChartAPIError.md +8 -0
- data/docs/User.md +21 -0
- data/docs/UserEntity.md +9 -0
- data/docs/UserGroup.md +11 -0
- data/docs/UserProfile.md +10 -0
- data/docs/UserSearch.md +9 -0
- data/docs/VulnNamespaceTimestamp.md +9 -0
- data/docs/VulnerabilityItem.md +14 -0
- data/docs/VulnerabilitySummary.md +10 -0
- data/docs/WebhookJob.md +15 -0
- data/docs/WebhookLastTrigger.md +11 -0
- data/docs/WebhookPolicy.md +17 -0
- data/docs/WebhookTargetObject.md +11 -0
- data/git_push.sh +55 -0
- data/harbor1_client.gemspec +46 -0
- data/lib/harbor1_client.rb +182 -0
- data/lib/harbor1_client/api/chart_repository_api.rb +762 -0
- data/lib/harbor1_client/api/label_api.rb +230 -0
- data/lib/harbor1_client/api/products_api.rb +8783 -0
- data/lib/harbor1_client/api/quota_api.rb +136 -0
- data/lib/harbor1_client/api/retention_api.rb +482 -0
- data/lib/harbor1_client/api/robot_account_api.rb +321 -0
- data/lib/harbor1_client/api/scan_api.rb +307 -0
- data/lib/harbor1_client/api/scanners_api.rb +624 -0
- data/lib/harbor1_client/api/system_api.rb +173 -0
- data/lib/harbor1_client/api_client.rb +391 -0
- data/lib/harbor1_client/api_error.rb +38 -0
- data/lib/harbor1_client/configuration.rb +209 -0
- data/lib/harbor1_client/models/access_log.rb +235 -0
- data/lib/harbor1_client/models/action.rb +184 -0
- data/lib/harbor1_client/models/action_1.rb +184 -0
- data/lib/harbor1_client/models/admin_job_schedule.rb +184 -0
- data/lib/harbor1_client/models/admin_job_schedule_obj.rb +195 -0
- data/lib/harbor1_client/models/bad_request_formated_error.rb +191 -0
- data/lib/harbor1_client/models/bool_config_item.rb +195 -0
- data/lib/harbor1_client/models/chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/chart_info_entry.rb +271 -0
- data/lib/harbor1_client/models/chart_info_list.rb +176 -0
- data/lib/harbor1_client/models/chart_metadata.rb +320 -0
- data/lib/harbor1_client/models/chart_version.rb +371 -0
- data/lib/harbor1_client/models/chart_version_details.rb +236 -0
- data/lib/harbor1_client/models/chart_versions.rb +176 -0
- data/lib/harbor1_client/models/component_health_status.rb +206 -0
- data/lib/harbor1_client/models/component_overview_entry.rb +195 -0
- data/lib/harbor1_client/models/configurations.rb +524 -0
- data/lib/harbor1_client/models/configurations_response.rb +514 -0
- data/lib/harbor1_client/models/configurations_scan_all_policy.rb +194 -0
- data/lib/harbor1_client/models/configurations_scan_all_policy_parameter.rb +186 -0
- data/lib/harbor1_client/models/conflict_formated_error.rb +191 -0
- data/lib/harbor1_client/models/cve_whitelist.rb +217 -0
- data/lib/harbor1_client/models/cve_whitelist_item.rb +186 -0
- data/lib/harbor1_client/models/dependency.rb +216 -0
- data/lib/harbor1_client/models/detailed_tag.rb +287 -0
- data/lib/harbor1_client/models/digital_signature.rb +196 -0
- data/lib/harbor1_client/models/email_server_setting.rb +235 -0
- data/lib/harbor1_client/models/endpoint.rb +195 -0
- data/lib/harbor1_client/models/filter_style.rb +208 -0
- data/lib/harbor1_client/models/forbidden_chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/gc_result.rb +254 -0
- data/lib/harbor1_client/models/general_info.rb +304 -0
- data/lib/harbor1_client/models/general_info_clair_vulnerability_status.rb +198 -0
- data/lib/harbor1_client/models/has_admin_role.rb +185 -0
- data/lib/harbor1_client/models/immutable_tag_rule.rb +211 -0
- data/lib/harbor1_client/models/inline_response_200.rb +184 -0
- data/lib/harbor1_client/models/input_secret.rb +185 -0
- data/lib/harbor1_client/models/insufficient_storage_chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/integer_config_item.rb +195 -0
- data/lib/harbor1_client/models/internal_chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/is_default.rb +185 -0
- data/lib/harbor1_client/models/job_status.rb +257 -0
- data/lib/harbor1_client/models/label.rb +265 -0
- data/lib/harbor1_client/models/labels.rb +176 -0
- data/lib/harbor1_client/models/ldap_conf.rb +255 -0
- data/lib/harbor1_client/models/ldap_failed_import_users.rb +195 -0
- data/lib/harbor1_client/models/ldap_import_users.rb +187 -0
- data/lib/harbor1_client/models/ldap_users.rb +205 -0
- data/lib/harbor1_client/models/manifest.rb +195 -0
- data/lib/harbor1_client/models/namespace.rb +196 -0
- data/lib/harbor1_client/models/native_report_summary.rb +245 -0
- data/lib/harbor1_client/models/not_found_chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/overall_health_status.rb +197 -0
- data/lib/harbor1_client/models/password.rb +195 -0
- data/lib/harbor1_client/models/permission.rb +196 -0
- data/lib/harbor1_client/models/ping_registry.rb +245 -0
- data/lib/harbor1_client/models/project.rb +317 -0
- data/lib/harbor1_client/models/project_member.rb +203 -0
- data/lib/harbor1_client/models/project_member_entity.rb +245 -0
- data/lib/harbor1_client/models/project_metadata.rb +235 -0
- data/lib/harbor1_client/models/project_req.rb +225 -0
- data/lib/harbor1_client/models/project_scanner.rb +185 -0
- data/lib/harbor1_client/models/project_summary.rb +244 -0
- data/lib/harbor1_client/models/project_summary_quota.rb +195 -0
- data/lib/harbor1_client/models/put_registry.rb +245 -0
- data/lib/harbor1_client/models/quota.rb +236 -0
- data/lib/harbor1_client/models/quota_ref_object.rb +175 -0
- data/lib/harbor1_client/models/quota_switcher.rb +185 -0
- data/lib/harbor1_client/models/quota_update_req.rb +185 -0
- data/lib/harbor1_client/models/registry.rb +274 -0
- data/lib/harbor1_client/models/registry_credential.rb +205 -0
- data/lib/harbor1_client/models/registry_info.rb +220 -0
- data/lib/harbor1_client/models/replication_execution.rb +296 -0
- data/lib/harbor1_client/models/replication_filter.rb +195 -0
- data/lib/harbor1_client/models/replication_policy.rb +306 -0
- data/lib/harbor1_client/models/replication_task.rb +266 -0
- data/lib/harbor1_client/models/replication_trigger.rb +194 -0
- data/lib/harbor1_client/models/repo_signature.rb +195 -0
- data/lib/harbor1_client/models/report.rb +216 -0
- data/lib/harbor1_client/models/repository.rb +277 -0
- data/lib/harbor1_client/models/repository_description.rb +185 -0
- data/lib/harbor1_client/models/resource.rb +187 -0
- data/lib/harbor1_client/models/resource_list.rb +175 -0
- data/lib/harbor1_client/models/retag_req.rb +205 -0
- data/lib/harbor1_client/models/retention_execution.rb +238 -0
- data/lib/harbor1_client/models/retention_execution_task.rb +274 -0
- data/lib/harbor1_client/models/retention_metadata.rb +212 -0
- data/lib/harbor1_client/models/retention_policy.rb +223 -0
- data/lib/harbor1_client/models/retention_policy_scope.rb +193 -0
- data/lib/harbor1_client/models/retention_rule.rb +253 -0
- data/lib/harbor1_client/models/retention_rule_metadata.rb +218 -0
- data/lib/harbor1_client/models/retention_rule_param_metadata.rb +203 -0
- data/lib/harbor1_client/models/retention_rule_trigger.rb +202 -0
- data/lib/harbor1_client/models/retention_selector.rb +202 -0
- data/lib/harbor1_client/models/retention_selector_metadata.rb +205 -0
- data/lib/harbor1_client/models/robot_account.rb +256 -0
- data/lib/harbor1_client/models/robot_account_access.rb +195 -0
- data/lib/harbor1_client/models/robot_account_create.rb +207 -0
- data/lib/harbor1_client/models/robot_account_post_rep.rb +195 -0
- data/lib/harbor1_client/models/robot_account_update.rb +185 -0
- data/lib/harbor1_client/models/role.rb +214 -0
- data/lib/harbor1_client/models/role_param.rb +197 -0
- data/lib/harbor1_client/models/role_request.rb +185 -0
- data/lib/harbor1_client/models/scan_overview.rb +176 -0
- data/lib/harbor1_client/models/scanner.rb +205 -0
- data/lib/harbor1_client/models/scanner_adapter_metadata.rb +207 -0
- data/lib/harbor1_client/models/scanner_capability.rb +197 -0
- data/lib/harbor1_client/models/scanner_registration.rb +328 -0
- data/lib/harbor1_client/models/scanner_registration_req.rb +263 -0
- data/lib/harbor1_client/models/scanner_registration_settings.rb +217 -0
- data/lib/harbor1_client/models/search.rb +211 -0
- data/lib/harbor1_client/models/search_repository.rb +235 -0
- data/lib/harbor1_client/models/search_result.rb +205 -0
- data/lib/harbor1_client/models/security_report.rb +185 -0
- data/lib/harbor1_client/models/statistic_map.rb +235 -0
- data/lib/harbor1_client/models/stats.rb +218 -0
- data/lib/harbor1_client/models/storage.rb +195 -0
- data/lib/harbor1_client/models/string_config_item.rb +195 -0
- data/lib/harbor1_client/models/system_info.rb +187 -0
- data/lib/harbor1_client/models/tags.rb +185 -0
- data/lib/harbor1_client/models/trigger_settings.rb +185 -0
- data/lib/harbor1_client/models/unauthorized_chart_api_error.rb +191 -0
- data/lib/harbor1_client/models/user.rb +302 -0
- data/lib/harbor1_client/models/user_entity.rb +195 -0
- data/lib/harbor1_client/models/user_group.rb +215 -0
- data/lib/harbor1_client/models/user_profile.rb +205 -0
- data/lib/harbor1_client/models/user_search.rb +194 -0
- data/lib/harbor1_client/models/vuln_namespace_timestamp.rb +195 -0
- data/lib/harbor1_client/models/vulnerability_item.rb +247 -0
- data/lib/harbor1_client/models/vulnerability_summary.rb +208 -0
- data/lib/harbor1_client/models/webhook_job.rb +256 -0
- data/lib/harbor1_client/models/webhook_last_trigger.rb +216 -0
- data/lib/harbor1_client/models/webhook_policy.rb +278 -0
- data/lib/harbor1_client/models/webhook_target_object.rb +216 -0
- data/lib/harbor1_client/version.rb +15 -0
- data/spec/api/chart_repository_api_spec.rb +196 -0
- data/spec/api/label_api_spec.rb +79 -0
- data/spec/api/products_api_spec.rb +2010 -0
- data/spec/api/quota_api_spec.rb +60 -0
- data/spec/api/retention_api_spec.rb +136 -0
- data/spec/api/robot_account_api_spec.rb +100 -0
- data/spec/api/scan_api_spec.rb +98 -0
- data/spec/api/scanners_api_spec.rb +169 -0
- data/spec/api/system_api_spec.rb +70 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/access_log_spec.rb +71 -0
- data/spec/models/action_1_spec.rb +41 -0
- data/spec/models/action_spec.rb +41 -0
- data/spec/models/admin_job_schedule_obj_spec.rb +47 -0
- data/spec/models/admin_job_schedule_spec.rb +41 -0
- data/spec/models/bad_request_formated_error_spec.rb +41 -0
- data/spec/models/bool_config_item_spec.rb +47 -0
- data/spec/models/chart_api_error_spec.rb +41 -0
- data/spec/models/chart_info_entry_spec.rb +83 -0
- data/spec/models/chart_info_list_spec.rb +35 -0
- data/spec/models/chart_metadata_spec.rb +101 -0
- data/spec/models/chart_version_details_spec.rb +71 -0
- data/spec/models/chart_version_spec.rb +131 -0
- data/spec/models/chart_versions_spec.rb +35 -0
- data/spec/models/component_health_status_spec.rb +53 -0
- data/spec/models/component_overview_entry_spec.rb +47 -0
- data/spec/models/configurations_response_spec.rb +239 -0
- data/spec/models/configurations_scan_all_policy_parameter_spec.rb +41 -0
- data/spec/models/configurations_scan_all_policy_spec.rb +47 -0
- data/spec/models/configurations_spec.rb +245 -0
- data/spec/models/conflict_formated_error_spec.rb +41 -0
- data/spec/models/cve_whitelist_item_spec.rb +41 -0
- data/spec/models/cve_whitelist_spec.rb +59 -0
- data/spec/models/dependency_spec.rb +53 -0
- data/spec/models/detailed_tag_spec.rb +101 -0
- data/spec/models/digital_signature_spec.rb +47 -0
- data/spec/models/email_server_setting_spec.rb +71 -0
- data/spec/models/endpoint_spec.rb +47 -0
- data/spec/models/filter_style_spec.rb +53 -0
- data/spec/models/forbidden_chart_api_error_spec.rb +41 -0
- data/spec/models/gc_result_spec.rb +83 -0
- data/spec/models/general_info_clair_vulnerability_status_spec.rb +47 -0
- data/spec/models/general_info_spec.rb +113 -0
- data/spec/models/has_admin_role_spec.rb +41 -0
- data/spec/models/immutable_tag_rule_spec.rb +59 -0
- data/spec/models/inline_response_200_spec.rb +41 -0
- data/spec/models/input_secret_spec.rb +41 -0
- data/spec/models/insufficient_storage_chart_api_error_spec.rb +41 -0
- data/spec/models/integer_config_item_spec.rb +47 -0
- data/spec/models/internal_chart_api_error_spec.rb +41 -0
- data/spec/models/is_default_spec.rb +41 -0
- data/spec/models/job_status_spec.rb +83 -0
- data/spec/models/label_spec.rb +89 -0
- data/spec/models/labels_spec.rb +35 -0
- data/spec/models/ldap_conf_spec.rb +83 -0
- data/spec/models/ldap_failed_import_users_spec.rb +47 -0
- data/spec/models/ldap_import_users_spec.rb +41 -0
- data/spec/models/ldap_users_spec.rb +53 -0
- data/spec/models/manifest_spec.rb +47 -0
- data/spec/models/namespace_spec.rb +47 -0
- data/spec/models/native_report_summary_spec.rb +77 -0
- data/spec/models/not_found_chart_api_error_spec.rb +41 -0
- data/spec/models/overall_health_status_spec.rb +47 -0
- data/spec/models/password_spec.rb +47 -0
- data/spec/models/permission_spec.rb +47 -0
- data/spec/models/ping_registry_spec.rb +77 -0
- data/spec/models/project_member_entity_spec.rb +77 -0
- data/spec/models/project_member_spec.rb +53 -0
- data/spec/models/project_metadata_spec.rb +71 -0
- data/spec/models/project_req_spec.rb +65 -0
- data/spec/models/project_scanner_spec.rb +41 -0
- data/spec/models/project_spec.rb +119 -0
- data/spec/models/project_summary_quota_spec.rb +47 -0
- data/spec/models/project_summary_spec.rb +77 -0
- data/spec/models/put_registry_spec.rb +77 -0
- data/spec/models/quota_ref_object_spec.rb +35 -0
- data/spec/models/quota_spec.rb +71 -0
- data/spec/models/quota_switcher_spec.rb +41 -0
- data/spec/models/quota_update_req_spec.rb +41 -0
- data/spec/models/registry_credential_spec.rb +53 -0
- data/spec/models/registry_info_spec.rb +59 -0
- data/spec/models/registry_spec.rb +95 -0
- data/spec/models/replication_execution_spec.rb +107 -0
- data/spec/models/replication_filter_spec.rb +47 -0
- data/spec/models/replication_policy_spec.rb +113 -0
- data/spec/models/replication_task_spec.rb +89 -0
- data/spec/models/replication_trigger_spec.rb +47 -0
- data/spec/models/repo_signature_spec.rb +47 -0
- data/spec/models/report_spec.rb +59 -0
- data/spec/models/repository_description_spec.rb +41 -0
- data/spec/models/repository_spec.rb +95 -0
- data/spec/models/resource_list_spec.rb +35 -0
- data/spec/models/resource_spec.rb +41 -0
- data/spec/models/retag_req_spec.rb +53 -0
- data/spec/models/retention_execution_spec.rb +77 -0
- data/spec/models/retention_execution_task_spec.rb +101 -0
- data/spec/models/retention_metadata_spec.rb +53 -0
- data/spec/models/retention_policy_scope_spec.rb +47 -0
- data/spec/models/retention_policy_spec.rb +65 -0
- data/spec/models/retention_rule_metadata_spec.rb +59 -0
- data/spec/models/retention_rule_param_metadata_spec.rb +53 -0
- data/spec/models/retention_rule_spec.rb +83 -0
- data/spec/models/retention_rule_trigger_spec.rb +53 -0
- data/spec/models/retention_selector_metadata_spec.rb +53 -0
- data/spec/models/retention_selector_spec.rb +53 -0
- data/spec/models/robot_account_access_spec.rb +47 -0
- data/spec/models/robot_account_create_spec.rb +53 -0
- data/spec/models/robot_account_post_rep_spec.rb +47 -0
- data/spec/models/robot_account_spec.rb +83 -0
- data/spec/models/robot_account_update_spec.rb +41 -0
- data/spec/models/role_param_spec.rb +47 -0
- data/spec/models/role_request_spec.rb +41 -0
- data/spec/models/role_spec.rb +59 -0
- data/spec/models/scan_overview_spec.rb +35 -0
- data/spec/models/scanner_adapter_metadata_spec.rb +53 -0
- data/spec/models/scanner_capability_spec.rb +47 -0
- data/spec/models/scanner_registration_req_spec.rb +83 -0
- data/spec/models/scanner_registration_settings_spec.rb +59 -0
- data/spec/models/scanner_registration_spec.rb +119 -0
- data/spec/models/scanner_spec.rb +53 -0
- data/spec/models/search_repository_spec.rb +71 -0
- data/spec/models/search_result_spec.rb +53 -0
- data/spec/models/search_spec.rb +53 -0
- data/spec/models/security_report_spec.rb +41 -0
- data/spec/models/statistic_map_spec.rb +71 -0
- data/spec/models/stats_spec.rb +59 -0
- data/spec/models/storage_spec.rb +47 -0
- data/spec/models/string_config_item_spec.rb +47 -0
- data/spec/models/system_info_spec.rb +41 -0
- data/spec/models/tags_spec.rb +41 -0
- data/spec/models/trigger_settings_spec.rb +41 -0
- data/spec/models/unauthorized_chart_api_error_spec.rb +41 -0
- data/spec/models/user_entity_spec.rb +47 -0
- data/spec/models/user_group_spec.rb +59 -0
- data/spec/models/user_profile_spec.rb +53 -0
- data/spec/models/user_search_spec.rb +47 -0
- data/spec/models/user_spec.rb +119 -0
- data/spec/models/vuln_namespace_timestamp_spec.rb +47 -0
- data/spec/models/vulnerability_item_spec.rb +77 -0
- data/spec/models/vulnerability_summary_spec.rb +53 -0
- data/spec/models/webhook_job_spec.rb +83 -0
- data/spec/models/webhook_last_trigger_spec.rb +59 -0
- data/spec/models/webhook_policy_spec.rb +95 -0
- data/spec/models/webhook_target_object_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +832 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a60fdcacca6abe63c89312acb607e7381d4511e00e400f171535a9140d36bb8b
|
4
|
+
data.tar.gz: '009bf5a456b21b6f93f923692a5d7ed31f02fb04e91a1f811aff5c0087516e31'
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0de0b9bed4067cd622acc135c762671f6c06e1b75096a6e28f53cd3615cbd26a8cb0cef7ea3ddd274f94f2f055babad99e8adf5712753d9edd45cbc3eaa4cfca
|
7
|
+
data.tar.gz: c32c9116049d622f045a5f6f0ce3bebcb985965da5b50ceea1703b40af8f3f417f61ced443a0d894bbd9137c32a9a029747c65034c9ffad404c3024c6cb7b022
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
# harbor1_client
|
2
|
+
|
3
|
+
Harbor1Client - the Ruby gem for the [Harbor 1 API](https://github.com/goharbor/harbor/blob/v1.10.6/api/harbor/swagger.yaml).
|
4
|
+
|
5
|
+
These APIs provide services for manipulating Harbor projects.
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
+
|
9
|
+
- API version: 1.10.0
|
10
|
+
- Package version: 0.1.0
|
11
|
+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build harbor1_client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./harbor1_client-0.1.0.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./harbor1_client-0.1.0.gem` to install the development dependencies)
|
29
|
+
|
30
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
|
+
|
32
|
+
Finally add this to the Gemfile:
|
33
|
+
|
34
|
+
gem 'harbor1_client', '~> 0.1.0'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'harbor1_client', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
|
41
|
+
|
42
|
+
### Include the Ruby code directly
|
43
|
+
|
44
|
+
Include the Ruby code directly using `-I` as follows:
|
45
|
+
|
46
|
+
```shell
|
47
|
+
ruby -Ilib script.rb
|
48
|
+
```
|
49
|
+
|
50
|
+
## Getting Started
|
51
|
+
|
52
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
53
|
+
```ruby
|
54
|
+
# Load the gem
|
55
|
+
require 'harbor1_client'
|
56
|
+
|
57
|
+
# Setup authorization
|
58
|
+
Harbor1Client.configure do |config|
|
59
|
+
# Configure HTTP basic authorization: basicAuth
|
60
|
+
config.username = 'YOUR USERNAME'
|
61
|
+
config.password = 'YOUR PASSWORD'
|
62
|
+
end
|
63
|
+
|
64
|
+
api_instance = Harbor1Client::ChartRepositoryApi.new
|
65
|
+
|
66
|
+
chart = File.new('/path/to/file.txt') # File | The chart file
|
67
|
+
|
68
|
+
opts = {
|
69
|
+
prov: File.new('/path/to/file.txt') # File | The provance file
|
70
|
+
}
|
71
|
+
|
72
|
+
begin
|
73
|
+
#Upload a chart file to the defult 'library' project.
|
74
|
+
api_instance.chartrepo_charts_post(chart, opts)
|
75
|
+
rescue Harbor1Client::ApiError => e
|
76
|
+
puts "Exception when calling ChartRepositoryApi->chartrepo_charts_post: #{e}"
|
77
|
+
end
|
78
|
+
|
79
|
+
```
|
80
|
+
|
81
|
+
## Documentation for API Endpoints
|
82
|
+
|
83
|
+
All URIs are relative to *http://localhost/api*
|
84
|
+
|
85
|
+
Class | Method | HTTP request | Description
|
86
|
+
------------ | ------------- | ------------- | -------------
|
87
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_charts_post**](docs/ChartRepositoryApi.md#chartrepo_charts_post) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project.
|
88
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_health_get**](docs/ChartRepositoryApi.md#chartrepo_health_get) | **GET** /chartrepo/health | Check the health of chart repository service.
|
89
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_get**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_get) | **GET** /chartrepo/{repo}/charts | Get all the charts under the specified project
|
90
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_delete**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_delete) | **DELETE** /chartrepo/{repo}/charts/{name} | Delete all the versions of the specified chart
|
91
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_get**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_get) | **GET** /chartrepo/{repo}/charts/{name} | Get all the versions of the specified chart
|
92
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_version_delete**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_version_delete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version} | Delete the specified chart version
|
93
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_version_get**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_version_get) | **GET** /chartrepo/{repo}/charts/{name}/{version} | Get the specified chart version
|
94
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_version_labels_get**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_version_labels_get) | **GET** /chartrepo/{repo}/charts/{name}/{version}/labels | Return the attahced labels of chart.
|
95
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_version_labels_id_delete**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_version_labels_id_delete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version}/labels/{id} | Remove label from chart.
|
96
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_name_version_labels_post**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_name_version_labels_post) | **POST** /chartrepo/{repo}/charts/{name}/{version}/labels | Mark label to chart.
|
97
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_charts_post**](docs/ChartRepositoryApi.md#chartrepo_repo_charts_post) | **POST** /chartrepo/{repo}/charts | Upload a chart file to the specified project.
|
98
|
+
*Harbor1Client::ChartRepositoryApi* | [**chartrepo_repo_prov_post**](docs/ChartRepositoryApi.md#chartrepo_repo_prov_post) | **POST** /chartrepo/{repo}/prov | Upload a provance file to the specified project.
|
99
|
+
*Harbor1Client::LabelApi* | [**chartrepo_repo_charts_name_version_labels_get**](docs/LabelApi.md#chartrepo_repo_charts_name_version_labels_get) | **GET** /chartrepo/{repo}/charts/{name}/{version}/labels | Return the attahced labels of chart.
|
100
|
+
*Harbor1Client::LabelApi* | [**chartrepo_repo_charts_name_version_labels_id_delete**](docs/LabelApi.md#chartrepo_repo_charts_name_version_labels_id_delete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version}/labels/{id} | Remove label from chart.
|
101
|
+
*Harbor1Client::LabelApi* | [**chartrepo_repo_charts_name_version_labels_post**](docs/LabelApi.md#chartrepo_repo_charts_name_version_labels_post) | **POST** /chartrepo/{repo}/charts/{name}/{version}/labels | Mark label to chart.
|
102
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_charts_post**](docs/ProductsApi.md#chartrepo_charts_post) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project.
|
103
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_health_get**](docs/ProductsApi.md#chartrepo_health_get) | **GET** /chartrepo/health | Check the health of chart repository service.
|
104
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_get**](docs/ProductsApi.md#chartrepo_repo_charts_get) | **GET** /chartrepo/{repo}/charts | Get all the charts under the specified project
|
105
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_delete**](docs/ProductsApi.md#chartrepo_repo_charts_name_delete) | **DELETE** /chartrepo/{repo}/charts/{name} | Delete all the versions of the specified chart
|
106
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_get**](docs/ProductsApi.md#chartrepo_repo_charts_name_get) | **GET** /chartrepo/{repo}/charts/{name} | Get all the versions of the specified chart
|
107
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_version_delete**](docs/ProductsApi.md#chartrepo_repo_charts_name_version_delete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version} | Delete the specified chart version
|
108
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_version_get**](docs/ProductsApi.md#chartrepo_repo_charts_name_version_get) | **GET** /chartrepo/{repo}/charts/{name}/{version} | Get the specified chart version
|
109
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_version_labels_get**](docs/ProductsApi.md#chartrepo_repo_charts_name_version_labels_get) | **GET** /chartrepo/{repo}/charts/{name}/{version}/labels | Return the attahced labels of chart.
|
110
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_version_labels_id_delete**](docs/ProductsApi.md#chartrepo_repo_charts_name_version_labels_id_delete) | **DELETE** /chartrepo/{repo}/charts/{name}/{version}/labels/{id} | Remove label from chart.
|
111
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_name_version_labels_post**](docs/ProductsApi.md#chartrepo_repo_charts_name_version_labels_post) | **POST** /chartrepo/{repo}/charts/{name}/{version}/labels | Mark label to chart.
|
112
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_charts_post**](docs/ProductsApi.md#chartrepo_repo_charts_post) | **POST** /chartrepo/{repo}/charts | Upload a chart file to the specified project.
|
113
|
+
*Harbor1Client::ProductsApi* | [**chartrepo_repo_prov_post**](docs/ProductsApi.md#chartrepo_repo_prov_post) | **POST** /chartrepo/{repo}/prov | Upload a provance file to the specified project.
|
114
|
+
*Harbor1Client::ProductsApi* | [**configurations_get**](docs/ProductsApi.md#configurations_get) | **GET** /configurations | Get system configurations.
|
115
|
+
*Harbor1Client::ProductsApi* | [**configurations_put**](docs/ProductsApi.md#configurations_put) | **PUT** /configurations | Modify system configurations.
|
116
|
+
*Harbor1Client::ProductsApi* | [**email_ping_post**](docs/ProductsApi.md#email_ping_post) | **POST** /email/ping | Test connection and authentication with email server.
|
117
|
+
*Harbor1Client::ProductsApi* | [**health_get**](docs/ProductsApi.md#health_get) | **GET** /health | Health check API
|
118
|
+
*Harbor1Client::ProductsApi* | [**internal_switchquota_put**](docs/ProductsApi.md#internal_switchquota_put) | **PUT** /internal/switchquota | Enable or disable quota.
|
119
|
+
*Harbor1Client::ProductsApi* | [**internal_syncquota_post**](docs/ProductsApi.md#internal_syncquota_post) | **POST** /internal/syncquota | Sync quota from registry/chart to DB.
|
120
|
+
*Harbor1Client::ProductsApi* | [**internal_syncregistry_post**](docs/ProductsApi.md#internal_syncregistry_post) | **POST** /internal/syncregistry | Sync repositories from registry to DB.
|
121
|
+
*Harbor1Client::ProductsApi* | [**labels_get**](docs/ProductsApi.md#labels_get) | **GET** /labels | List labels according to the query strings.
|
122
|
+
*Harbor1Client::ProductsApi* | [**labels_id_delete**](docs/ProductsApi.md#labels_id_delete) | **DELETE** /labels/{id} | Delete the label specified by ID.
|
123
|
+
*Harbor1Client::ProductsApi* | [**labels_id_get**](docs/ProductsApi.md#labels_id_get) | **GET** /labels/{id} | Get the label specified by ID.
|
124
|
+
*Harbor1Client::ProductsApi* | [**labels_id_put**](docs/ProductsApi.md#labels_id_put) | **PUT** /labels/{id} | Update the label properties.
|
125
|
+
*Harbor1Client::ProductsApi* | [**labels_id_resources_get**](docs/ProductsApi.md#labels_id_resources_get) | **GET** /labels/{id}/resources | Get the resources that the label is referenced by.
|
126
|
+
*Harbor1Client::ProductsApi* | [**labels_post**](docs/ProductsApi.md#labels_post) | **POST** /labels | Post creates a label
|
127
|
+
*Harbor1Client::ProductsApi* | [**ldap_groups_search_get**](docs/ProductsApi.md#ldap_groups_search_get) | **GET** /ldap/groups/search | Search available ldap groups.
|
128
|
+
*Harbor1Client::ProductsApi* | [**ldap_ping_post**](docs/ProductsApi.md#ldap_ping_post) | **POST** /ldap/ping | Ping available ldap service.
|
129
|
+
*Harbor1Client::ProductsApi* | [**ldap_users_import_post**](docs/ProductsApi.md#ldap_users_import_post) | **POST** /ldap/users/import | Import selected available ldap users.
|
130
|
+
*Harbor1Client::ProductsApi* | [**ldap_users_search_get**](docs/ProductsApi.md#ldap_users_search_get) | **GET** /ldap/users/search | Search available ldap users.
|
131
|
+
*Harbor1Client::ProductsApi* | [**logs_get**](docs/ProductsApi.md#logs_get) | **GET** /logs | Get recent logs of the projects which the user is a member of
|
132
|
+
*Harbor1Client::ProductsApi* | [**projects_get**](docs/ProductsApi.md#projects_get) | **GET** /projects | List projects
|
133
|
+
*Harbor1Client::ProductsApi* | [**projects_head**](docs/ProductsApi.md#projects_head) | **HEAD** /projects | Check if the project name user provided already exists.
|
134
|
+
*Harbor1Client::ProductsApi* | [**projects_post**](docs/ProductsApi.md#projects_post) | **POST** /projects | Create a new project.
|
135
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_delete**](docs/ProductsApi.md#projects_project_id_delete) | **DELETE** /projects/{project_id} | Delete project by projectID
|
136
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_get**](docs/ProductsApi.md#projects_project_id_get) | **GET** /projects/{project_id} | Return specific project detail information
|
137
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_immutabletagrules_get**](docs/ProductsApi.md#projects_project_id_immutabletagrules_get) | **GET** /projects/{project_id}/immutabletagrules | List all immutable tag rules of current project
|
138
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_immutabletagrules_id_delete**](docs/ProductsApi.md#projects_project_id_immutabletagrules_id_delete) | **DELETE** /projects/{project_id}/immutabletagrules/{id} | Delete the immutable tag rule.
|
139
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_immutabletagrules_id_put**](docs/ProductsApi.md#projects_project_id_immutabletagrules_id_put) | **PUT** /projects/{project_id}/immutabletagrules/{id} | Update the immutable tag rule or enable or disable the rule
|
140
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_immutabletagrules_post**](docs/ProductsApi.md#projects_project_id_immutabletagrules_post) | **POST** /projects/{project_id}/immutabletagrules | Add an immutable tag rule to current project
|
141
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_logs_get**](docs/ProductsApi.md#projects_project_id_logs_get) | **GET** /projects/{project_id}/logs | Get access logs accompany with a relevant project.
|
142
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_members_get**](docs/ProductsApi.md#projects_project_id_members_get) | **GET** /projects/{project_id}/members | Get all project member information
|
143
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_members_mid_delete**](docs/ProductsApi.md#projects_project_id_members_mid_delete) | **DELETE** /projects/{project_id}/members/{mid} | Delete project member
|
144
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_members_mid_get**](docs/ProductsApi.md#projects_project_id_members_mid_get) | **GET** /projects/{project_id}/members/{mid} | Get the project member information
|
145
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_members_mid_put**](docs/ProductsApi.md#projects_project_id_members_mid_put) | **PUT** /projects/{project_id}/members/{mid} | Update project member
|
146
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_members_post**](docs/ProductsApi.md#projects_project_id_members_post) | **POST** /projects/{project_id}/members | Create project member
|
147
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_metadatas_get**](docs/ProductsApi.md#projects_project_id_metadatas_get) | **GET** /projects/{project_id}/metadatas | Get project metadata.
|
148
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_metadatas_meta_name_delete**](docs/ProductsApi.md#projects_project_id_metadatas_meta_name_delete) | **DELETE** /projects/{project_id}/metadatas/{meta_name} | Delete metadata of a project
|
149
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_metadatas_meta_name_get**](docs/ProductsApi.md#projects_project_id_metadatas_meta_name_get) | **GET** /projects/{project_id}/metadatas/{meta_name} | Get project metadata
|
150
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_metadatas_meta_name_put**](docs/ProductsApi.md#projects_project_id_metadatas_meta_name_put) | **PUT** /projects/{project_id}/metadatas/{meta_name} | Update metadata of a project.
|
151
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_metadatas_post**](docs/ProductsApi.md#projects_project_id_metadatas_post) | **POST** /projects/{project_id}/metadatas | Add metadata for the project.
|
152
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_put**](docs/ProductsApi.md#projects_project_id_put) | **PUT** /projects/{project_id} | Update properties for a selected project.
|
153
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_robots_get**](docs/ProductsApi.md#projects_project_id_robots_get) | **GET** /projects/{project_id}/robots | Get all robot accounts of specified project
|
154
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_robots_post**](docs/ProductsApi.md#projects_project_id_robots_post) | **POST** /projects/{project_id}/robots | Create a robot account for project
|
155
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_robots_robot_id_delete**](docs/ProductsApi.md#projects_project_id_robots_robot_id_delete) | **DELETE** /projects/{project_id}/robots/{robot_id} | Delete the specified robot account
|
156
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_robots_robot_id_get**](docs/ProductsApi.md#projects_project_id_robots_robot_id_get) | **GET** /projects/{project_id}/robots/{robot_id} | Return the infor of the specified robot account.
|
157
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_robots_robot_id_put**](docs/ProductsApi.md#projects_project_id_robots_robot_id_put) | **PUT** /projects/{project_id}/robots/{robot_id} | Update status of robot account.
|
158
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_scanner_candidates_get**](docs/ProductsApi.md#projects_project_id_scanner_candidates_get) | **GET** /projects/{project_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
|
159
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_scanner_get**](docs/ProductsApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
|
160
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_summary_get**](docs/ProductsApi.md#projects_project_id_summary_get) | **GET** /projects/{project_id}/summary | Get summary of the project.
|
161
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_jobs_get**](docs/ProductsApi.md#projects_project_id_webhook_jobs_get) | **GET** /projects/{project_id}/webhook/jobs | List project webhook jobs
|
162
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_lasttrigger_get**](docs/ProductsApi.md#projects_project_id_webhook_lasttrigger_get) | **GET** /projects/{project_id}/webhook/lasttrigger | Get project webhook policy last trigger info
|
163
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_get**](docs/ProductsApi.md#projects_project_id_webhook_policies_get) | **GET** /projects/{project_id}/webhook/policies | List project webhook policies.
|
164
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_policy_id_delete**](docs/ProductsApi.md#projects_project_id_webhook_policies_policy_id_delete) | **DELETE** /projects/{project_id}/webhook/policies/{policy_id} | Delete webhook policy of a project
|
165
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_policy_id_get**](docs/ProductsApi.md#projects_project_id_webhook_policies_policy_id_get) | **GET** /projects/{project_id}/webhook/policies/{policy_id} | Get project webhook policy
|
166
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_policy_id_put**](docs/ProductsApi.md#projects_project_id_webhook_policies_policy_id_put) | **PUT** /projects/{project_id}/webhook/policies/{policy_id} | Update webhook policy of a project.
|
167
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_post**](docs/ProductsApi.md#projects_project_id_webhook_policies_post) | **POST** /projects/{project_id}/webhook/policies | Create project webhook policy.
|
168
|
+
*Harbor1Client::ProductsApi* | [**projects_project_id_webhook_policies_test_post**](docs/ProductsApi.md#projects_project_id_webhook_policies_test_post) | **POST** /projects/{project_id}/webhook/policies/test | Test project webhook connection
|
169
|
+
*Harbor1Client::ProductsApi* | [**quotas_get**](docs/ProductsApi.md#quotas_get) | **GET** /quotas | List quotas
|
170
|
+
*Harbor1Client::ProductsApi* | [**quotas_id_get**](docs/ProductsApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
|
171
|
+
*Harbor1Client::ProductsApi* | [**quotas_id_put**](docs/ProductsApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
|
172
|
+
*Harbor1Client::ProductsApi* | [**registries_get**](docs/ProductsApi.md#registries_get) | **GET** /registries | List registries.
|
173
|
+
*Harbor1Client::ProductsApi* | [**registries_id_delete**](docs/ProductsApi.md#registries_id_delete) | **DELETE** /registries/{id} | Delete specific registry.
|
174
|
+
*Harbor1Client::ProductsApi* | [**registries_id_get**](docs/ProductsApi.md#registries_id_get) | **GET** /registries/{id} | Get registry.
|
175
|
+
*Harbor1Client::ProductsApi* | [**registries_id_info_get**](docs/ProductsApi.md#registries_id_info_get) | **GET** /registries/{id}/info | Get registry info.
|
176
|
+
*Harbor1Client::ProductsApi* | [**registries_id_namespace_get**](docs/ProductsApi.md#registries_id_namespace_get) | **GET** /registries/{id}/namespace | List namespaces of registry
|
177
|
+
*Harbor1Client::ProductsApi* | [**registries_id_put**](docs/ProductsApi.md#registries_id_put) | **PUT** /registries/{id} | Update a given registry.
|
178
|
+
*Harbor1Client::ProductsApi* | [**registries_ping_post**](docs/ProductsApi.md#registries_ping_post) | **POST** /registries/ping | Ping status of a registry.
|
179
|
+
*Harbor1Client::ProductsApi* | [**registries_post**](docs/ProductsApi.md#registries_post) | **POST** /registries | Create a new registry.
|
180
|
+
*Harbor1Client::ProductsApi* | [**replication_adapters_get**](docs/ProductsApi.md#replication_adapters_get) | **GET** /replication/adapters | List supported adapters.
|
181
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_get**](docs/ProductsApi.md#replication_executions_get) | **GET** /replication/executions | List replication executions.
|
182
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_id_get**](docs/ProductsApi.md#replication_executions_id_get) | **GET** /replication/executions/{id} | Get the execution of the replication.
|
183
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_id_put**](docs/ProductsApi.md#replication_executions_id_put) | **PUT** /replication/executions/{id} | Stop the execution of the replication.
|
184
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_id_tasks_get**](docs/ProductsApi.md#replication_executions_id_tasks_get) | **GET** /replication/executions/{id}/tasks | Get the task list of one execution.
|
185
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_id_tasks_task_id_log_get**](docs/ProductsApi.md#replication_executions_id_tasks_task_id_log_get) | **GET** /replication/executions/{id}/tasks/{task_id}/log | Get the log of one task.
|
186
|
+
*Harbor1Client::ProductsApi* | [**replication_executions_post**](docs/ProductsApi.md#replication_executions_post) | **POST** /replication/executions | Start one execution of the replication.
|
187
|
+
*Harbor1Client::ProductsApi* | [**replication_policies_get**](docs/ProductsApi.md#replication_policies_get) | **GET** /replication/policies | List replication policies
|
188
|
+
*Harbor1Client::ProductsApi* | [**replication_policies_id_delete**](docs/ProductsApi.md#replication_policies_id_delete) | **DELETE** /replication/policies/{id} | Delete the replication policy specified by ID.
|
189
|
+
*Harbor1Client::ProductsApi* | [**replication_policies_id_get**](docs/ProductsApi.md#replication_policies_id_get) | **GET** /replication/policies/{id} | Get replication policy.
|
190
|
+
*Harbor1Client::ProductsApi* | [**replication_policies_id_put**](docs/ProductsApi.md#replication_policies_id_put) | **PUT** /replication/policies/{id} | Update the replication policy
|
191
|
+
*Harbor1Client::ProductsApi* | [**replication_policies_post**](docs/ProductsApi.md#replication_policies_post) | **POST** /replication/policies | Create a replication policy
|
192
|
+
*Harbor1Client::ProductsApi* | [**repositories_get**](docs/ProductsApi.md#repositories_get) | **GET** /repositories | Get repositories accompany with relevant project and repo name.
|
193
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_delete**](docs/ProductsApi.md#repositories_repo_name_delete) | **DELETE** /repositories/{repo_name} | Delete a repository.
|
194
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_labels_get**](docs/ProductsApi.md#repositories_repo_name_labels_get) | **GET** /repositories/{repo_name}/labels | Get labels of a repository.
|
195
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_labels_label_id_delete**](docs/ProductsApi.md#repositories_repo_name_labels_label_id_delete) | **DELETE** /repositories/{repo_name}/labels/{label_id} | Delete label from the repository.
|
196
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_labels_post**](docs/ProductsApi.md#repositories_repo_name_labels_post) | **POST** /repositories/{repo_name}/labels | Add a label to the repository.
|
197
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_put**](docs/ProductsApi.md#repositories_repo_name_put) | **PUT** /repositories/{repo_name} | Update description of the repository.
|
198
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_signatures_get**](docs/ProductsApi.md#repositories_repo_name_signatures_get) | **GET** /repositories/{repo_name}/signatures | Get signature information of a repository
|
199
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_get**](docs/ProductsApi.md#repositories_repo_name_tags_get) | **GET** /repositories/{repo_name}/tags | Get tags of a relevant repository.
|
200
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_post**](docs/ProductsApi.md#repositories_repo_name_tags_post) | **POST** /repositories/{repo_name}/tags | Retag an image
|
201
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_delete**](docs/ProductsApi.md#repositories_repo_name_tags_tag_delete) | **DELETE** /repositories/{repo_name}/tags/{tag} | Delete a tag in a repository.
|
202
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_get) | **GET** /repositories/{repo_name}/tags/{tag} | Get the tag of the repository.
|
203
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_labels_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_labels_get) | **GET** /repositories/{repo_name}/tags/{tag}/labels | Get labels of an image.
|
204
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_labels_label_id_delete**](docs/ProductsApi.md#repositories_repo_name_tags_tag_labels_label_id_delete) | **DELETE** /repositories/{repo_name}/tags/{tag}/labels/{label_id} | Delete label from the image.
|
205
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_labels_post**](docs/ProductsApi.md#repositories_repo_name_tags_tag_labels_post) | **POST** /repositories/{repo_name}/tags/{tag}/labels | Add a label to image.
|
206
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_manifest_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_manifest_get) | **GET** /repositories/{repo_name}/tags/{tag}/manifest | Get manifests of a relevant repository.
|
207
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_scan_post**](docs/ProductsApi.md#repositories_repo_name_tags_tag_scan_post) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image.
|
208
|
+
*Harbor1Client::ProductsApi* | [**repositories_repo_name_tags_tag_scan_uuid_log_get**](docs/ProductsApi.md#repositories_repo_name_tags_tag_scan_uuid_log_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan/{uuid}/log | Get scan log
|
209
|
+
*Harbor1Client::ProductsApi* | [**repositories_top_get**](docs/ProductsApi.md#repositories_top_get) | **GET** /repositories/top | Get public repositories which are accessed most.
|
210
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_executions_eid_patch**](docs/ProductsApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
|
211
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_executions_eid_tasks_get**](docs/ProductsApi.md#retentions_id_executions_eid_tasks_get) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention job tasks
|
212
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_executions_eid_tasks_tid_get**](docs/ProductsApi.md#retentions_id_executions_eid_tasks_tid_get) | **GET** /retentions/{id}/executions/{eid}/tasks/{tid} | Get Retention job task log
|
213
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_executions_get**](docs/ProductsApi.md#retentions_id_executions_get) | **GET** /retentions/{id}/executions | Get a Retention job
|
214
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_executions_post**](docs/ProductsApi.md#retentions_id_executions_post) | **POST** /retentions/{id}/executions | Trigger a Retention job
|
215
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_get**](docs/ProductsApi.md#retentions_id_get) | **GET** /retentions/{id} | Get Retention Policy
|
216
|
+
*Harbor1Client::ProductsApi* | [**retentions_id_put**](docs/ProductsApi.md#retentions_id_put) | **PUT** /retentions/{id} | Update Retention Policy
|
217
|
+
*Harbor1Client::ProductsApi* | [**retentions_metadatas_get**](docs/ProductsApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
|
218
|
+
*Harbor1Client::ProductsApi* | [**retentions_post**](docs/ProductsApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
|
219
|
+
*Harbor1Client::ProductsApi* | [**scanners_get**](docs/ProductsApi.md#scanners_get) | **GET** /scanners | List scanner registrations
|
220
|
+
*Harbor1Client::ProductsApi* | [**scanners_ping_post**](docs/ProductsApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
|
221
|
+
*Harbor1Client::ProductsApi* | [**scanners_registration_id_get**](docs/ProductsApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
|
222
|
+
*Harbor1Client::ProductsApi* | [**scanners_registration_id_metadata_get**](docs/ProductsApi.md#scanners_registration_id_metadata_get) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
|
223
|
+
*Harbor1Client::ProductsApi* | [**scans_all_metrics_get**](docs/ProductsApi.md#scans_all_metrics_get) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
|
224
|
+
*Harbor1Client::ProductsApi* | [**scans_schedule_metrics_get**](docs/ProductsApi.md#scans_schedule_metrics_get) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
|
225
|
+
*Harbor1Client::ProductsApi* | [**search_get**](docs/ProductsApi.md#search_get) | **GET** /search | Search for projects, repositories and helm charts
|
226
|
+
*Harbor1Client::ProductsApi* | [**statistics_get**](docs/ProductsApi.md#statistics_get) | **GET** /statistics | Get projects number and repositories number relevant to the user
|
227
|
+
*Harbor1Client::ProductsApi* | [**system_cve_whitelist_get**](docs/ProductsApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
|
228
|
+
*Harbor1Client::ProductsApi* | [**system_cve_whitelist_put**](docs/ProductsApi.md#system_cve_whitelist_put) | **PUT** /system/CVEWhitelist | Update the system level whitelist of CVE.
|
229
|
+
*Harbor1Client::ProductsApi* | [**system_gc_get**](docs/ProductsApi.md#system_gc_get) | **GET** /system/gc | Get gc results.
|
230
|
+
*Harbor1Client::ProductsApi* | [**system_gc_id_get**](docs/ProductsApi.md#system_gc_id_get) | **GET** /system/gc/{id} | Get gc status.
|
231
|
+
*Harbor1Client::ProductsApi* | [**system_gc_id_log_get**](docs/ProductsApi.md#system_gc_id_log_get) | **GET** /system/gc/{id}/log | Get gc job log.
|
232
|
+
*Harbor1Client::ProductsApi* | [**system_gc_schedule_get**](docs/ProductsApi.md#system_gc_schedule_get) | **GET** /system/gc/schedule | Get gc's schedule.
|
233
|
+
*Harbor1Client::ProductsApi* | [**system_gc_schedule_post**](docs/ProductsApi.md#system_gc_schedule_post) | **POST** /system/gc/schedule | Create a gc schedule.
|
234
|
+
*Harbor1Client::ProductsApi* | [**system_gc_schedule_put**](docs/ProductsApi.md#system_gc_schedule_put) | **PUT** /system/gc/schedule | Update gc's schedule.
|
235
|
+
*Harbor1Client::ProductsApi* | [**system_oidc_ping_post**](docs/ProductsApi.md#system_oidc_ping_post) | **POST** /system/oidc/ping | Test the OIDC endpoint.
|
236
|
+
*Harbor1Client::ProductsApi* | [**system_scan_all_schedule_get**](docs/ProductsApi.md#system_scan_all_schedule_get) | **GET** /system/scanAll/schedule | Get scan_all's schedule.
|
237
|
+
*Harbor1Client::ProductsApi* | [**system_scan_all_schedule_post**](docs/ProductsApi.md#system_scan_all_schedule_post) | **POST** /system/scanAll/schedule | Create a schedule or a manual trigger for the scan all job.
|
238
|
+
*Harbor1Client::ProductsApi* | [**system_scan_all_schedule_put**](docs/ProductsApi.md#system_scan_all_schedule_put) | **PUT** /system/scanAll/schedule | Update scan all's schedule.
|
239
|
+
*Harbor1Client::ProductsApi* | [**systeminfo_get**](docs/ProductsApi.md#systeminfo_get) | **GET** /systeminfo | Get general system info
|
240
|
+
*Harbor1Client::ProductsApi* | [**systeminfo_getcert_get**](docs/ProductsApi.md#systeminfo_getcert_get) | **GET** /systeminfo/getcert | Get default root certificate.
|
241
|
+
*Harbor1Client::ProductsApi* | [**systeminfo_volumes_get**](docs/ProductsApi.md#systeminfo_volumes_get) | **GET** /systeminfo/volumes | Get system volume info (total/free size).
|
242
|
+
*Harbor1Client::ProductsApi* | [**usergroups_get**](docs/ProductsApi.md#usergroups_get) | **GET** /usergroups | Get all user groups information
|
243
|
+
*Harbor1Client::ProductsApi* | [**usergroups_group_id_delete**](docs/ProductsApi.md#usergroups_group_id_delete) | **DELETE** /usergroups/{group_id} | Delete user group
|
244
|
+
*Harbor1Client::ProductsApi* | [**usergroups_group_id_get**](docs/ProductsApi.md#usergroups_group_id_get) | **GET** /usergroups/{group_id} | Get user group information
|
245
|
+
*Harbor1Client::ProductsApi* | [**usergroups_group_id_put**](docs/ProductsApi.md#usergroups_group_id_put) | **PUT** /usergroups/{group_id} | Update group information
|
246
|
+
*Harbor1Client::ProductsApi* | [**usergroups_post**](docs/ProductsApi.md#usergroups_post) | **POST** /usergroups | Create user group
|
247
|
+
*Harbor1Client::ProductsApi* | [**users_current_get**](docs/ProductsApi.md#users_current_get) | **GET** /users/current | Get current user info.
|
248
|
+
*Harbor1Client::ProductsApi* | [**users_current_permissions_get**](docs/ProductsApi.md#users_current_permissions_get) | **GET** /users/current/permissions | Get current user permissions.
|
249
|
+
*Harbor1Client::ProductsApi* | [**users_get**](docs/ProductsApi.md#users_get) | **GET** /users | Get registered users of Harbor.
|
250
|
+
*Harbor1Client::ProductsApi* | [**users_post**](docs/ProductsApi.md#users_post) | **POST** /users | Creates a new user account.
|
251
|
+
*Harbor1Client::ProductsApi* | [**users_search_get**](docs/ProductsApi.md#users_search_get) | **GET** /users/search | Search users by username
|
252
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_cli_secret_put**](docs/ProductsApi.md#users_user_id_cli_secret_put) | **PUT** /users/{user_id}/cli_secret | Set CLI secret for a user.
|
253
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_delete**](docs/ProductsApi.md#users_user_id_delete) | **DELETE** /users/{user_id} | Mark a registered user as be removed.
|
254
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_get**](docs/ProductsApi.md#users_user_id_get) | **GET** /users/{user_id} | Get a user's profile.
|
255
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_password_put**](docs/ProductsApi.md#users_user_id_password_put) | **PUT** /users/{user_id}/password | Change the password on a user that already exists.
|
256
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_put**](docs/ProductsApi.md#users_user_id_put) | **PUT** /users/{user_id} | Update a registered user to change his profile.
|
257
|
+
*Harbor1Client::ProductsApi* | [**users_user_id_sysadmin_put**](docs/ProductsApi.md#users_user_id_sysadmin_put) | **PUT** /users/{user_id}/sysadmin | Update a registered user to change to be an administrator of Harbor.
|
258
|
+
*Harbor1Client::QuotaApi* | [**quotas_id_get**](docs/QuotaApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
|
259
|
+
*Harbor1Client::QuotaApi* | [**quotas_id_put**](docs/QuotaApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
|
260
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_executions_eid_patch**](docs/RetentionApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
|
261
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_executions_eid_tasks_get**](docs/RetentionApi.md#retentions_id_executions_eid_tasks_get) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention job tasks
|
262
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_executions_eid_tasks_tid_get**](docs/RetentionApi.md#retentions_id_executions_eid_tasks_tid_get) | **GET** /retentions/{id}/executions/{eid}/tasks/{tid} | Get Retention job task log
|
263
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_executions_get**](docs/RetentionApi.md#retentions_id_executions_get) | **GET** /retentions/{id}/executions | Get a Retention job
|
264
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_executions_post**](docs/RetentionApi.md#retentions_id_executions_post) | **POST** /retentions/{id}/executions | Trigger a Retention job
|
265
|
+
*Harbor1Client::RetentionApi* | [**retentions_id_get**](docs/RetentionApi.md#retentions_id_get) | **GET** /retentions/{id} | Get Retention Policy
|
266
|
+
*Harbor1Client::RetentionApi* | [**retentions_metadatas_get**](docs/RetentionApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
|
267
|
+
*Harbor1Client::RetentionApi* | [**retentions_post**](docs/RetentionApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
|
268
|
+
*Harbor1Client::RobotAccountApi* | [**projects_project_id_robots_get**](docs/RobotAccountApi.md#projects_project_id_robots_get) | **GET** /projects/{project_id}/robots | Get all robot accounts of specified project
|
269
|
+
*Harbor1Client::RobotAccountApi* | [**projects_project_id_robots_post**](docs/RobotAccountApi.md#projects_project_id_robots_post) | **POST** /projects/{project_id}/robots | Create a robot account for project
|
270
|
+
*Harbor1Client::RobotAccountApi* | [**projects_project_id_robots_robot_id_delete**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_delete) | **DELETE** /projects/{project_id}/robots/{robot_id} | Delete the specified robot account
|
271
|
+
*Harbor1Client::RobotAccountApi* | [**projects_project_id_robots_robot_id_get**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_get) | **GET** /projects/{project_id}/robots/{robot_id} | Return the infor of the specified robot account.
|
272
|
+
*Harbor1Client::RobotAccountApi* | [**projects_project_id_robots_robot_id_put**](docs/RobotAccountApi.md#projects_project_id_robots_robot_id_put) | **PUT** /projects/{project_id}/robots/{robot_id} | Update status of robot account.
|
273
|
+
*Harbor1Client::ScanApi* | [**repositories_repo_name_tags_tag_scan_get**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan | Get the scan report
|
274
|
+
*Harbor1Client::ScanApi* | [**repositories_repo_name_tags_tag_scan_post**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_post) | **POST** /repositories/{repo_name}/tags/{tag}/scan | Scan the image.
|
275
|
+
*Harbor1Client::ScanApi* | [**repositories_repo_name_tags_tag_scan_uuid_log_get**](docs/ScanApi.md#repositories_repo_name_tags_tag_scan_uuid_log_get) | **GET** /repositories/{repo_name}/tags/{tag}/scan/{uuid}/log | Get scan log
|
276
|
+
*Harbor1Client::ScanApi* | [**scans_all_metrics_get**](docs/ScanApi.md#scans_all_metrics_get) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
|
277
|
+
*Harbor1Client::ScanApi* | [**scans_schedule_metrics_get**](docs/ScanApi.md#scans_schedule_metrics_get) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
|
278
|
+
*Harbor1Client::ScannersApi* | [**projects_project_id_scanner_candidates_get**](docs/ScannersApi.md#projects_project_id_scanner_candidates_get) | **GET** /projects/{project_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
|
279
|
+
*Harbor1Client::ScannersApi* | [**projects_project_id_scanner_get**](docs/ScannersApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
|
280
|
+
*Harbor1Client::ScannersApi* | [**projects_project_id_scanner_put**](docs/ScannersApi.md#projects_project_id_scanner_put) | **PUT** /projects/{project_id}/scanner | Configure scanner for the specified project
|
281
|
+
*Harbor1Client::ScannersApi* | [**scanners_get**](docs/ScannersApi.md#scanners_get) | **GET** /scanners | List scanner registrations
|
282
|
+
*Harbor1Client::ScannersApi* | [**scanners_ping_post**](docs/ScannersApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
|
283
|
+
*Harbor1Client::ScannersApi* | [**scanners_post**](docs/ScannersApi.md#scanners_post) | **POST** /scanners | Create a scanner registration
|
284
|
+
*Harbor1Client::ScannersApi* | [**scanners_registration_id_delete**](docs/ScannersApi.md#scanners_registration_id_delete) | **DELETE** /scanners/{registration_id} | Delete a scanner registration
|
285
|
+
*Harbor1Client::ScannersApi* | [**scanners_registration_id_get**](docs/ScannersApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
|
286
|
+
*Harbor1Client::ScannersApi* | [**scanners_registration_id_metadata_get**](docs/ScannersApi.md#scanners_registration_id_metadata_get) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
|
287
|
+
*Harbor1Client::ScannersApi* | [**scanners_registration_id_patch**](docs/ScannersApi.md#scanners_registration_id_patch) | **PATCH** /scanners/{registration_id} | Set system default scanner registration
|
288
|
+
*Harbor1Client::ScannersApi* | [**scanners_registration_id_put**](docs/ScannersApi.md#scanners_registration_id_put) | **PUT** /scanners/{registration_id} | Update a scanner registration
|
289
|
+
*Harbor1Client::SystemApi* | [**system_cve_whitelist_get**](docs/SystemApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
|
290
|
+
*Harbor1Client::SystemApi* | [**system_cve_whitelist_put**](docs/SystemApi.md#system_cve_whitelist_put) | **PUT** /system/CVEWhitelist | Update the system level whitelist of CVE.
|
291
|
+
*Harbor1Client::SystemApi* | [**system_oidc_ping_post**](docs/SystemApi.md#system_oidc_ping_post) | **POST** /system/oidc/ping | Test the OIDC endpoint.
|
292
|
+
|
293
|
+
|
294
|
+
## Documentation for Models
|
295
|
+
|
296
|
+
- [Harbor1Client::AccessLog](docs/AccessLog.md)
|
297
|
+
- [Harbor1Client::Action](docs/Action.md)
|
298
|
+
- [Harbor1Client::Action1](docs/Action1.md)
|
299
|
+
- [Harbor1Client::AdminJobSchedule](docs/AdminJobSchedule.md)
|
300
|
+
- [Harbor1Client::AdminJobScheduleObj](docs/AdminJobScheduleObj.md)
|
301
|
+
- [Harbor1Client::BadRequestFormatedError](docs/BadRequestFormatedError.md)
|
302
|
+
- [Harbor1Client::BoolConfigItem](docs/BoolConfigItem.md)
|
303
|
+
- [Harbor1Client::CVEWhitelist](docs/CVEWhitelist.md)
|
304
|
+
- [Harbor1Client::CVEWhitelistItem](docs/CVEWhitelistItem.md)
|
305
|
+
- [Harbor1Client::ChartAPIError](docs/ChartAPIError.md)
|
306
|
+
- [Harbor1Client::ChartInfoEntry](docs/ChartInfoEntry.md)
|
307
|
+
- [Harbor1Client::ChartInfoList](docs/ChartInfoList.md)
|
308
|
+
- [Harbor1Client::ChartMetadata](docs/ChartMetadata.md)
|
309
|
+
- [Harbor1Client::ChartVersion](docs/ChartVersion.md)
|
310
|
+
- [Harbor1Client::ChartVersionDetails](docs/ChartVersionDetails.md)
|
311
|
+
- [Harbor1Client::ChartVersions](docs/ChartVersions.md)
|
312
|
+
- [Harbor1Client::ComponentHealthStatus](docs/ComponentHealthStatus.md)
|
313
|
+
- [Harbor1Client::ComponentOverviewEntry](docs/ComponentOverviewEntry.md)
|
314
|
+
- [Harbor1Client::Configurations](docs/Configurations.md)
|
315
|
+
- [Harbor1Client::ConfigurationsResponse](docs/ConfigurationsResponse.md)
|
316
|
+
- [Harbor1Client::ConfigurationsScanAllPolicy](docs/ConfigurationsScanAllPolicy.md)
|
317
|
+
- [Harbor1Client::ConfigurationsScanAllPolicyParameter](docs/ConfigurationsScanAllPolicyParameter.md)
|
318
|
+
- [Harbor1Client::ConflictFormatedError](docs/ConflictFormatedError.md)
|
319
|
+
- [Harbor1Client::Dependency](docs/Dependency.md)
|
320
|
+
- [Harbor1Client::DetailedTag](docs/DetailedTag.md)
|
321
|
+
- [Harbor1Client::DigitalSignature](docs/DigitalSignature.md)
|
322
|
+
- [Harbor1Client::EmailServerSetting](docs/EmailServerSetting.md)
|
323
|
+
- [Harbor1Client::Endpoint](docs/Endpoint.md)
|
324
|
+
- [Harbor1Client::FilterStyle](docs/FilterStyle.md)
|
325
|
+
- [Harbor1Client::ForbiddenChartAPIError](docs/ForbiddenChartAPIError.md)
|
326
|
+
- [Harbor1Client::GCResult](docs/GCResult.md)
|
327
|
+
- [Harbor1Client::GeneralInfo](docs/GeneralInfo.md)
|
328
|
+
- [Harbor1Client::GeneralInfoClairVulnerabilityStatus](docs/GeneralInfoClairVulnerabilityStatus.md)
|
329
|
+
- [Harbor1Client::HasAdminRole](docs/HasAdminRole.md)
|
330
|
+
- [Harbor1Client::ImmutableTagRule](docs/ImmutableTagRule.md)
|
331
|
+
- [Harbor1Client::InlineResponse200](docs/InlineResponse200.md)
|
332
|
+
- [Harbor1Client::InputSecret](docs/InputSecret.md)
|
333
|
+
- [Harbor1Client::InsufficientStorageChartAPIError](docs/InsufficientStorageChartAPIError.md)
|
334
|
+
- [Harbor1Client::IntegerConfigItem](docs/IntegerConfigItem.md)
|
335
|
+
- [Harbor1Client::InternalChartAPIError](docs/InternalChartAPIError.md)
|
336
|
+
- [Harbor1Client::IsDefault](docs/IsDefault.md)
|
337
|
+
- [Harbor1Client::JobStatus](docs/JobStatus.md)
|
338
|
+
- [Harbor1Client::Label](docs/Label.md)
|
339
|
+
- [Harbor1Client::Labels](docs/Labels.md)
|
340
|
+
- [Harbor1Client::LdapConf](docs/LdapConf.md)
|
341
|
+
- [Harbor1Client::LdapFailedImportUsers](docs/LdapFailedImportUsers.md)
|
342
|
+
- [Harbor1Client::LdapImportUsers](docs/LdapImportUsers.md)
|
343
|
+
- [Harbor1Client::LdapUsers](docs/LdapUsers.md)
|
344
|
+
- [Harbor1Client::Manifest](docs/Manifest.md)
|
345
|
+
- [Harbor1Client::Namespace](docs/Namespace.md)
|
346
|
+
- [Harbor1Client::NativeReportSummary](docs/NativeReportSummary.md)
|
347
|
+
- [Harbor1Client::NotFoundChartAPIError](docs/NotFoundChartAPIError.md)
|
348
|
+
- [Harbor1Client::OverallHealthStatus](docs/OverallHealthStatus.md)
|
349
|
+
- [Harbor1Client::Password](docs/Password.md)
|
350
|
+
- [Harbor1Client::Permission](docs/Permission.md)
|
351
|
+
- [Harbor1Client::PingRegistry](docs/PingRegistry.md)
|
352
|
+
- [Harbor1Client::Project](docs/Project.md)
|
353
|
+
- [Harbor1Client::ProjectMember](docs/ProjectMember.md)
|
354
|
+
- [Harbor1Client::ProjectMemberEntity](docs/ProjectMemberEntity.md)
|
355
|
+
- [Harbor1Client::ProjectMetadata](docs/ProjectMetadata.md)
|
356
|
+
- [Harbor1Client::ProjectReq](docs/ProjectReq.md)
|
357
|
+
- [Harbor1Client::ProjectScanner](docs/ProjectScanner.md)
|
358
|
+
- [Harbor1Client::ProjectSummary](docs/ProjectSummary.md)
|
359
|
+
- [Harbor1Client::ProjectSummaryQuota](docs/ProjectSummaryQuota.md)
|
360
|
+
- [Harbor1Client::PutRegistry](docs/PutRegistry.md)
|
361
|
+
- [Harbor1Client::Quota](docs/Quota.md)
|
362
|
+
- [Harbor1Client::QuotaRefObject](docs/QuotaRefObject.md)
|
363
|
+
- [Harbor1Client::QuotaSwitcher](docs/QuotaSwitcher.md)
|
364
|
+
- [Harbor1Client::QuotaUpdateReq](docs/QuotaUpdateReq.md)
|
365
|
+
- [Harbor1Client::Registry](docs/Registry.md)
|
366
|
+
- [Harbor1Client::RegistryCredential](docs/RegistryCredential.md)
|
367
|
+
- [Harbor1Client::RegistryInfo](docs/RegistryInfo.md)
|
368
|
+
- [Harbor1Client::ReplicationExecution](docs/ReplicationExecution.md)
|
369
|
+
- [Harbor1Client::ReplicationFilter](docs/ReplicationFilter.md)
|
370
|
+
- [Harbor1Client::ReplicationPolicy](docs/ReplicationPolicy.md)
|
371
|
+
- [Harbor1Client::ReplicationTask](docs/ReplicationTask.md)
|
372
|
+
- [Harbor1Client::ReplicationTrigger](docs/ReplicationTrigger.md)
|
373
|
+
- [Harbor1Client::RepoSignature](docs/RepoSignature.md)
|
374
|
+
- [Harbor1Client::Report](docs/Report.md)
|
375
|
+
- [Harbor1Client::Repository](docs/Repository.md)
|
376
|
+
- [Harbor1Client::RepositoryDescription](docs/RepositoryDescription.md)
|
377
|
+
- [Harbor1Client::Resource](docs/Resource.md)
|
378
|
+
- [Harbor1Client::ResourceList](docs/ResourceList.md)
|
379
|
+
- [Harbor1Client::RetagReq](docs/RetagReq.md)
|
380
|
+
- [Harbor1Client::RetentionExecution](docs/RetentionExecution.md)
|
381
|
+
- [Harbor1Client::RetentionExecutionTask](docs/RetentionExecutionTask.md)
|
382
|
+
- [Harbor1Client::RetentionMetadata](docs/RetentionMetadata.md)
|
383
|
+
- [Harbor1Client::RetentionPolicy](docs/RetentionPolicy.md)
|
384
|
+
- [Harbor1Client::RetentionPolicyScope](docs/RetentionPolicyScope.md)
|
385
|
+
- [Harbor1Client::RetentionRule](docs/RetentionRule.md)
|
386
|
+
- [Harbor1Client::RetentionRuleMetadata](docs/RetentionRuleMetadata.md)
|
387
|
+
- [Harbor1Client::RetentionRuleParamMetadata](docs/RetentionRuleParamMetadata.md)
|
388
|
+
- [Harbor1Client::RetentionRuleTrigger](docs/RetentionRuleTrigger.md)
|
389
|
+
- [Harbor1Client::RetentionSelector](docs/RetentionSelector.md)
|
390
|
+
- [Harbor1Client::RetentionSelectorMetadata](docs/RetentionSelectorMetadata.md)
|
391
|
+
- [Harbor1Client::RobotAccount](docs/RobotAccount.md)
|
392
|
+
- [Harbor1Client::RobotAccountAccess](docs/RobotAccountAccess.md)
|
393
|
+
- [Harbor1Client::RobotAccountCreate](docs/RobotAccountCreate.md)
|
394
|
+
- [Harbor1Client::RobotAccountPostRep](docs/RobotAccountPostRep.md)
|
395
|
+
- [Harbor1Client::RobotAccountUpdate](docs/RobotAccountUpdate.md)
|
396
|
+
- [Harbor1Client::Role](docs/Role.md)
|
397
|
+
- [Harbor1Client::RoleParam](docs/RoleParam.md)
|
398
|
+
- [Harbor1Client::RoleRequest](docs/RoleRequest.md)
|
399
|
+
- [Harbor1Client::ScanOverview](docs/ScanOverview.md)
|
400
|
+
- [Harbor1Client::Scanner](docs/Scanner.md)
|
401
|
+
- [Harbor1Client::ScannerAdapterMetadata](docs/ScannerAdapterMetadata.md)
|
402
|
+
- [Harbor1Client::ScannerCapability](docs/ScannerCapability.md)
|
403
|
+
- [Harbor1Client::ScannerRegistration](docs/ScannerRegistration.md)
|
404
|
+
- [Harbor1Client::ScannerRegistrationReq](docs/ScannerRegistrationReq.md)
|
405
|
+
- [Harbor1Client::ScannerRegistrationSettings](docs/ScannerRegistrationSettings.md)
|
406
|
+
- [Harbor1Client::Search](docs/Search.md)
|
407
|
+
- [Harbor1Client::SearchRepository](docs/SearchRepository.md)
|
408
|
+
- [Harbor1Client::SearchResult](docs/SearchResult.md)
|
409
|
+
- [Harbor1Client::SecurityReport](docs/SecurityReport.md)
|
410
|
+
- [Harbor1Client::StatisticMap](docs/StatisticMap.md)
|
411
|
+
- [Harbor1Client::Stats](docs/Stats.md)
|
412
|
+
- [Harbor1Client::Storage](docs/Storage.md)
|
413
|
+
- [Harbor1Client::StringConfigItem](docs/StringConfigItem.md)
|
414
|
+
- [Harbor1Client::SystemInfo](docs/SystemInfo.md)
|
415
|
+
- [Harbor1Client::Tags](docs/Tags.md)
|
416
|
+
- [Harbor1Client::TriggerSettings](docs/TriggerSettings.md)
|
417
|
+
- [Harbor1Client::UnauthorizedChartAPIError](docs/UnauthorizedChartAPIError.md)
|
418
|
+
- [Harbor1Client::User](docs/User.md)
|
419
|
+
- [Harbor1Client::UserEntity](docs/UserEntity.md)
|
420
|
+
- [Harbor1Client::UserGroup](docs/UserGroup.md)
|
421
|
+
- [Harbor1Client::UserProfile](docs/UserProfile.md)
|
422
|
+
- [Harbor1Client::UserSearch](docs/UserSearch.md)
|
423
|
+
- [Harbor1Client::VulnNamespaceTimestamp](docs/VulnNamespaceTimestamp.md)
|
424
|
+
- [Harbor1Client::VulnerabilityItem](docs/VulnerabilityItem.md)
|
425
|
+
- [Harbor1Client::VulnerabilitySummary](docs/VulnerabilitySummary.md)
|
426
|
+
- [Harbor1Client::WebhookJob](docs/WebhookJob.md)
|
427
|
+
- [Harbor1Client::WebhookLastTrigger](docs/WebhookLastTrigger.md)
|
428
|
+
- [Harbor1Client::WebhookPolicy](docs/WebhookPolicy.md)
|
429
|
+
- [Harbor1Client::WebhookTargetObject](docs/WebhookTargetObject.md)
|
430
|
+
|
431
|
+
|
432
|
+
## Documentation for Authorization
|
433
|
+
|
434
|
+
|
435
|
+
### basicAuth
|
436
|
+
|
437
|
+
- **Type**: HTTP basic authentication
|
438
|
+
|