harbor_swagger_client 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -7
- data/docs/ChartRepositoryApi.md +2 -2
- data/docs/Configurations.md +6 -0
- data/docs/ConfigurationsResponse.md +5 -0
- data/docs/DetailedTag.md +1 -1
- data/docs/ImmutableTagRule.md +11 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/InputSecret.md +8 -0
- data/docs/IsDefault.md +8 -0
- data/docs/NativeReportSummary.md +14 -0
- data/docs/ProductsApi.md +904 -90
- data/docs/Project.md +2 -1
- data/docs/ProjectMetadata.md +1 -1
- data/docs/ProjectScanner.md +8 -0
- data/docs/QuotaApi.md +0 -61
- data/docs/Report.md +11 -0
- data/docs/RetentionPolicy.md +2 -2
- 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/Stats.md +11 -0
- data/docs/VulnerabilityItem.md +7 -6
- data/docs/VulnerabilitySummary.md +10 -0
- data/harbor_swagger_client.gemspec +1 -1
- data/lib/harbor_swagger_client.rb +18 -4
- data/lib/harbor_swagger_client/api/chart_repository_api.rb +4 -4
- data/lib/harbor_swagger_client/api/label_api.rb +1 -1
- data/lib/harbor_swagger_client/api/products_api.rb +888 -63
- data/lib/harbor_swagger_client/api/quota_api.rb +1 -61
- data/lib/harbor_swagger_client/api/retention_api.rb +1 -1
- data/lib/harbor_swagger_client/api/robot_account_api.rb +1 -1
- data/lib/harbor_swagger_client/api/scan_api.rb +307 -0
- data/lib/harbor_swagger_client/api/scanners_api.rb +624 -0
- data/lib/harbor_swagger_client/api/system_api.rb +1 -1
- data/lib/harbor_swagger_client/api_client.rb +1 -1
- data/lib/harbor_swagger_client/api_error.rb +1 -1
- data/lib/harbor_swagger_client/configuration.rb +1 -1
- data/lib/harbor_swagger_client/models/access_log.rb +1 -1
- data/lib/harbor_swagger_client/models/action.rb +1 -1
- data/lib/harbor_swagger_client/models/action_1.rb +1 -1
- data/lib/harbor_swagger_client/models/admin_job_schedule.rb +1 -1
- data/lib/harbor_swagger_client/models/admin_job_schedule_obj.rb +1 -1
- data/lib/harbor_swagger_client/models/bad_request_formated_error.rb +1 -1
- data/lib/harbor_swagger_client/models/bool_config_item.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_info_entry.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_info_list.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_metadata.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_version.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_version_details.rb +1 -1
- data/lib/harbor_swagger_client/models/chart_versions.rb +1 -1
- data/lib/harbor_swagger_client/models/component_health_status.rb +1 -1
- data/lib/harbor_swagger_client/models/component_overview_entry.rb +1 -1
- data/lib/harbor_swagger_client/models/configurations.rb +62 -2
- data/lib/harbor_swagger_client/models/configurations_response.rb +52 -2
- data/lib/harbor_swagger_client/models/configurations_scan_all_policy.rb +1 -1
- data/lib/harbor_swagger_client/models/configurations_scan_all_policy_parameter.rb +1 -1
- data/lib/harbor_swagger_client/models/conflict_formated_error.rb +1 -1
- data/lib/harbor_swagger_client/models/cve_whitelist.rb +1 -1
- data/lib/harbor_swagger_client/models/cve_whitelist_item.rb +1 -1
- data/lib/harbor_swagger_client/models/dependency.rb +1 -1
- data/lib/harbor_swagger_client/models/detailed_tag.rb +3 -2
- data/lib/harbor_swagger_client/models/digital_signature.rb +1 -1
- data/lib/harbor_swagger_client/models/email_server_setting.rb +1 -1
- data/lib/harbor_swagger_client/models/endpoint.rb +1 -1
- data/lib/harbor_swagger_client/models/filter_style.rb +1 -1
- data/lib/harbor_swagger_client/models/forbidden_chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/gc_result.rb +1 -1
- data/lib/harbor_swagger_client/models/general_info.rb +1 -1
- data/lib/harbor_swagger_client/models/general_info_clair_vulnerability_status.rb +1 -1
- data/lib/harbor_swagger_client/models/has_admin_role.rb +1 -1
- data/lib/harbor_swagger_client/models/immutable_tag_rule.rb +210 -0
- data/lib/harbor_swagger_client/models/inline_response_200.rb +8 -9
- data/lib/harbor_swagger_client/models/input_secret.rb +184 -0
- data/lib/harbor_swagger_client/models/insufficient_storage_chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/integer_config_item.rb +1 -1
- data/lib/harbor_swagger_client/models/internal_chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/is_default.rb +184 -0
- data/lib/harbor_swagger_client/models/job_status.rb +1 -1
- data/lib/harbor_swagger_client/models/label.rb +1 -1
- data/lib/harbor_swagger_client/models/labels.rb +1 -1
- data/lib/harbor_swagger_client/models/ldap_conf.rb +1 -1
- data/lib/harbor_swagger_client/models/ldap_failed_import_users.rb +1 -1
- data/lib/harbor_swagger_client/models/ldap_import_users.rb +1 -1
- data/lib/harbor_swagger_client/models/ldap_users.rb +1 -1
- data/lib/harbor_swagger_client/models/manifest.rb +1 -1
- data/lib/harbor_swagger_client/models/namespace.rb +1 -1
- data/lib/harbor_swagger_client/models/native_report_summary.rb +244 -0
- data/lib/harbor_swagger_client/models/not_found_chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/overall_health_status.rb +1 -1
- data/lib/harbor_swagger_client/models/password.rb +1 -1
- data/lib/harbor_swagger_client/models/permission.rb +1 -1
- data/lib/harbor_swagger_client/models/ping_registry.rb +1 -1
- data/lib/harbor_swagger_client/models/project.rb +15 -3
- data/lib/harbor_swagger_client/models/project_member.rb +1 -1
- data/lib/harbor_swagger_client/models/project_member_entity.rb +1 -1
- data/lib/harbor_swagger_client/models/project_metadata.rb +2 -2
- data/lib/harbor_swagger_client/models/project_req.rb +1 -1
- data/lib/harbor_swagger_client/models/project_scanner.rb +184 -0
- data/lib/harbor_swagger_client/models/project_summary.rb +1 -1
- data/lib/harbor_swagger_client/models/project_summary_quota.rb +1 -1
- data/lib/harbor_swagger_client/models/put_registry.rb +1 -1
- data/lib/harbor_swagger_client/models/quota.rb +1 -1
- data/lib/harbor_swagger_client/models/quota_ref_object.rb +1 -1
- data/lib/harbor_swagger_client/models/quota_switcher.rb +1 -1
- data/lib/harbor_swagger_client/models/quota_update_req.rb +1 -1
- data/lib/harbor_swagger_client/models/registry.rb +1 -1
- data/lib/harbor_swagger_client/models/registry_credential.rb +1 -1
- data/lib/harbor_swagger_client/models/registry_info.rb +1 -1
- data/lib/harbor_swagger_client/models/replication_execution.rb +1 -1
- data/lib/harbor_swagger_client/models/replication_filter.rb +1 -1
- data/lib/harbor_swagger_client/models/replication_policy.rb +1 -1
- data/lib/harbor_swagger_client/models/replication_task.rb +1 -1
- data/lib/harbor_swagger_client/models/replication_trigger.rb +1 -1
- data/lib/harbor_swagger_client/models/repo_signature.rb +1 -1
- data/lib/harbor_swagger_client/models/report.rb +215 -0
- data/lib/harbor_swagger_client/models/repository.rb +1 -1
- data/lib/harbor_swagger_client/models/repository_description.rb +1 -1
- data/lib/harbor_swagger_client/models/resource.rb +1 -1
- data/lib/harbor_swagger_client/models/resource_list.rb +1 -1
- data/lib/harbor_swagger_client/models/retag_req.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_execution.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_execution_task.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_metadata.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_policy.rb +3 -3
- data/lib/harbor_swagger_client/models/retention_policy_scope.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_rule.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_rule_metadata.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_rule_param_metadata.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_rule_trigger.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_selector.rb +1 -1
- data/lib/harbor_swagger_client/models/retention_selector_metadata.rb +1 -1
- data/lib/harbor_swagger_client/models/robot_account.rb +1 -1
- data/lib/harbor_swagger_client/models/robot_account_access.rb +1 -1
- data/lib/harbor_swagger_client/models/robot_account_create.rb +1 -1
- data/lib/harbor_swagger_client/models/robot_account_post_rep.rb +1 -1
- data/lib/harbor_swagger_client/models/robot_account_update.rb +1 -1
- data/lib/harbor_swagger_client/models/role.rb +1 -1
- data/lib/harbor_swagger_client/models/role_param.rb +1 -1
- data/lib/harbor_swagger_client/models/role_request.rb +1 -1
- data/lib/harbor_swagger_client/models/scan_overview.rb +175 -0
- data/lib/harbor_swagger_client/models/scanner.rb +204 -0
- data/lib/harbor_swagger_client/models/scanner_adapter_metadata.rb +206 -0
- data/lib/harbor_swagger_client/models/scanner_capability.rb +196 -0
- data/lib/harbor_swagger_client/models/scanner_registration.rb +327 -0
- data/lib/harbor_swagger_client/models/scanner_registration_req.rb +262 -0
- data/lib/harbor_swagger_client/models/scanner_registration_settings.rb +216 -0
- data/lib/harbor_swagger_client/models/search.rb +1 -1
- data/lib/harbor_swagger_client/models/search_repository.rb +1 -1
- data/lib/harbor_swagger_client/models/search_result.rb +1 -1
- data/lib/harbor_swagger_client/models/security_report.rb +1 -1
- data/lib/harbor_swagger_client/models/statistic_map.rb +1 -1
- data/lib/harbor_swagger_client/models/stats.rb +217 -0
- data/lib/harbor_swagger_client/models/storage.rb +1 -1
- data/lib/harbor_swagger_client/models/string_config_item.rb +1 -1
- data/lib/harbor_swagger_client/models/system_info.rb +1 -1
- data/lib/harbor_swagger_client/models/tags.rb +1 -1
- data/lib/harbor_swagger_client/models/trigger_settings.rb +1 -1
- data/lib/harbor_swagger_client/models/unauthorized_chart_api_error.rb +1 -1
- data/lib/harbor_swagger_client/models/user.rb +1 -1
- data/lib/harbor_swagger_client/models/user_entity.rb +1 -1
- data/lib/harbor_swagger_client/models/user_group.rb +1 -1
- data/lib/harbor_swagger_client/models/user_profile.rb +1 -1
- data/lib/harbor_swagger_client/models/user_search.rb +1 -1
- data/lib/harbor_swagger_client/models/vuln_namespace_timestamp.rb +1 -1
- data/lib/harbor_swagger_client/models/vulnerability_item.rb +35 -23
- data/lib/harbor_swagger_client/models/vulnerability_summary.rb +207 -0
- data/lib/harbor_swagger_client/models/webhook_job.rb +1 -1
- data/lib/harbor_swagger_client/models/webhook_last_trigger.rb +1 -1
- data/lib/harbor_swagger_client/models/webhook_policy.rb +1 -1
- data/lib/harbor_swagger_client/models/webhook_target_object.rb +1 -1
- data/lib/harbor_swagger_client/version.rb +2 -2
- data/spec/Gemfile +7 -0
- data/spec/README.md +438 -0
- data/spec/Rakefile +8 -0
- data/spec/api/chart_repository_api_spec.rb +2 -2
- data/spec/api/label_api_spec.rb +1 -1
- data/spec/api/products_api_spec.rb +205 -19
- data/spec/api/quota_api_spec.rb +1 -16
- data/spec/api/retention_api_spec.rb +1 -1
- data/spec/api/robot_account_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/docs/AccessLog.md +13 -0
- data/spec/docs/Action.md +8 -0
- data/spec/docs/Action1.md +8 -0
- data/spec/docs/AdminJobSchedule.md +8 -0
- data/spec/docs/AdminJobScheduleObj.md +9 -0
- data/spec/docs/BadRequestFormatedError.md +8 -0
- data/spec/docs/BoolConfigItem.md +9 -0
- data/spec/docs/CVEWhitelist.md +11 -0
- data/spec/docs/CVEWhitelistItem.md +8 -0
- data/spec/docs/ChartAPIError.md +8 -0
- data/spec/docs/ChartInfoEntry.md +15 -0
- data/spec/docs/ChartInfoList.md +7 -0
- data/spec/docs/ChartMetadata.md +18 -0
- data/spec/docs/ChartRepositoryApi.md +698 -0
- data/spec/docs/ChartVersion.md +22 -0
- data/spec/docs/ChartVersionDetails.md +13 -0
- data/spec/docs/ChartVersions.md +7 -0
- data/spec/docs/ComponentHealthStatus.md +10 -0
- data/spec/docs/ComponentOverviewEntry.md +9 -0
- data/spec/docs/Configurations.md +42 -0
- data/spec/docs/ConfigurationsResponse.md +41 -0
- data/spec/docs/ConfigurationsScanAllPolicy.md +9 -0
- data/spec/docs/ConfigurationsScanAllPolicyParameter.md +8 -0
- data/spec/docs/ConflictFormatedError.md +8 -0
- data/spec/docs/Dependency.md +10 -0
- data/spec/docs/DetailedTag.md +18 -0
- data/spec/docs/DigitalSignature.md +9 -0
- data/spec/docs/EmailServerSetting.md +13 -0
- data/spec/docs/Endpoint.md +9 -0
- data/spec/docs/FilterStyle.md +10 -0
- data/spec/docs/ForbiddenChartAPIError.md +8 -0
- data/spec/docs/GCResult.md +15 -0
- data/spec/docs/GeneralInfo.md +20 -0
- data/spec/docs/GeneralInfoClairVulnerabilityStatus.md +9 -0
- data/spec/docs/HasAdminRole.md +8 -0
- data/spec/docs/ImmutableTagRule.md +11 -0
- data/spec/docs/InlineResponse200.md +8 -0
- data/spec/docs/InputSecret.md +8 -0
- data/spec/docs/InsufficientStorageChartAPIError.md +8 -0
- data/spec/docs/IntegerConfigItem.md +9 -0
- data/spec/docs/InternalChartAPIError.md +8 -0
- data/spec/docs/IsDefault.md +8 -0
- data/spec/docs/JobStatus.md +15 -0
- data/spec/docs/Label.md +16 -0
- data/spec/docs/LabelApi.md +191 -0
- data/spec/docs/Labels.md +7 -0
- data/spec/docs/LdapConf.md +15 -0
- data/spec/docs/LdapFailedImportUsers.md +9 -0
- data/spec/docs/LdapImportUsers.md +8 -0
- data/spec/docs/LdapUsers.md +10 -0
- data/spec/docs/Manifest.md +9 -0
- data/spec/docs/Namespace.md +9 -0
- data/spec/docs/NativeReportSummary.md +14 -0
- data/spec/docs/NotFoundChartAPIError.md +8 -0
- data/spec/docs/OverallHealthStatus.md +9 -0
- data/spec/docs/Password.md +9 -0
- data/spec/docs/Permission.md +9 -0
- data/spec/docs/PingRegistry.md +14 -0
- data/spec/docs/ProductsApi.md +8594 -0
- data/spec/docs/Project.md +21 -0
- data/spec/docs/ProjectMember.md +10 -0
- data/spec/docs/ProjectMemberEntity.md +14 -0
- data/spec/docs/ProjectMetadata.md +13 -0
- data/spec/docs/ProjectReq.md +12 -0
- data/spec/docs/ProjectScanner.md +8 -0
- data/spec/docs/ProjectSummary.md +14 -0
- data/spec/docs/ProjectSummaryQuota.md +9 -0
- data/spec/docs/PutRegistry.md +14 -0
- data/spec/docs/Quota.md +13 -0
- data/spec/docs/QuotaApi.md +118 -0
- data/spec/docs/QuotaRefObject.md +7 -0
- data/spec/docs/QuotaSwitcher.md +8 -0
- data/spec/docs/QuotaUpdateReq.md +8 -0
- data/spec/docs/Registry.md +17 -0
- data/spec/docs/RegistryCredential.md +10 -0
- data/spec/docs/RegistryInfo.md +11 -0
- data/spec/docs/ReplicationExecution.md +19 -0
- data/spec/docs/ReplicationFilter.md +9 -0
- data/spec/docs/ReplicationPolicy.md +20 -0
- data/spec/docs/ReplicationTask.md +16 -0
- data/spec/docs/ReplicationTrigger.md +9 -0
- data/spec/docs/RepoSignature.md +9 -0
- data/spec/docs/Report.md +11 -0
- data/spec/docs/Repository.md +17 -0
- data/spec/docs/RepositoryDescription.md +8 -0
- data/spec/docs/Resource.md +8 -0
- data/spec/docs/ResourceList.md +7 -0
- data/spec/docs/RetagReq.md +10 -0
- data/spec/docs/RetentionApi.md +449 -0
- data/spec/docs/RetentionExecution.md +14 -0
- data/spec/docs/RetentionExecutionTask.md +18 -0
- data/spec/docs/RetentionMetadata.md +10 -0
- data/spec/docs/RetentionPolicy.md +12 -0
- data/spec/docs/RetentionPolicyScope.md +9 -0
- data/spec/docs/RetentionRule.md +15 -0
- data/spec/docs/RetentionRuleMetadata.md +11 -0
- data/spec/docs/RetentionRuleParamMetadata.md +10 -0
- data/spec/docs/RetentionRuleTrigger.md +10 -0
- data/spec/docs/RetentionSelector.md +10 -0
- data/spec/docs/RetentionSelectorMetadata.md +10 -0
- data/spec/docs/RobotAccount.md +15 -0
- data/spec/docs/RobotAccountAccess.md +9 -0
- data/spec/docs/RobotAccountApi.md +291 -0
- data/spec/docs/RobotAccountCreate.md +10 -0
- data/spec/docs/RobotAccountPostRep.md +9 -0
- data/spec/docs/RobotAccountUpdate.md +8 -0
- data/spec/docs/Role.md +11 -0
- data/spec/docs/RoleParam.md +9 -0
- data/spec/docs/RoleRequest.md +8 -0
- data/spec/docs/ScanApi.md +281 -0
- data/spec/docs/ScanOverview.md +7 -0
- data/spec/docs/Scanner.md +10 -0
- data/spec/docs/ScannerAdapterMetadata.md +10 -0
- data/spec/docs/ScannerCapability.md +9 -0
- data/spec/docs/ScannerRegistration.md +21 -0
- data/spec/docs/ScannerRegistrationReq.md +15 -0
- data/spec/docs/ScannerRegistrationSettings.md +11 -0
- data/spec/docs/ScannersApi.md +600 -0
- data/spec/docs/Search.md +10 -0
- data/spec/docs/SearchRepository.md +13 -0
- data/spec/docs/SearchResult.md +10 -0
- data/spec/docs/SecurityReport.md +8 -0
- data/spec/docs/StatisticMap.md +13 -0
- data/spec/docs/Stats.md +11 -0
- data/spec/docs/Storage.md +9 -0
- data/spec/docs/StringConfigItem.md +9 -0
- data/spec/docs/SystemApi.md +163 -0
- data/spec/docs/SystemInfo.md +8 -0
- data/spec/docs/Tags.md +8 -0
- data/spec/docs/TriggerSettings.md +8 -0
- data/spec/docs/UnauthorizedChartAPIError.md +8 -0
- data/spec/docs/User.md +21 -0
- data/spec/docs/UserEntity.md +9 -0
- data/spec/docs/UserGroup.md +11 -0
- data/spec/docs/UserProfile.md +10 -0
- data/spec/docs/UserSearch.md +9 -0
- data/spec/docs/VulnNamespaceTimestamp.md +9 -0
- data/spec/docs/VulnerabilityItem.md +14 -0
- data/spec/docs/VulnerabilitySummary.md +10 -0
- data/spec/docs/WebhookJob.md +15 -0
- data/spec/docs/WebhookLastTrigger.md +11 -0
- data/spec/docs/WebhookPolicy.md +17 -0
- data/spec/docs/WebhookTargetObject.md +11 -0
- data/spec/git_push.sh +55 -0
- data/spec/harbor_swagger_client.gemspec +45 -0
- data/spec/lib/harbor_swagger_client.rb +182 -0
- data/spec/lib/harbor_swagger_client/api/chart_repository_api.rb +762 -0
- data/spec/lib/harbor_swagger_client/api/label_api.rb +230 -0
- data/spec/lib/harbor_swagger_client/api/products_api.rb +8783 -0
- data/spec/lib/harbor_swagger_client/api/quota_api.rb +136 -0
- data/spec/lib/harbor_swagger_client/api/retention_api.rb +482 -0
- data/spec/lib/harbor_swagger_client/api/robot_account_api.rb +321 -0
- data/spec/lib/harbor_swagger_client/api/scan_api.rb +307 -0
- data/spec/lib/harbor_swagger_client/api/scanners_api.rb +624 -0
- data/spec/lib/harbor_swagger_client/api/system_api.rb +173 -0
- data/spec/lib/harbor_swagger_client/api_client.rb +389 -0
- data/spec/lib/harbor_swagger_client/api_error.rb +38 -0
- data/spec/lib/harbor_swagger_client/configuration.rb +209 -0
- data/spec/lib/harbor_swagger_client/models/access_log.rb +234 -0
- data/spec/lib/harbor_swagger_client/models/action.rb +183 -0
- data/spec/lib/harbor_swagger_client/models/action_1.rb +183 -0
- data/spec/lib/harbor_swagger_client/models/admin_job_schedule.rb +183 -0
- data/spec/lib/harbor_swagger_client/models/admin_job_schedule_obj.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/bad_request_formated_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/bool_config_item.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/chart_info_entry.rb +270 -0
- data/spec/lib/harbor_swagger_client/models/chart_info_list.rb +175 -0
- data/spec/lib/harbor_swagger_client/models/chart_metadata.rb +319 -0
- data/spec/lib/harbor_swagger_client/models/chart_version.rb +361 -0
- data/spec/lib/harbor_swagger_client/models/chart_version_details.rb +235 -0
- data/spec/lib/harbor_swagger_client/models/chart_versions.rb +175 -0
- data/spec/lib/harbor_swagger_client/models/component_health_status.rb +205 -0
- data/spec/lib/harbor_swagger_client/models/component_overview_entry.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/configurations.rb +523 -0
- data/spec/lib/harbor_swagger_client/models/configurations_response.rb +513 -0
- data/spec/lib/harbor_swagger_client/models/configurations_scan_all_policy.rb +193 -0
- data/spec/lib/harbor_swagger_client/models/configurations_scan_all_policy_parameter.rb +185 -0
- data/spec/lib/harbor_swagger_client/models/conflict_formated_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/cve_whitelist.rb +216 -0
- data/spec/lib/harbor_swagger_client/models/cve_whitelist_item.rb +185 -0
- data/spec/lib/harbor_swagger_client/models/dependency.rb +215 -0
- data/spec/lib/harbor_swagger_client/models/detailed_tag.rb +286 -0
- data/spec/lib/harbor_swagger_client/models/digital_signature.rb +195 -0
- data/spec/lib/harbor_swagger_client/models/email_server_setting.rb +234 -0
- data/spec/lib/harbor_swagger_client/models/endpoint.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/filter_style.rb +207 -0
- data/spec/lib/harbor_swagger_client/models/forbidden_chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/gc_result.rb +253 -0
- data/spec/lib/harbor_swagger_client/models/general_info.rb +303 -0
- data/spec/lib/harbor_swagger_client/models/general_info_clair_vulnerability_status.rb +197 -0
- data/spec/lib/harbor_swagger_client/models/has_admin_role.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/immutable_tag_rule.rb +210 -0
- data/spec/lib/harbor_swagger_client/models/inline_response_200.rb +183 -0
- data/spec/lib/harbor_swagger_client/models/input_secret.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/insufficient_storage_chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/integer_config_item.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/internal_chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/is_default.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/job_status.rb +256 -0
- data/spec/lib/harbor_swagger_client/models/label.rb +264 -0
- data/spec/lib/harbor_swagger_client/models/labels.rb +175 -0
- data/spec/lib/harbor_swagger_client/models/ldap_conf.rb +254 -0
- data/spec/lib/harbor_swagger_client/models/ldap_failed_import_users.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/ldap_import_users.rb +186 -0
- data/spec/lib/harbor_swagger_client/models/ldap_users.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/manifest.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/namespace.rb +195 -0
- data/spec/lib/harbor_swagger_client/models/native_report_summary.rb +244 -0
- data/spec/lib/harbor_swagger_client/models/not_found_chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/overall_health_status.rb +196 -0
- data/spec/lib/harbor_swagger_client/models/password.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/permission.rb +195 -0
- data/spec/lib/harbor_swagger_client/models/ping_registry.rb +244 -0
- data/spec/lib/harbor_swagger_client/models/project.rb +316 -0
- data/spec/lib/harbor_swagger_client/models/project_member.rb +202 -0
- data/spec/lib/harbor_swagger_client/models/project_member_entity.rb +244 -0
- data/spec/lib/harbor_swagger_client/models/project_metadata.rb +234 -0
- data/spec/lib/harbor_swagger_client/models/project_req.rb +224 -0
- data/spec/lib/harbor_swagger_client/models/project_scanner.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/project_summary.rb +243 -0
- data/spec/lib/harbor_swagger_client/models/project_summary_quota.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/put_registry.rb +244 -0
- data/spec/lib/harbor_swagger_client/models/quota.rb +235 -0
- data/spec/lib/harbor_swagger_client/models/quota_ref_object.rb +174 -0
- data/spec/lib/harbor_swagger_client/models/quota_switcher.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/quota_update_req.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/registry.rb +273 -0
- data/spec/lib/harbor_swagger_client/models/registry_credential.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/registry_info.rb +219 -0
- data/spec/lib/harbor_swagger_client/models/replication_execution.rb +295 -0
- data/spec/lib/harbor_swagger_client/models/replication_filter.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/replication_policy.rb +305 -0
- data/spec/lib/harbor_swagger_client/models/replication_task.rb +265 -0
- data/spec/lib/harbor_swagger_client/models/replication_trigger.rb +193 -0
- data/spec/lib/harbor_swagger_client/models/repo_signature.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/report.rb +215 -0
- data/spec/lib/harbor_swagger_client/models/repository.rb +276 -0
- data/spec/lib/harbor_swagger_client/models/repository_description.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/resource.rb +186 -0
- data/spec/lib/harbor_swagger_client/models/resource_list.rb +174 -0
- data/spec/lib/harbor_swagger_client/models/retag_req.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/retention_execution.rb +237 -0
- data/spec/lib/harbor_swagger_client/models/retention_execution_task.rb +273 -0
- data/spec/lib/harbor_swagger_client/models/retention_metadata.rb +211 -0
- data/spec/lib/harbor_swagger_client/models/retention_policy.rb +222 -0
- data/spec/lib/harbor_swagger_client/models/retention_policy_scope.rb +192 -0
- data/spec/lib/harbor_swagger_client/models/retention_rule.rb +252 -0
- data/spec/lib/harbor_swagger_client/models/retention_rule_metadata.rb +217 -0
- data/spec/lib/harbor_swagger_client/models/retention_rule_param_metadata.rb +202 -0
- data/spec/lib/harbor_swagger_client/models/retention_rule_trigger.rb +201 -0
- data/spec/lib/harbor_swagger_client/models/retention_selector.rb +201 -0
- data/spec/lib/harbor_swagger_client/models/retention_selector_metadata.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/robot_account.rb +255 -0
- data/spec/lib/harbor_swagger_client/models/robot_account_access.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/robot_account_create.rb +206 -0
- data/spec/lib/harbor_swagger_client/models/robot_account_post_rep.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/robot_account_update.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/role.rb +213 -0
- data/spec/lib/harbor_swagger_client/models/role_param.rb +196 -0
- data/spec/lib/harbor_swagger_client/models/role_request.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/scan_overview.rb +175 -0
- data/spec/lib/harbor_swagger_client/models/scanner.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/scanner_adapter_metadata.rb +206 -0
- data/spec/lib/harbor_swagger_client/models/scanner_capability.rb +196 -0
- data/spec/lib/harbor_swagger_client/models/scanner_registration.rb +327 -0
- data/spec/lib/harbor_swagger_client/models/scanner_registration_req.rb +262 -0
- data/spec/lib/harbor_swagger_client/models/scanner_registration_settings.rb +216 -0
- data/spec/lib/harbor_swagger_client/models/search.rb +210 -0
- data/spec/lib/harbor_swagger_client/models/search_repository.rb +234 -0
- data/spec/lib/harbor_swagger_client/models/search_result.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/security_report.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/statistic_map.rb +234 -0
- data/spec/lib/harbor_swagger_client/models/stats.rb +217 -0
- data/spec/lib/harbor_swagger_client/models/storage.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/string_config_item.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/system_info.rb +186 -0
- data/spec/lib/harbor_swagger_client/models/tags.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/trigger_settings.rb +184 -0
- data/spec/lib/harbor_swagger_client/models/unauthorized_chart_api_error.rb +190 -0
- data/spec/lib/harbor_swagger_client/models/user.rb +301 -0
- data/spec/lib/harbor_swagger_client/models/user_entity.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/user_group.rb +214 -0
- data/spec/lib/harbor_swagger_client/models/user_profile.rb +204 -0
- data/spec/lib/harbor_swagger_client/models/user_search.rb +193 -0
- data/spec/lib/harbor_swagger_client/models/vuln_namespace_timestamp.rb +194 -0
- data/spec/lib/harbor_swagger_client/models/vulnerability_item.rb +246 -0
- data/spec/lib/harbor_swagger_client/models/vulnerability_summary.rb +207 -0
- data/spec/lib/harbor_swagger_client/models/webhook_job.rb +255 -0
- data/spec/lib/harbor_swagger_client/models/webhook_last_trigger.rb +215 -0
- data/spec/lib/harbor_swagger_client/models/webhook_policy.rb +277 -0
- data/spec/lib/harbor_swagger_client/models/webhook_target_object.rb +215 -0
- data/spec/lib/harbor_swagger_client/version.rb +15 -0
- data/spec/models/access_log_spec.rb +1 -1
- data/spec/models/action_1_spec.rb +1 -1
- data/spec/models/action_spec.rb +1 -1
- data/spec/models/admin_job_schedule_obj_spec.rb +1 -1
- data/spec/models/admin_job_schedule_spec.rb +1 -1
- data/spec/models/bad_request_formated_error_spec.rb +1 -1
- data/spec/models/bool_config_item_spec.rb +1 -1
- data/spec/models/chart_api_error_spec.rb +1 -1
- data/spec/models/chart_info_entry_spec.rb +1 -1
- data/spec/models/chart_info_list_spec.rb +1 -1
- data/spec/models/chart_metadata_spec.rb +1 -1
- data/spec/models/chart_version_details_spec.rb +1 -1
- data/spec/models/chart_version_spec.rb +1 -1
- data/spec/models/chart_versions_spec.rb +1 -1
- data/spec/models/component_health_status_spec.rb +1 -1
- data/spec/models/component_overview_entry_spec.rb +1 -1
- data/spec/models/configurations_response_spec.rb +31 -1
- data/spec/models/configurations_scan_all_policy_parameter_spec.rb +1 -1
- data/spec/models/configurations_scan_all_policy_spec.rb +1 -1
- data/spec/models/configurations_spec.rb +37 -1
- data/spec/models/conflict_formated_error_spec.rb +1 -1
- data/spec/models/cve_whitelist_item_spec.rb +1 -1
- data/spec/models/cve_whitelist_spec.rb +1 -1
- data/spec/models/dependency_spec.rb +1 -1
- data/spec/models/detailed_tag_spec.rb +1 -1
- data/spec/models/digital_signature_spec.rb +1 -1
- data/spec/models/email_server_setting_spec.rb +1 -1
- data/spec/models/endpoint_spec.rb +1 -1
- data/spec/models/filter_style_spec.rb +1 -1
- data/spec/models/forbidden_chart_api_error_spec.rb +1 -1
- data/spec/models/gc_result_spec.rb +1 -1
- data/spec/models/general_info_clair_vulnerability_status_spec.rb +1 -1
- data/spec/models/general_info_spec.rb +1 -1
- data/spec/models/has_admin_role_spec.rb +1 -1
- data/spec/models/immutable_tag_rule_spec.rb +59 -0
- data/spec/models/inline_response_200_spec.rb +2 -2
- data/spec/models/input_secret_spec.rb +41 -0
- data/spec/models/insufficient_storage_chart_api_error_spec.rb +1 -1
- data/spec/models/integer_config_item_spec.rb +1 -1
- data/spec/models/internal_chart_api_error_spec.rb +1 -1
- data/spec/models/is_default_spec.rb +41 -0
- data/spec/models/job_status_spec.rb +1 -1
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/labels_spec.rb +1 -1
- data/spec/models/ldap_conf_spec.rb +1 -1
- data/spec/models/ldap_failed_import_users_spec.rb +1 -1
- data/spec/models/ldap_import_users_spec.rb +1 -1
- data/spec/models/ldap_users_spec.rb +1 -1
- data/spec/models/manifest_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/native_report_summary_spec.rb +77 -0
- data/spec/models/not_found_chart_api_error_spec.rb +1 -1
- data/spec/models/overall_health_status_spec.rb +1 -1
- data/spec/models/password_spec.rb +1 -1
- data/spec/models/permission_spec.rb +1 -1
- data/spec/models/ping_registry_spec.rb +1 -1
- data/spec/models/project_member_entity_spec.rb +1 -1
- data/spec/models/project_member_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_req_spec.rb +1 -1
- data/spec/models/project_scanner_spec.rb +41 -0
- data/spec/models/project_spec.rb +7 -1
- data/spec/models/project_summary_quota_spec.rb +1 -1
- data/spec/models/project_summary_spec.rb +1 -1
- data/spec/models/put_registry_spec.rb +1 -1
- data/spec/models/quota_ref_object_spec.rb +1 -1
- data/spec/models/quota_spec.rb +1 -1
- data/spec/models/quota_switcher_spec.rb +1 -1
- data/spec/models/quota_update_req_spec.rb +1 -1
- data/spec/models/registry_credential_spec.rb +1 -1
- data/spec/models/registry_info_spec.rb +1 -1
- data/spec/models/registry_spec.rb +1 -1
- data/spec/models/replication_execution_spec.rb +1 -1
- data/spec/models/replication_filter_spec.rb +1 -1
- data/spec/models/replication_policy_spec.rb +1 -1
- data/spec/models/replication_task_spec.rb +1 -1
- data/spec/models/replication_trigger_spec.rb +1 -1
- data/spec/models/repo_signature_spec.rb +1 -1
- data/spec/models/report_spec.rb +59 -0
- data/spec/models/repository_description_spec.rb +1 -1
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/resource_list_spec.rb +1 -1
- data/spec/models/resource_spec.rb +1 -1
- data/spec/models/retag_req_spec.rb +1 -1
- data/spec/models/retention_execution_spec.rb +1 -1
- data/spec/models/retention_execution_task_spec.rb +1 -1
- data/spec/models/retention_metadata_spec.rb +1 -1
- data/spec/models/retention_policy_scope_spec.rb +1 -1
- data/spec/models/retention_policy_spec.rb +1 -1
- data/spec/models/retention_rule_metadata_spec.rb +1 -1
- data/spec/models/retention_rule_param_metadata_spec.rb +1 -1
- data/spec/models/retention_rule_spec.rb +1 -1
- data/spec/models/retention_rule_trigger_spec.rb +1 -1
- data/spec/models/retention_selector_metadata_spec.rb +1 -1
- data/spec/models/retention_selector_spec.rb +1 -1
- data/spec/models/robot_account_access_spec.rb +1 -1
- data/spec/models/robot_account_create_spec.rb +1 -1
- data/spec/models/robot_account_post_rep_spec.rb +1 -1
- data/spec/models/robot_account_spec.rb +1 -1
- data/spec/models/robot_account_update_spec.rb +1 -1
- data/spec/models/role_param_spec.rb +1 -1
- data/spec/models/role_request_spec.rb +1 -1
- data/spec/models/role_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/search_result_spec.rb +1 -1
- data/spec/models/search_spec.rb +1 -1
- data/spec/models/security_report_spec.rb +1 -1
- data/spec/models/statistic_map_spec.rb +1 -1
- data/spec/models/stats_spec.rb +59 -0
- data/spec/models/storage_spec.rb +1 -1
- data/spec/models/string_config_item_spec.rb +1 -1
- data/spec/models/system_info_spec.rb +1 -1
- data/spec/models/tags_spec.rb +1 -1
- data/spec/models/trigger_settings_spec.rb +1 -1
- data/spec/models/unauthorized_chart_api_error_spec.rb +1 -1
- data/spec/models/user_entity_spec.rb +1 -1
- data/spec/models/user_group_spec.rb +1 -1
- data/spec/models/user_profile_spec.rb +1 -1
- data/spec/models/user_search_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/vuln_namespace_timestamp_spec.rb +1 -1
- data/spec/models/vulnerability_item_spec.rb +11 -5
- data/spec/models/vulnerability_summary_spec.rb +53 -0
- data/spec/models/webhook_job_spec.rb +1 -1
- data/spec/models/webhook_last_trigger_spec.rb +1 -1
- data/spec/models/webhook_policy_spec.rb +1 -1
- data/spec/models/webhook_target_object_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +662 -2
@@ -0,0 +1,207 @@
|
|
1
|
+
=begin
|
2
|
+
#Harbor API
|
3
|
+
|
4
|
+
#These APIs provide services for manipulating Harbor project.
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module SwaggerClient
|
16
|
+
# VulnerabilitySummary contains the total number of the foun d vulnerabilities number and numbers of each severity level.
|
17
|
+
class VulnerabilitySummary
|
18
|
+
# The total number of the found vulnerabilities
|
19
|
+
attr_accessor :total
|
20
|
+
|
21
|
+
# The number of the fixable vulnerabilities
|
22
|
+
attr_accessor :fixable
|
23
|
+
|
24
|
+
# Numbers of the vulnerabilities with different severity
|
25
|
+
attr_accessor :summary
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'total' => :'total',
|
31
|
+
:'fixable' => :'fixable',
|
32
|
+
:'summary' => :'summary'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.swagger_types
|
38
|
+
{
|
39
|
+
:'total' => :'Integer',
|
40
|
+
:'fixable' => :'Integer',
|
41
|
+
:'summary' => :'Hash<String, Integer>'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Initializes the object
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
def initialize(attributes = {})
|
48
|
+
return unless attributes.is_a?(Hash)
|
49
|
+
|
50
|
+
# convert string to symbol for hash key
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
52
|
+
|
53
|
+
if attributes.has_key?(:'total')
|
54
|
+
self.total = attributes[:'total']
|
55
|
+
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'fixable')
|
58
|
+
self.fixable = attributes[:'fixable']
|
59
|
+
end
|
60
|
+
|
61
|
+
if attributes.has_key?(:'summary')
|
62
|
+
if (value = attributes[:'summary']).is_a?(Hash)
|
63
|
+
self.summary = value
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
69
|
+
# @return Array for valid properties with the reasons
|
70
|
+
def list_invalid_properties
|
71
|
+
invalid_properties = Array.new
|
72
|
+
invalid_properties
|
73
|
+
end
|
74
|
+
|
75
|
+
# Check to see if the all the properties in the model are valid
|
76
|
+
# @return true if the model is valid
|
77
|
+
def valid?
|
78
|
+
true
|
79
|
+
end
|
80
|
+
|
81
|
+
# Checks equality by comparing each attribute.
|
82
|
+
# @param [Object] Object to be compared
|
83
|
+
def ==(o)
|
84
|
+
return true if self.equal?(o)
|
85
|
+
self.class == o.class &&
|
86
|
+
total == o.total &&
|
87
|
+
fixable == o.fixable &&
|
88
|
+
summary == o.summary
|
89
|
+
end
|
90
|
+
|
91
|
+
# @see the `==` method
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def eql?(o)
|
94
|
+
self == o
|
95
|
+
end
|
96
|
+
|
97
|
+
# Calculates hash code according to all attributes.
|
98
|
+
# @return [Fixnum] Hash code
|
99
|
+
def hash
|
100
|
+
[total, fixable, summary].hash
|
101
|
+
end
|
102
|
+
|
103
|
+
# Builds the object from hash
|
104
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
# @return [Object] Returns the model itself
|
106
|
+
def build_from_hash(attributes)
|
107
|
+
return nil unless attributes.is_a?(Hash)
|
108
|
+
self.class.swagger_types.each_pair do |key, type|
|
109
|
+
if type =~ /\AArray<(.*)>/i
|
110
|
+
# check to ensure the input is an array given that the the attribute
|
111
|
+
# is documented as an array but the input is not
|
112
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
114
|
+
end
|
115
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
116
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
117
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
118
|
+
end
|
119
|
+
|
120
|
+
self
|
121
|
+
end
|
122
|
+
|
123
|
+
# Deserializes the data based on type
|
124
|
+
# @param string type Data type
|
125
|
+
# @param string value Value to be deserialized
|
126
|
+
# @return [Object] Deserialized data
|
127
|
+
def _deserialize(type, value)
|
128
|
+
case type.to_sym
|
129
|
+
when :DateTime
|
130
|
+
DateTime.parse(value)
|
131
|
+
when :Date
|
132
|
+
Date.parse(value)
|
133
|
+
when :String
|
134
|
+
value.to_s
|
135
|
+
when :Integer
|
136
|
+
value.to_i
|
137
|
+
when :Float
|
138
|
+
value.to_f
|
139
|
+
when :BOOLEAN
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
141
|
+
true
|
142
|
+
else
|
143
|
+
false
|
144
|
+
end
|
145
|
+
when :Object
|
146
|
+
# generic object (usually a Hash), return directly
|
147
|
+
value
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
154
|
+
{}.tap do |hash|
|
155
|
+
value.each do |k, v|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
else # model
|
160
|
+
temp_model = SwaggerClient.const_get(type).new
|
161
|
+
temp_model.build_from_hash(value)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# Returns the string representation of the object
|
166
|
+
# @return [String] String presentation of the object
|
167
|
+
def to_s
|
168
|
+
to_hash.to_s
|
169
|
+
end
|
170
|
+
|
171
|
+
# to_body is an alias to to_hash (backward compatibility)
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_body
|
174
|
+
to_hash
|
175
|
+
end
|
176
|
+
|
177
|
+
# Returns the object in the form of hash
|
178
|
+
# @return [Hash] Returns the object in the form of hash
|
179
|
+
def to_hash
|
180
|
+
hash = {}
|
181
|
+
self.class.attribute_map.each_pair do |attr, param|
|
182
|
+
value = self.send(attr)
|
183
|
+
next if value.nil?
|
184
|
+
hash[param] = _to_hash(value)
|
185
|
+
end
|
186
|
+
hash
|
187
|
+
end
|
188
|
+
|
189
|
+
# Outputs non-array value in the form of hash
|
190
|
+
# For object, use to_hash. Otherwise, just return the value
|
191
|
+
# @param [Object] value Any valid value
|
192
|
+
# @return [Hash] Returns the value in the form of hash
|
193
|
+
def _to_hash(value)
|
194
|
+
if value.is_a?(Array)
|
195
|
+
value.compact.map { |v| _to_hash(v) }
|
196
|
+
elsif value.is_a?(Hash)
|
197
|
+
{}.tap do |hash|
|
198
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
199
|
+
end
|
200
|
+
elsif value.respond_to? :to_hash
|
201
|
+
value.to_hash
|
202
|
+
else
|
203
|
+
value
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#These APIs provide services for manipulating Harbor project.
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.
|
6
|
+
OpenAPI spec version: 1.10.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.7
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.7
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module SwaggerClient
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.3'
|
15
15
|
end
|
data/spec/Gemfile
ADDED
data/spec/README.md
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
# harbor_swagger_client
|
2
|
+
|
3
|
+
SwaggerClient - the Ruby gem for the Harbor API
|
4
|
+
|
5
|
+
These APIs provide services for manipulating Harbor project.
|
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: 1.0.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 harbor_swagger_client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./harbor_swagger_client-1.0.0.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./harbor_swagger_client-1.0.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 'harbor_swagger_client', '~> 1.0.0'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'harbor_swagger_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.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 'harbor_swagger_client'
|
56
|
+
|
57
|
+
# Setup authorization
|
58
|
+
SwaggerClient.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 = SwaggerClient::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 SwaggerClient::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
|
+
*SwaggerClient::ChartRepositoryApi* | [**chartrepo_charts_post**](docs/ChartRepositoryApi.md#chartrepo_charts_post) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project.
|
88
|
+
*SwaggerClient::ChartRepositoryApi* | [**chartrepo_health_get**](docs/ChartRepositoryApi.md#chartrepo_health_get) | **GET** /chartrepo/health | Check the health of chart repository service.
|
89
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**chartrepo_charts_post**](docs/ProductsApi.md#chartrepo_charts_post) | **POST** /chartrepo/charts | Upload a chart file to the defult 'library' project.
|
103
|
+
*SwaggerClient::ProductsApi* | [**chartrepo_health_get**](docs/ProductsApi.md#chartrepo_health_get) | **GET** /chartrepo/health | Check the health of chart repository service.
|
104
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**configurations_get**](docs/ProductsApi.md#configurations_get) | **GET** /configurations | Get system configurations.
|
115
|
+
*SwaggerClient::ProductsApi* | [**configurations_put**](docs/ProductsApi.md#configurations_put) | **PUT** /configurations | Modify system configurations.
|
116
|
+
*SwaggerClient::ProductsApi* | [**email_ping_post**](docs/ProductsApi.md#email_ping_post) | **POST** /email/ping | Test connection and authentication with email server.
|
117
|
+
*SwaggerClient::ProductsApi* | [**health_get**](docs/ProductsApi.md#health_get) | **GET** /health | Health check API
|
118
|
+
*SwaggerClient::ProductsApi* | [**internal_switchquota_put**](docs/ProductsApi.md#internal_switchquota_put) | **PUT** /internal/switchquota | Enable or disable quota.
|
119
|
+
*SwaggerClient::ProductsApi* | [**internal_syncquota_post**](docs/ProductsApi.md#internal_syncquota_post) | **POST** /internal/syncquota | Sync quota from registry/chart to DB.
|
120
|
+
*SwaggerClient::ProductsApi* | [**internal_syncregistry_post**](docs/ProductsApi.md#internal_syncregistry_post) | **POST** /internal/syncregistry | Sync repositories from registry to DB.
|
121
|
+
*SwaggerClient::ProductsApi* | [**labels_get**](docs/ProductsApi.md#labels_get) | **GET** /labels | List labels according to the query strings.
|
122
|
+
*SwaggerClient::ProductsApi* | [**labels_id_delete**](docs/ProductsApi.md#labels_id_delete) | **DELETE** /labels/{id} | Delete the label specified by ID.
|
123
|
+
*SwaggerClient::ProductsApi* | [**labels_id_get**](docs/ProductsApi.md#labels_id_get) | **GET** /labels/{id} | Get the label specified by ID.
|
124
|
+
*SwaggerClient::ProductsApi* | [**labels_id_put**](docs/ProductsApi.md#labels_id_put) | **PUT** /labels/{id} | Update the label properties.
|
125
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**labels_post**](docs/ProductsApi.md#labels_post) | **POST** /labels | Post creates a label
|
127
|
+
*SwaggerClient::ProductsApi* | [**ldap_groups_search_get**](docs/ProductsApi.md#ldap_groups_search_get) | **GET** /ldap/groups/search | Search available ldap groups.
|
128
|
+
*SwaggerClient::ProductsApi* | [**ldap_ping_post**](docs/ProductsApi.md#ldap_ping_post) | **POST** /ldap/ping | Ping available ldap service.
|
129
|
+
*SwaggerClient::ProductsApi* | [**ldap_users_import_post**](docs/ProductsApi.md#ldap_users_import_post) | **POST** /ldap/users/import | Import selected available ldap users.
|
130
|
+
*SwaggerClient::ProductsApi* | [**ldap_users_search_get**](docs/ProductsApi.md#ldap_users_search_get) | **GET** /ldap/users/search | Search available ldap users.
|
131
|
+
*SwaggerClient::ProductsApi* | [**logs_get**](docs/ProductsApi.md#logs_get) | **GET** /logs | Get recent logs of the projects which the user is a member of
|
132
|
+
*SwaggerClient::ProductsApi* | [**projects_get**](docs/ProductsApi.md#projects_get) | **GET** /projects | List projects
|
133
|
+
*SwaggerClient::ProductsApi* | [**projects_head**](docs/ProductsApi.md#projects_head) | **HEAD** /projects | Check if the project name user provided already exists.
|
134
|
+
*SwaggerClient::ProductsApi* | [**projects_post**](docs/ProductsApi.md#projects_post) | **POST** /projects | Create a new project.
|
135
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_delete**](docs/ProductsApi.md#projects_project_id_delete) | **DELETE** /projects/{project_id} | Delete project by projectID
|
136
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_get**](docs/ProductsApi.md#projects_project_id_get) | **GET** /projects/{project_id} | Return specific project detail information
|
137
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_members_post**](docs/ProductsApi.md#projects_project_id_members_post) | **POST** /projects/{project_id}/members | Create project member
|
147
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_metadatas_get**](docs/ProductsApi.md#projects_project_id_metadatas_get) | **GET** /projects/{project_id}/metadatas | Get project metadata.
|
148
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_put**](docs/ProductsApi.md#projects_project_id_put) | **PUT** /projects/{project_id} | Update properties for a selected project.
|
153
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**projects_project_id_scanner_get**](docs/ProductsApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
|
160
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**quotas_get**](docs/ProductsApi.md#quotas_get) | **GET** /quotas | List quotas
|
170
|
+
*SwaggerClient::ProductsApi* | [**quotas_id_get**](docs/ProductsApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
|
171
|
+
*SwaggerClient::ProductsApi* | [**quotas_id_put**](docs/ProductsApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
|
172
|
+
*SwaggerClient::ProductsApi* | [**registries_get**](docs/ProductsApi.md#registries_get) | **GET** /registries | List registries.
|
173
|
+
*SwaggerClient::ProductsApi* | [**registries_id_delete**](docs/ProductsApi.md#registries_id_delete) | **DELETE** /registries/{id} | Delete specific registry.
|
174
|
+
*SwaggerClient::ProductsApi* | [**registries_id_get**](docs/ProductsApi.md#registries_id_get) | **GET** /registries/{id} | Get registry.
|
175
|
+
*SwaggerClient::ProductsApi* | [**registries_id_info_get**](docs/ProductsApi.md#registries_id_info_get) | **GET** /registries/{id}/info | Get registry info.
|
176
|
+
*SwaggerClient::ProductsApi* | [**registries_id_namespace_get**](docs/ProductsApi.md#registries_id_namespace_get) | **GET** /registries/{id}/namespace | List namespaces of registry
|
177
|
+
*SwaggerClient::ProductsApi* | [**registries_id_put**](docs/ProductsApi.md#registries_id_put) | **PUT** /registries/{id} | Update a given registry.
|
178
|
+
*SwaggerClient::ProductsApi* | [**registries_ping_post**](docs/ProductsApi.md#registries_ping_post) | **POST** /registries/ping | Ping status of a registry.
|
179
|
+
*SwaggerClient::ProductsApi* | [**registries_post**](docs/ProductsApi.md#registries_post) | **POST** /registries | Create a new registry.
|
180
|
+
*SwaggerClient::ProductsApi* | [**replication_adapters_get**](docs/ProductsApi.md#replication_adapters_get) | **GET** /replication/adapters | List supported adapters.
|
181
|
+
*SwaggerClient::ProductsApi* | [**replication_executions_get**](docs/ProductsApi.md#replication_executions_get) | **GET** /replication/executions | List replication executions.
|
182
|
+
*SwaggerClient::ProductsApi* | [**replication_executions_id_get**](docs/ProductsApi.md#replication_executions_id_get) | **GET** /replication/executions/{id} | Get the execution of the replication.
|
183
|
+
*SwaggerClient::ProductsApi* | [**replication_executions_id_put**](docs/ProductsApi.md#replication_executions_id_put) | **PUT** /replication/executions/{id} | Stop the execution of the replication.
|
184
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**replication_executions_post**](docs/ProductsApi.md#replication_executions_post) | **POST** /replication/executions | Start one execution of the replication.
|
187
|
+
*SwaggerClient::ProductsApi* | [**replication_policies_get**](docs/ProductsApi.md#replication_policies_get) | **GET** /replication/policies | List replication policies
|
188
|
+
*SwaggerClient::ProductsApi* | [**replication_policies_id_delete**](docs/ProductsApi.md#replication_policies_id_delete) | **DELETE** /replication/policies/{id} | Delete the replication policy specified by ID.
|
189
|
+
*SwaggerClient::ProductsApi* | [**replication_policies_id_get**](docs/ProductsApi.md#replication_policies_id_get) | **GET** /replication/policies/{id} | Get replication policy.
|
190
|
+
*SwaggerClient::ProductsApi* | [**replication_policies_id_put**](docs/ProductsApi.md#replication_policies_id_put) | **PUT** /replication/policies/{id} | Update the replication policy
|
191
|
+
*SwaggerClient::ProductsApi* | [**replication_policies_post**](docs/ProductsApi.md#replication_policies_post) | **POST** /replication/policies | Create a replication policy
|
192
|
+
*SwaggerClient::ProductsApi* | [**repositories_get**](docs/ProductsApi.md#repositories_get) | **GET** /repositories | Get repositories accompany with relevant project and repo name.
|
193
|
+
*SwaggerClient::ProductsApi* | [**repositories_repo_name_delete**](docs/ProductsApi.md#repositories_repo_name_delete) | **DELETE** /repositories/{repo_name} | Delete a repository.
|
194
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**repositories_repo_name_put**](docs/ProductsApi.md#repositories_repo_name_put) | **PUT** /repositories/{repo_name} | Update description of the repository.
|
198
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**repositories_repo_name_tags_post**](docs/ProductsApi.md#repositories_repo_name_tags_post) | **POST** /repositories/{repo_name}/tags | Retag an image
|
201
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**repositories_top_get**](docs/ProductsApi.md#repositories_top_get) | **GET** /repositories/top | Get public repositories which are accessed most.
|
210
|
+
*SwaggerClient::ProductsApi* | [**retentions_id_executions_eid_patch**](docs/ProductsApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
|
211
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**retentions_id_executions_get**](docs/ProductsApi.md#retentions_id_executions_get) | **GET** /retentions/{id}/executions | Get a Retention job
|
214
|
+
*SwaggerClient::ProductsApi* | [**retentions_id_executions_post**](docs/ProductsApi.md#retentions_id_executions_post) | **POST** /retentions/{id}/executions | Trigger a Retention job
|
215
|
+
*SwaggerClient::ProductsApi* | [**retentions_id_get**](docs/ProductsApi.md#retentions_id_get) | **GET** /retentions/{id} | Get Retention Policy
|
216
|
+
*SwaggerClient::ProductsApi* | [**retentions_id_put**](docs/ProductsApi.md#retentions_id_put) | **PUT** /retentions/{id} | Update Retention Policy
|
217
|
+
*SwaggerClient::ProductsApi* | [**retentions_metadatas_get**](docs/ProductsApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
|
218
|
+
*SwaggerClient::ProductsApi* | [**retentions_post**](docs/ProductsApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
|
219
|
+
*SwaggerClient::ProductsApi* | [**scanners_get**](docs/ProductsApi.md#scanners_get) | **GET** /scanners | List scanner registrations
|
220
|
+
*SwaggerClient::ProductsApi* | [**scanners_ping_post**](docs/ProductsApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
|
221
|
+
*SwaggerClient::ProductsApi* | [**scanners_registration_id_get**](docs/ProductsApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
|
222
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**search_get**](docs/ProductsApi.md#search_get) | **GET** /search | Search for projects, repositories and helm charts
|
226
|
+
*SwaggerClient::ProductsApi* | [**statistics_get**](docs/ProductsApi.md#statistics_get) | **GET** /statistics | Get projects number and repositories number relevant to the user
|
227
|
+
*SwaggerClient::ProductsApi* | [**system_cve_whitelist_get**](docs/ProductsApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
|
228
|
+
*SwaggerClient::ProductsApi* | [**system_cve_whitelist_put**](docs/ProductsApi.md#system_cve_whitelist_put) | **PUT** /system/CVEWhitelist | Update the system level whitelist of CVE.
|
229
|
+
*SwaggerClient::ProductsApi* | [**system_gc_get**](docs/ProductsApi.md#system_gc_get) | **GET** /system/gc | Get gc results.
|
230
|
+
*SwaggerClient::ProductsApi* | [**system_gc_id_get**](docs/ProductsApi.md#system_gc_id_get) | **GET** /system/gc/{id} | Get gc status.
|
231
|
+
*SwaggerClient::ProductsApi* | [**system_gc_id_log_get**](docs/ProductsApi.md#system_gc_id_log_get) | **GET** /system/gc/{id}/log | Get gc job log.
|
232
|
+
*SwaggerClient::ProductsApi* | [**system_gc_schedule_get**](docs/ProductsApi.md#system_gc_schedule_get) | **GET** /system/gc/schedule | Get gc's schedule.
|
233
|
+
*SwaggerClient::ProductsApi* | [**system_gc_schedule_post**](docs/ProductsApi.md#system_gc_schedule_post) | **POST** /system/gc/schedule | Create a gc schedule.
|
234
|
+
*SwaggerClient::ProductsApi* | [**system_gc_schedule_put**](docs/ProductsApi.md#system_gc_schedule_put) | **PUT** /system/gc/schedule | Update gc's schedule.
|
235
|
+
*SwaggerClient::ProductsApi* | [**system_oidc_ping_post**](docs/ProductsApi.md#system_oidc_ping_post) | **POST** /system/oidc/ping | Test the OIDC endpoint.
|
236
|
+
*SwaggerClient::ProductsApi* | [**system_scan_all_schedule_get**](docs/ProductsApi.md#system_scan_all_schedule_get) | **GET** /system/scanAll/schedule | Get scan_all's schedule.
|
237
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**system_scan_all_schedule_put**](docs/ProductsApi.md#system_scan_all_schedule_put) | **PUT** /system/scanAll/schedule | Update scan all's schedule.
|
239
|
+
*SwaggerClient::ProductsApi* | [**systeminfo_get**](docs/ProductsApi.md#systeminfo_get) | **GET** /systeminfo | Get general system info
|
240
|
+
*SwaggerClient::ProductsApi* | [**systeminfo_getcert_get**](docs/ProductsApi.md#systeminfo_getcert_get) | **GET** /systeminfo/getcert | Get default root certificate.
|
241
|
+
*SwaggerClient::ProductsApi* | [**systeminfo_volumes_get**](docs/ProductsApi.md#systeminfo_volumes_get) | **GET** /systeminfo/volumes | Get system volume info (total/free size).
|
242
|
+
*SwaggerClient::ProductsApi* | [**usergroups_get**](docs/ProductsApi.md#usergroups_get) | **GET** /usergroups | Get all user groups information
|
243
|
+
*SwaggerClient::ProductsApi* | [**usergroups_group_id_delete**](docs/ProductsApi.md#usergroups_group_id_delete) | **DELETE** /usergroups/{group_id} | Delete user group
|
244
|
+
*SwaggerClient::ProductsApi* | [**usergroups_group_id_get**](docs/ProductsApi.md#usergroups_group_id_get) | **GET** /usergroups/{group_id} | Get user group information
|
245
|
+
*SwaggerClient::ProductsApi* | [**usergroups_group_id_put**](docs/ProductsApi.md#usergroups_group_id_put) | **PUT** /usergroups/{group_id} | Update group information
|
246
|
+
*SwaggerClient::ProductsApi* | [**usergroups_post**](docs/ProductsApi.md#usergroups_post) | **POST** /usergroups | Create user group
|
247
|
+
*SwaggerClient::ProductsApi* | [**users_current_get**](docs/ProductsApi.md#users_current_get) | **GET** /users/current | Get current user info.
|
248
|
+
*SwaggerClient::ProductsApi* | [**users_current_permissions_get**](docs/ProductsApi.md#users_current_permissions_get) | **GET** /users/current/permissions | Get current user permissions.
|
249
|
+
*SwaggerClient::ProductsApi* | [**users_get**](docs/ProductsApi.md#users_get) | **GET** /users | Get registered users of Harbor.
|
250
|
+
*SwaggerClient::ProductsApi* | [**users_post**](docs/ProductsApi.md#users_post) | **POST** /users | Creates a new user account.
|
251
|
+
*SwaggerClient::ProductsApi* | [**users_search_get**](docs/ProductsApi.md#users_search_get) | **GET** /users/search | Search users by username
|
252
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ProductsApi* | [**users_user_id_delete**](docs/ProductsApi.md#users_user_id_delete) | **DELETE** /users/{user_id} | Mark a registered user as be removed.
|
254
|
+
*SwaggerClient::ProductsApi* | [**users_user_id_get**](docs/ProductsApi.md#users_user_id_get) | **GET** /users/{user_id} | Get a user's profile.
|
255
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::QuotaApi* | [**quotas_id_get**](docs/QuotaApi.md#quotas_id_get) | **GET** /quotas/{id} | Get the specified quota
|
259
|
+
*SwaggerClient::QuotaApi* | [**quotas_id_put**](docs/QuotaApi.md#quotas_id_put) | **PUT** /quotas/{id} | Update the specified quota
|
260
|
+
*SwaggerClient::RetentionApi* | [**retentions_id_executions_eid_patch**](docs/RetentionApi.md#retentions_id_executions_eid_patch) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention job
|
261
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::RetentionApi* | [**retentions_id_executions_get**](docs/RetentionApi.md#retentions_id_executions_get) | **GET** /retentions/{id}/executions | Get a Retention job
|
264
|
+
*SwaggerClient::RetentionApi* | [**retentions_id_executions_post**](docs/RetentionApi.md#retentions_id_executions_post) | **POST** /retentions/{id}/executions | Trigger a Retention job
|
265
|
+
*SwaggerClient::RetentionApi* | [**retentions_id_get**](docs/RetentionApi.md#retentions_id_get) | **GET** /retentions/{id} | Get Retention Policy
|
266
|
+
*SwaggerClient::RetentionApi* | [**retentions_metadatas_get**](docs/RetentionApi.md#retentions_metadatas_get) | **GET** /retentions/metadatas | Get Retention Metadatas
|
267
|
+
*SwaggerClient::RetentionApi* | [**retentions_post**](docs/RetentionApi.md#retentions_post) | **POST** /retentions | Create Retention Policy
|
268
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ScannersApi* | [**projects_project_id_scanner_get**](docs/ScannersApi.md#projects_project_id_scanner_get) | **GET** /projects/{project_id}/scanner | Get project level scanner
|
280
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ScannersApi* | [**scanners_get**](docs/ScannersApi.md#scanners_get) | **GET** /scanners | List scanner registrations
|
282
|
+
*SwaggerClient::ScannersApi* | [**scanners_ping_post**](docs/ScannersApi.md#scanners_ping_post) | **POST** /scanners/ping | Tests scanner registration settings
|
283
|
+
*SwaggerClient::ScannersApi* | [**scanners_post**](docs/ScannersApi.md#scanners_post) | **POST** /scanners | Create a scanner registration
|
284
|
+
*SwaggerClient::ScannersApi* | [**scanners_registration_id_delete**](docs/ScannersApi.md#scanners_registration_id_delete) | **DELETE** /scanners/{registration_id} | Delete a scanner registration
|
285
|
+
*SwaggerClient::ScannersApi* | [**scanners_registration_id_get**](docs/ScannersApi.md#scanners_registration_id_get) | **GET** /scanners/{registration_id} | Get a scanner registration details
|
286
|
+
*SwaggerClient::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
|
+
*SwaggerClient::ScannersApi* | [**scanners_registration_id_patch**](docs/ScannersApi.md#scanners_registration_id_patch) | **PATCH** /scanners/{registration_id} | Set system default scanner registration
|
288
|
+
*SwaggerClient::ScannersApi* | [**scanners_registration_id_put**](docs/ScannersApi.md#scanners_registration_id_put) | **PUT** /scanners/{registration_id} | Update a scanner registration
|
289
|
+
*SwaggerClient::SystemApi* | [**system_cve_whitelist_get**](docs/SystemApi.md#system_cve_whitelist_get) | **GET** /system/CVEWhitelist | Get the system level whitelist of CVE.
|
290
|
+
*SwaggerClient::SystemApi* | [**system_cve_whitelist_put**](docs/SystemApi.md#system_cve_whitelist_put) | **PUT** /system/CVEWhitelist | Update the system level whitelist of CVE.
|
291
|
+
*SwaggerClient::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
|
+
- [SwaggerClient::AccessLog](docs/AccessLog.md)
|
297
|
+
- [SwaggerClient::Action](docs/Action.md)
|
298
|
+
- [SwaggerClient::Action1](docs/Action1.md)
|
299
|
+
- [SwaggerClient::AdminJobSchedule](docs/AdminJobSchedule.md)
|
300
|
+
- [SwaggerClient::AdminJobScheduleObj](docs/AdminJobScheduleObj.md)
|
301
|
+
- [SwaggerClient::BoolConfigItem](docs/BoolConfigItem.md)
|
302
|
+
- [SwaggerClient::CVEWhitelist](docs/CVEWhitelist.md)
|
303
|
+
- [SwaggerClient::CVEWhitelistItem](docs/CVEWhitelistItem.md)
|
304
|
+
- [SwaggerClient::ChartAPIError](docs/ChartAPIError.md)
|
305
|
+
- [SwaggerClient::ChartInfoEntry](docs/ChartInfoEntry.md)
|
306
|
+
- [SwaggerClient::ChartInfoList](docs/ChartInfoList.md)
|
307
|
+
- [SwaggerClient::ChartMetadata](docs/ChartMetadata.md)
|
308
|
+
- [SwaggerClient::ChartVersionDetails](docs/ChartVersionDetails.md)
|
309
|
+
- [SwaggerClient::ChartVersions](docs/ChartVersions.md)
|
310
|
+
- [SwaggerClient::ComponentHealthStatus](docs/ComponentHealthStatus.md)
|
311
|
+
- [SwaggerClient::ComponentOverviewEntry](docs/ComponentOverviewEntry.md)
|
312
|
+
- [SwaggerClient::Configurations](docs/Configurations.md)
|
313
|
+
- [SwaggerClient::ConfigurationsResponse](docs/ConfigurationsResponse.md)
|
314
|
+
- [SwaggerClient::ConfigurationsScanAllPolicy](docs/ConfigurationsScanAllPolicy.md)
|
315
|
+
- [SwaggerClient::ConfigurationsScanAllPolicyParameter](docs/ConfigurationsScanAllPolicyParameter.md)
|
316
|
+
- [SwaggerClient::Dependency](docs/Dependency.md)
|
317
|
+
- [SwaggerClient::DetailedTag](docs/DetailedTag.md)
|
318
|
+
- [SwaggerClient::DigitalSignature](docs/DigitalSignature.md)
|
319
|
+
- [SwaggerClient::EmailServerSetting](docs/EmailServerSetting.md)
|
320
|
+
- [SwaggerClient::Endpoint](docs/Endpoint.md)
|
321
|
+
- [SwaggerClient::FilterStyle](docs/FilterStyle.md)
|
322
|
+
- [SwaggerClient::GCResult](docs/GCResult.md)
|
323
|
+
- [SwaggerClient::GeneralInfo](docs/GeneralInfo.md)
|
324
|
+
- [SwaggerClient::GeneralInfoClairVulnerabilityStatus](docs/GeneralInfoClairVulnerabilityStatus.md)
|
325
|
+
- [SwaggerClient::HasAdminRole](docs/HasAdminRole.md)
|
326
|
+
- [SwaggerClient::ImmutableTagRule](docs/ImmutableTagRule.md)
|
327
|
+
- [SwaggerClient::InlineResponse200](docs/InlineResponse200.md)
|
328
|
+
- [SwaggerClient::InputSecret](docs/InputSecret.md)
|
329
|
+
- [SwaggerClient::IntegerConfigItem](docs/IntegerConfigItem.md)
|
330
|
+
- [SwaggerClient::IsDefault](docs/IsDefault.md)
|
331
|
+
- [SwaggerClient::JobStatus](docs/JobStatus.md)
|
332
|
+
- [SwaggerClient::Label](docs/Label.md)
|
333
|
+
- [SwaggerClient::Labels](docs/Labels.md)
|
334
|
+
- [SwaggerClient::LdapConf](docs/LdapConf.md)
|
335
|
+
- [SwaggerClient::LdapFailedImportUsers](docs/LdapFailedImportUsers.md)
|
336
|
+
- [SwaggerClient::LdapImportUsers](docs/LdapImportUsers.md)
|
337
|
+
- [SwaggerClient::LdapUsers](docs/LdapUsers.md)
|
338
|
+
- [SwaggerClient::Manifest](docs/Manifest.md)
|
339
|
+
- [SwaggerClient::Namespace](docs/Namespace.md)
|
340
|
+
- [SwaggerClient::NativeReportSummary](docs/NativeReportSummary.md)
|
341
|
+
- [SwaggerClient::OverallHealthStatus](docs/OverallHealthStatus.md)
|
342
|
+
- [SwaggerClient::Password](docs/Password.md)
|
343
|
+
- [SwaggerClient::Permission](docs/Permission.md)
|
344
|
+
- [SwaggerClient::PingRegistry](docs/PingRegistry.md)
|
345
|
+
- [SwaggerClient::Project](docs/Project.md)
|
346
|
+
- [SwaggerClient::ProjectMember](docs/ProjectMember.md)
|
347
|
+
- [SwaggerClient::ProjectMemberEntity](docs/ProjectMemberEntity.md)
|
348
|
+
- [SwaggerClient::ProjectMetadata](docs/ProjectMetadata.md)
|
349
|
+
- [SwaggerClient::ProjectReq](docs/ProjectReq.md)
|
350
|
+
- [SwaggerClient::ProjectScanner](docs/ProjectScanner.md)
|
351
|
+
- [SwaggerClient::ProjectSummary](docs/ProjectSummary.md)
|
352
|
+
- [SwaggerClient::ProjectSummaryQuota](docs/ProjectSummaryQuota.md)
|
353
|
+
- [SwaggerClient::PutRegistry](docs/PutRegistry.md)
|
354
|
+
- [SwaggerClient::Quota](docs/Quota.md)
|
355
|
+
- [SwaggerClient::QuotaRefObject](docs/QuotaRefObject.md)
|
356
|
+
- [SwaggerClient::QuotaSwitcher](docs/QuotaSwitcher.md)
|
357
|
+
- [SwaggerClient::QuotaUpdateReq](docs/QuotaUpdateReq.md)
|
358
|
+
- [SwaggerClient::Registry](docs/Registry.md)
|
359
|
+
- [SwaggerClient::RegistryCredential](docs/RegistryCredential.md)
|
360
|
+
- [SwaggerClient::RegistryInfo](docs/RegistryInfo.md)
|
361
|
+
- [SwaggerClient::ReplicationExecution](docs/ReplicationExecution.md)
|
362
|
+
- [SwaggerClient::ReplicationFilter](docs/ReplicationFilter.md)
|
363
|
+
- [SwaggerClient::ReplicationPolicy](docs/ReplicationPolicy.md)
|
364
|
+
- [SwaggerClient::ReplicationTask](docs/ReplicationTask.md)
|
365
|
+
- [SwaggerClient::ReplicationTrigger](docs/ReplicationTrigger.md)
|
366
|
+
- [SwaggerClient::RepoSignature](docs/RepoSignature.md)
|
367
|
+
- [SwaggerClient::Report](docs/Report.md)
|
368
|
+
- [SwaggerClient::Repository](docs/Repository.md)
|
369
|
+
- [SwaggerClient::RepositoryDescription](docs/RepositoryDescription.md)
|
370
|
+
- [SwaggerClient::Resource](docs/Resource.md)
|
371
|
+
- [SwaggerClient::ResourceList](docs/ResourceList.md)
|
372
|
+
- [SwaggerClient::RetagReq](docs/RetagReq.md)
|
373
|
+
- [SwaggerClient::RetentionExecution](docs/RetentionExecution.md)
|
374
|
+
- [SwaggerClient::RetentionExecutionTask](docs/RetentionExecutionTask.md)
|
375
|
+
- [SwaggerClient::RetentionMetadata](docs/RetentionMetadata.md)
|
376
|
+
- [SwaggerClient::RetentionPolicy](docs/RetentionPolicy.md)
|
377
|
+
- [SwaggerClient::RetentionPolicyScope](docs/RetentionPolicyScope.md)
|
378
|
+
- [SwaggerClient::RetentionRule](docs/RetentionRule.md)
|
379
|
+
- [SwaggerClient::RetentionRuleMetadata](docs/RetentionRuleMetadata.md)
|
380
|
+
- [SwaggerClient::RetentionRuleParamMetadata](docs/RetentionRuleParamMetadata.md)
|
381
|
+
- [SwaggerClient::RetentionRuleTrigger](docs/RetentionRuleTrigger.md)
|
382
|
+
- [SwaggerClient::RetentionSelector](docs/RetentionSelector.md)
|
383
|
+
- [SwaggerClient::RetentionSelectorMetadata](docs/RetentionSelectorMetadata.md)
|
384
|
+
- [SwaggerClient::RobotAccount](docs/RobotAccount.md)
|
385
|
+
- [SwaggerClient::RobotAccountAccess](docs/RobotAccountAccess.md)
|
386
|
+
- [SwaggerClient::RobotAccountCreate](docs/RobotAccountCreate.md)
|
387
|
+
- [SwaggerClient::RobotAccountPostRep](docs/RobotAccountPostRep.md)
|
388
|
+
- [SwaggerClient::RobotAccountUpdate](docs/RobotAccountUpdate.md)
|
389
|
+
- [SwaggerClient::Role](docs/Role.md)
|
390
|
+
- [SwaggerClient::RoleParam](docs/RoleParam.md)
|
391
|
+
- [SwaggerClient::RoleRequest](docs/RoleRequest.md)
|
392
|
+
- [SwaggerClient::ScanOverview](docs/ScanOverview.md)
|
393
|
+
- [SwaggerClient::Scanner](docs/Scanner.md)
|
394
|
+
- [SwaggerClient::ScannerAdapterMetadata](docs/ScannerAdapterMetadata.md)
|
395
|
+
- [SwaggerClient::ScannerCapability](docs/ScannerCapability.md)
|
396
|
+
- [SwaggerClient::ScannerRegistration](docs/ScannerRegistration.md)
|
397
|
+
- [SwaggerClient::ScannerRegistrationReq](docs/ScannerRegistrationReq.md)
|
398
|
+
- [SwaggerClient::ScannerRegistrationSettings](docs/ScannerRegistrationSettings.md)
|
399
|
+
- [SwaggerClient::Search](docs/Search.md)
|
400
|
+
- [SwaggerClient::SearchRepository](docs/SearchRepository.md)
|
401
|
+
- [SwaggerClient::SearchResult](docs/SearchResult.md)
|
402
|
+
- [SwaggerClient::SecurityReport](docs/SecurityReport.md)
|
403
|
+
- [SwaggerClient::StatisticMap](docs/StatisticMap.md)
|
404
|
+
- [SwaggerClient::Stats](docs/Stats.md)
|
405
|
+
- [SwaggerClient::Storage](docs/Storage.md)
|
406
|
+
- [SwaggerClient::StringConfigItem](docs/StringConfigItem.md)
|
407
|
+
- [SwaggerClient::SystemInfo](docs/SystemInfo.md)
|
408
|
+
- [SwaggerClient::Tags](docs/Tags.md)
|
409
|
+
- [SwaggerClient::TriggerSettings](docs/TriggerSettings.md)
|
410
|
+
- [SwaggerClient::User](docs/User.md)
|
411
|
+
- [SwaggerClient::UserEntity](docs/UserEntity.md)
|
412
|
+
- [SwaggerClient::UserGroup](docs/UserGroup.md)
|
413
|
+
- [SwaggerClient::UserProfile](docs/UserProfile.md)
|
414
|
+
- [SwaggerClient::UserSearch](docs/UserSearch.md)
|
415
|
+
- [SwaggerClient::VulnNamespaceTimestamp](docs/VulnNamespaceTimestamp.md)
|
416
|
+
- [SwaggerClient::VulnerabilityItem](docs/VulnerabilityItem.md)
|
417
|
+
- [SwaggerClient::VulnerabilitySummary](docs/VulnerabilitySummary.md)
|
418
|
+
- [SwaggerClient::WebhookJob](docs/WebhookJob.md)
|
419
|
+
- [SwaggerClient::WebhookLastTrigger](docs/WebhookLastTrigger.md)
|
420
|
+
- [SwaggerClient::WebhookPolicy](docs/WebhookPolicy.md)
|
421
|
+
- [SwaggerClient::WebhookTargetObject](docs/WebhookTargetObject.md)
|
422
|
+
- [SwaggerClient::BadRequestFormatedError](docs/BadRequestFormatedError.md)
|
423
|
+
- [SwaggerClient::ChartVersion](docs/ChartVersion.md)
|
424
|
+
- [SwaggerClient::ConflictFormatedError](docs/ConflictFormatedError.md)
|
425
|
+
- [SwaggerClient::ForbiddenChartAPIError](docs/ForbiddenChartAPIError.md)
|
426
|
+
- [SwaggerClient::InsufficientStorageChartAPIError](docs/InsufficientStorageChartAPIError.md)
|
427
|
+
- [SwaggerClient::InternalChartAPIError](docs/InternalChartAPIError.md)
|
428
|
+
- [SwaggerClient::NotFoundChartAPIError](docs/NotFoundChartAPIError.md)
|
429
|
+
- [SwaggerClient::UnauthorizedChartAPIError](docs/UnauthorizedChartAPIError.md)
|
430
|
+
|
431
|
+
|
432
|
+
## Documentation for Authorization
|
433
|
+
|
434
|
+
|
435
|
+
### basicAuth
|
436
|
+
|
437
|
+
- **Type**: HTTP basic authentication
|
438
|
+
|