harbor2_client 0.1.0 → 2.3.3.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 +241 -13
- data/build_scripts/generate.sh +8 -0
- data/build_scripts/swagger-codegen-cli-ruby-config.json +12 -0
- data/docs/Access.md +10 -0
- data/docs/ArtifactApi.md +76 -2
- data/docs/AuditlogApi.md +3 -1
- data/docs/AuthproxySetting.md +12 -0
- data/docs/Body.md +8 -0
- data/docs/Body1.md +8 -0
- data/docs/BoolConfigItem.md +9 -0
- data/docs/ChartMetadata.md +18 -0
- data/docs/ChartVersion.md +23 -0
- data/docs/ComponentHealthStatus.md +10 -0
- data/docs/Configurations.md +62 -0
- data/docs/ConfigurationsResponse.md +60 -0
- data/docs/ConfigurationsResponseScanAllPolicy.md +9 -0
- data/docs/ConfigurationsResponseScanAllPolicyParameter.md +8 -0
- data/docs/ConfigureApi.md +175 -0
- data/docs/Endpoint.md +9 -0
- data/docs/EventType.md +7 -0
- data/docs/FilterStyle.md +10 -0
- data/docs/GCHistory.md +16 -0
- data/docs/GcApi.md +356 -0
- data/docs/GeneralInfo.md +20 -0
- data/docs/HealthApi.md +63 -0
- data/docs/ImmutableApi.md +261 -0
- data/docs/ImmutableRule.md +15 -0
- data/docs/ImmutableSelector.md +11 -0
- data/docs/IntegerConfigItem.md +9 -0
- data/docs/InternalConfigurationsResponse.md +7 -0
- data/docs/IsDefault.md +8 -0
- data/docs/LabelApi.md +309 -0
- data/docs/LdapApi.md +238 -0
- data/docs/LdapConf.md +16 -0
- data/docs/LdapFailedImportUser.md +9 -0
- data/docs/LdapImportUsers.md +8 -0
- data/docs/LdapPingResult.md +9 -0
- data/docs/LdapUser.md +10 -0
- data/docs/MemberApi.md +322 -0
- data/docs/NativeReportSummary.md +1 -0
- data/docs/NotifyType.md +7 -0
- data/docs/OIDCCliSecretReq.md +8 -0
- data/docs/OIDCUserInfo.md +13 -0
- data/docs/OidcApi.md +65 -0
- data/docs/OverallHealthStatus.md +9 -0
- data/docs/PasswordReq.md +9 -0
- data/docs/Permission.md +9 -0
- data/docs/PingApi.md +63 -0
- data/docs/PreheatApi.md +12 -4
- data/docs/ProjectApi.md +237 -27
- data/docs/ProjectMember.md +10 -0
- data/docs/ProjectMemberEntity.md +14 -0
- data/docs/ProjectMetadataApi.md +318 -0
- data/docs/ProjectScanner.md +8 -0
- data/docs/Quota.md +13 -0
- data/docs/QuotaApi.md +191 -0
- data/docs/QuotaRefObject.md +7 -0
- data/docs/QuotaUpdateReq.md +8 -0
- data/docs/Registry.md +2 -2
- data/docs/RegistryApi.md +530 -0
- data/docs/RegistryEndpoint.md +9 -0
- data/docs/RegistryInfo.md +11 -0
- data/docs/RegistryPing.md +14 -0
- data/docs/RegistryProviderCredentialPattern.md +11 -0
- data/docs/RegistryProviderEndpointPattern.md +9 -0
- data/docs/RegistryProviderInfo.md +9 -0
- data/docs/RegistryUpdate.md +14 -0
- data/docs/ReplicationApi.md +673 -0
- data/docs/ReplicationExecution.md +19 -0
- data/docs/ReplicationFilter.md +9 -0
- data/docs/ReplicationPolicy.md +22 -0
- data/docs/ReplicationTask.md +17 -0
- data/docs/ReplicationTrigger.md +9 -0
- data/docs/ReplicationTriggerSettings.md +8 -0
- data/docs/RepositoryApi.md +66 -1
- data/docs/RetentionApi.md +609 -0
- data/docs/RetentionExecution.md +14 -0
- data/docs/RetentionExecutionTask.md +18 -0
- data/docs/RetentionMetadata.md +10 -0
- data/docs/RetentionPolicy.md +12 -0
- data/docs/RetentionPolicyScope.md +9 -0
- data/docs/RetentionRule.md +15 -0
- data/docs/RetentionRuleMetadata.md +11 -0
- data/docs/RetentionRuleParamMetadata.md +10 -0
- data/docs/RetentionRuleTrigger.md +10 -0
- data/docs/RetentionSelector.md +11 -0
- data/docs/RetentionSelectorMetadata.md +10 -0
- data/docs/Robot.md +19 -0
- data/docs/RobotApi.md +365 -0
- data/docs/RobotCreate.md +14 -0
- data/docs/RobotCreateV1.md +11 -0
- data/docs/RobotCreated.md +12 -0
- data/docs/RobotPermission.md +10 -0
- data/docs/RobotSec.md +8 -0
- data/docs/Robotv1Api.md +329 -0
- data/docs/RoleRequest.md +8 -0
- data/docs/ScanAllApi.md +287 -0
- data/docs/Scanner.md +10 -0
- data/docs/ScannerAdapterMetadata.md +10 -0
- data/docs/ScannerApi.md +479 -0
- data/docs/ScannerCapability.md +9 -0
- data/docs/ScannerRegistration.md +23 -0
- data/docs/ScannerRegistrationReq.md +15 -0
- data/docs/ScannerRegistrationSettings.md +11 -0
- data/docs/Schedule.md +13 -0
- data/docs/ScheduleObj.md +9 -0
- data/docs/Search.md +10 -0
- data/docs/SearchApi.md +66 -0
- data/docs/SearchRepository.md +13 -0
- data/docs/SearchResult.md +10 -0
- data/docs/StartReplicationExecution.md +8 -0
- data/docs/Statistic.md +14 -0
- data/docs/StatisticApi.md +63 -0
- data/docs/Stats.md +12 -0
- data/docs/Storage.md +9 -0
- data/docs/StringConfigItem.md +9 -0
- data/docs/SupportedWebhookEventTypes.md +9 -0
- data/docs/SystemCVEAllowlistApi.md +119 -0
- data/docs/SystemInfo.md +8 -0
- data/docs/SysteminfoApi.md +173 -0
- data/docs/UserApi.md +647 -0
- data/docs/UserCreationReq.md +12 -0
- data/docs/UserEntity.md +9 -0
- data/docs/UserGroup.md +11 -0
- data/docs/UserProfile.md +10 -0
- data/docs/UserResp.md +17 -0
- data/docs/UserSearch.md +9 -0
- data/docs/UserSearchRespItem.md +9 -0
- data/docs/UserSysAdminFlag.md +8 -0
- data/docs/UsergroupApi.md +293 -0
- data/docs/WebhookApi.md +448 -0
- data/docs/WebhookJob.md +15 -0
- data/docs/WebhookLastTrigger.md +12 -0
- data/docs/WebhookPolicy.md +17 -0
- data/docs/WebhookTargetObject.md +11 -0
- data/docs/WebhookjobApi.md +81 -0
- data/git_push.sh +3 -3
- data/harbor2_client.gemspec +7 -7
- data/lib/harbor2_client/api/artifact_api.rb +91 -3
- data/lib/harbor2_client/api/auditlog_api.rb +4 -1
- data/lib/harbor2_client/api/configure_api.rb +193 -0
- data/lib/harbor2_client/api/gc_api.rb +391 -0
- data/lib/harbor2_client/api/health_api.rb +78 -0
- data/lib/harbor2_client/api/icon_api.rb +1 -1
- data/lib/harbor2_client/api/immutable_api.rb +312 -0
- data/lib/harbor2_client/api/label_api.rb +350 -0
- data/lib/harbor2_client/api/ldap_api.rb +259 -0
- data/lib/harbor2_client/api/member_api.rb +373 -0
- data/lib/harbor2_client/api/oidc_api.rb +83 -0
- data/lib/harbor2_client/api/ping_api.rb +78 -0
- data/lib/harbor2_client/api/preheat_api.rb +13 -1
- data/lib/harbor2_client/api/project_api.rb +289 -46
- data/lib/harbor2_client/api/project_metadata_api.rb +362 -0
- data/lib/harbor2_client/api/quota_api.rb +224 -0
- data/lib/harbor2_client/api/registry_api.rb +575 -0
- data/lib/harbor2_client/api/replication_api.rb +749 -0
- data/lib/harbor2_client/api/repository_api.rb +75 -1
- data/lib/harbor2_client/api/retention_api.rb +676 -0
- data/lib/harbor2_client/api/robot_api.rb +409 -0
- data/lib/harbor2_client/api/robotv1_api.rb +387 -0
- data/lib/harbor2_client/api/scan_all_api.rb +308 -0
- data/lib/harbor2_client/api/scan_api.rb +1 -1
- data/lib/harbor2_client/api/scanner_api.rb +529 -0
- data/lib/harbor2_client/api/search_api.rb +85 -0
- data/lib/harbor2_client/api/statistic_api.rb +78 -0
- data/lib/harbor2_client/api/system_cve_allowlist_api.rb +134 -0
- data/lib/harbor2_client/api/systeminfo_api.rb +188 -0
- data/lib/harbor2_client/api/user_api.rb +715 -0
- data/lib/harbor2_client/api/usergroup_api.rb +317 -0
- data/lib/harbor2_client/api/webhook_api.rb +514 -0
- data/lib/harbor2_client/api/webhookjob_api.rb +113 -0
- data/lib/harbor2_client/api_client.rb +2 -2
- data/lib/harbor2_client/api_error.rb +1 -1
- data/lib/harbor2_client/configuration.rb +1 -1
- data/lib/harbor2_client/models/access.rb +205 -0
- data/lib/harbor2_client/models/addition_link.rb +1 -1
- data/lib/harbor2_client/models/addition_links.rb +1 -1
- data/lib/harbor2_client/models/annotations.rb +1 -1
- data/lib/harbor2_client/models/artifact.rb +1 -1
- data/lib/harbor2_client/models/audit_log.rb +1 -1
- data/lib/harbor2_client/models/authproxy_setting.rb +225 -0
- data/lib/harbor2_client/models/body.rb +184 -0
- data/lib/harbor2_client/models/body_1.rb +184 -0
- data/lib/harbor2_client/models/bool_config_item.rb +195 -0
- data/lib/harbor2_client/models/chart_metadata.rb +320 -0
- data/lib/harbor2_client/models/chart_version.rb +374 -0
- data/lib/harbor2_client/models/component_health_status.rb +206 -0
- data/lib/harbor2_client/models/configurations.rb +725 -0
- data/lib/harbor2_client/models/configurations_response.rb +704 -0
- data/lib/harbor2_client/models/configurations_response_scan_all_policy.rb +194 -0
- data/lib/harbor2_client/models/configurations_response_scan_all_policy_parameter.rb +186 -0
- data/lib/harbor2_client/models/cve_allowlist.rb +1 -1
- data/lib/harbor2_client/models/cve_allowlist_item.rb +1 -1
- data/lib/harbor2_client/models/endpoint.rb +195 -0
- data/lib/harbor2_client/models/error.rb +1 -1
- data/lib/harbor2_client/models/errors.rb +1 -1
- data/lib/harbor2_client/models/event_type.rb +176 -0
- data/lib/harbor2_client/models/execution.rb +1 -1
- data/lib/harbor2_client/models/extra_attrs.rb +1 -1
- data/lib/harbor2_client/models/filter_style.rb +208 -0
- data/lib/harbor2_client/models/gc_history.rb +264 -0
- data/lib/harbor2_client/models/general_info.rb +305 -0
- data/lib/harbor2_client/models/icon.rb +1 -1
- data/lib/harbor2_client/models/immutable_rule.rb +253 -0
- data/lib/harbor2_client/models/immutable_selector.rb +211 -0
- data/lib/harbor2_client/models/instance.rb +1 -1
- data/lib/harbor2_client/models/integer_config_item.rb +195 -0
- data/lib/harbor2_client/models/internal_configurations_response.rb +175 -0
- data/lib/harbor2_client/models/is_default.rb +185 -0
- data/lib/harbor2_client/models/label.rb +1 -1
- data/lib/harbor2_client/models/ldap_conf.rb +266 -0
- data/lib/harbor2_client/models/ldap_failed_import_user.rb +195 -0
- data/lib/harbor2_client/models/ldap_import_users.rb +187 -0
- data/lib/harbor2_client/models/ldap_ping_result.rb +196 -0
- data/lib/harbor2_client/models/ldap_user.rb +205 -0
- data/lib/harbor2_client/models/metadata.rb +1 -1
- data/lib/harbor2_client/models/metrics.rb +1 -1
- data/lib/harbor2_client/models/native_report_summary.rb +14 -5
- data/lib/harbor2_client/models/notify_type.rb +176 -0
- data/lib/harbor2_client/models/oidc_cli_secret_req.rb +185 -0
- data/lib/harbor2_client/models/oidc_user_info.rb +235 -0
- data/lib/harbor2_client/models/overall_health_status.rb +197 -0
- data/lib/harbor2_client/models/password_req.rb +195 -0
- data/lib/harbor2_client/models/permission.rb +195 -0
- data/lib/harbor2_client/models/platform.rb +7 -7
- data/lib/harbor2_client/models/preheat_policy.rb +1 -1
- data/lib/harbor2_client/models/project.rb +1 -1
- data/lib/harbor2_client/models/project_deletable.rb +1 -1
- data/lib/harbor2_client/models/project_member.rb +203 -0
- data/lib/harbor2_client/models/project_member_entity.rb +245 -0
- data/lib/harbor2_client/models/project_metadata.rb +1 -1
- data/lib/harbor2_client/models/project_req.rb +16 -1
- data/lib/harbor2_client/models/project_scanner.rb +190 -0
- data/lib/harbor2_client/models/project_summary.rb +1 -1
- data/lib/harbor2_client/models/project_summary_quota.rb +1 -1
- data/lib/harbor2_client/models/provider_under_project.rb +1 -1
- data/lib/harbor2_client/models/quota.rb +236 -0
- data/lib/harbor2_client/models/quota_ref_object.rb +175 -0
- data/lib/harbor2_client/models/quota_update_req.rb +185 -0
- data/lib/harbor2_client/models/reference.rb +1 -1
- data/lib/harbor2_client/models/registry.rb +3 -3
- data/lib/harbor2_client/models/registry_credential.rb +1 -1
- data/lib/harbor2_client/models/registry_endpoint.rb +196 -0
- data/lib/harbor2_client/models/registry_info.rb +220 -0
- data/lib/harbor2_client/models/registry_ping.rb +245 -0
- data/lib/harbor2_client/models/registry_provider_credential_pattern.rb +216 -0
- data/lib/harbor2_client/models/registry_provider_endpoint_pattern.rb +198 -0
- data/lib/harbor2_client/models/registry_provider_info.rb +196 -0
- data/lib/harbor2_client/models/registry_update.rb +245 -0
- data/lib/harbor2_client/models/replication_execution.rb +296 -0
- data/lib/harbor2_client/models/replication_filter.rb +195 -0
- data/lib/harbor2_client/models/replication_policy.rb +326 -0
- data/lib/harbor2_client/models/replication_task.rb +276 -0
- data/lib/harbor2_client/models/replication_trigger.rb +194 -0
- data/lib/harbor2_client/models/replication_trigger_settings.rb +185 -0
- data/lib/harbor2_client/models/repository.rb +1 -1
- data/lib/harbor2_client/models/resource_list.rb +1 -1
- data/lib/harbor2_client/models/retention_execution.rb +238 -0
- data/lib/harbor2_client/models/retention_execution_task.rb +274 -0
- data/lib/harbor2_client/models/retention_metadata.rb +212 -0
- data/lib/harbor2_client/models/retention_policy.rb +223 -0
- data/lib/harbor2_client/models/retention_policy_scope.rb +193 -0
- data/lib/harbor2_client/models/retention_rule.rb +253 -0
- data/lib/harbor2_client/models/retention_rule_metadata.rb +218 -0
- data/lib/harbor2_client/models/retention_rule_param_metadata.rb +203 -0
- data/lib/harbor2_client/models/retention_rule_trigger.rb +202 -0
- data/lib/harbor2_client/models/retention_selector.rb +211 -0
- data/lib/harbor2_client/models/retention_selector_metadata.rb +205 -0
- data/lib/harbor2_client/models/robot.rb +296 -0
- data/lib/harbor2_client/models/robot_create.rb +247 -0
- data/lib/harbor2_client/models/robot_create_v1.rb +217 -0
- data/lib/harbor2_client/models/robot_created.rb +226 -0
- data/lib/harbor2_client/models/robot_permission.rb +206 -0
- data/lib/harbor2_client/models/robot_sec.rb +186 -0
- data/lib/harbor2_client/models/role_request.rb +185 -0
- data/lib/harbor2_client/models/scan_overview.rb +1 -1
- data/lib/harbor2_client/models/scanner.rb +205 -0
- data/lib/harbor2_client/models/scanner_adapter_metadata.rb +207 -0
- data/lib/harbor2_client/models/scanner_capability.rb +197 -0
- data/lib/harbor2_client/models/scanner_registration.rb +348 -0
- data/lib/harbor2_client/models/scanner_registration_req.rb +271 -0
- data/lib/harbor2_client/models/scanner_registration_settings.rb +227 -0
- data/lib/harbor2_client/models/schedule.rb +236 -0
- data/lib/harbor2_client/models/schedule_obj.rb +229 -0
- data/lib/harbor2_client/models/search.rb +211 -0
- data/lib/harbor2_client/models/search_repository.rb +235 -0
- data/lib/harbor2_client/models/search_result.rb +205 -0
- data/lib/harbor2_client/models/start_replication_execution.rb +185 -0
- data/lib/harbor2_client/models/statistic.rb +245 -0
- data/lib/harbor2_client/models/stats.rb +262 -0
- data/lib/harbor2_client/models/storage.rb +195 -0
- data/lib/harbor2_client/models/string_config_item.rb +195 -0
- data/lib/harbor2_client/models/supported_webhook_event_types.rb +198 -0
- data/lib/harbor2_client/models/system_info.rb +187 -0
- data/lib/harbor2_client/models/tag.rb +1 -1
- data/lib/harbor2_client/models/task.rb +1 -1
- data/lib/harbor2_client/models/user_creation_req.rb +250 -0
- data/lib/harbor2_client/models/user_entity.rb +195 -0
- data/lib/harbor2_client/models/user_group.rb +215 -0
- data/lib/harbor2_client/models/user_profile.rb +202 -0
- data/lib/harbor2_client/models/user_resp.rb +268 -0
- data/lib/harbor2_client/models/user_search.rb +194 -0
- data/lib/harbor2_client/models/user_search_resp_item.rb +194 -0
- data/lib/harbor2_client/models/user_sys_admin_flag.rb +185 -0
- data/lib/harbor2_client/models/vulnerability_summary.rb +1 -1
- data/lib/harbor2_client/models/webhook_job.rb +256 -0
- data/lib/harbor2_client/models/webhook_last_trigger.rb +226 -0
- data/lib/harbor2_client/models/webhook_policy.rb +278 -0
- data/lib/harbor2_client/models/webhook_target_object.rb +216 -0
- data/lib/harbor2_client/version.rb +2 -2
- data/lib/harbor2_client.rb +127 -1
- data/spec/api/artifact_api_spec.rb +21 -1
- data/spec/api/auditlog_api_spec.rb +2 -1
- data/spec/api/configure_api_spec.rb +72 -0
- data/spec/api/gc_api_spec.rb +115 -0
- data/spec/api/health_api_spec.rb +47 -0
- data/spec/api/icon_api_spec.rb +1 -1
- data/spec/api/immutable_api_spec.rb +97 -0
- data/spec/api/label_api_spec.rb +107 -0
- data/spec/api/ldap_api_spec.rb +88 -0
- data/spec/api/member_api_spec.rb +112 -0
- data/spec/api/oidc_api_spec.rb +48 -0
- data/spec/api/ping_api_spec.rb +47 -0
- data/spec/api/preheat_api_spec.rb +5 -1
- data/spec/api/project_api_spec.rb +63 -6
- data/spec/api/project_metadata_api_spec.rb +110 -0
- data/spec/api/quota_api_spec.rb +79 -0
- data/spec/api/registry_api_spec.rb +155 -0
- data/spec/api/replication_api_spec.rb +194 -0
- data/spec/api/repository_api_spec.rb +18 -1
- data/spec/api/retention_api_spec.rb +175 -0
- data/spec/api/robot_api_spec.rb +118 -0
- data/spec/api/robotv1_api_spec.rb +114 -0
- data/spec/api/scan_all_api_spec.rb +97 -0
- data/spec/api/scan_api_spec.rb +1 -1
- data/spec/api/scanner_api_spec.rb +144 -0
- data/spec/api/search_api_spec.rb +48 -0
- data/spec/api/statistic_api_spec.rb +47 -0
- data/spec/api/system_cve_allowlist_api_spec.rb +60 -0
- data/spec/api/systeminfo_api_spec.rb +71 -0
- data/spec/api/user_api_spec.rb +181 -0
- data/spec/api/usergroup_api_spec.rb +100 -0
- data/spec/api/webhook_api_spec.rb +142 -0
- data/spec/api/webhookjob_api_spec.rb +55 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_spec.rb +53 -0
- data/spec/models/addition_link_spec.rb +1 -1
- data/spec/models/addition_links_spec.rb +1 -1
- data/spec/models/annotations_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/audit_log_spec.rb +1 -1
- data/spec/models/authproxy_setting_spec.rb +65 -0
- data/spec/models/body_1_spec.rb +41 -0
- data/spec/models/body_spec.rb +41 -0
- data/spec/models/bool_config_item_spec.rb +47 -0
- data/spec/models/chart_metadata_spec.rb +101 -0
- data/spec/models/chart_version_spec.rb +131 -0
- data/spec/models/component_health_status_spec.rb +53 -0
- data/spec/models/configurations_response_scan_all_policy_parameter_spec.rb +41 -0
- data/spec/models/configurations_response_scan_all_policy_spec.rb +47 -0
- data/spec/models/configurations_response_spec.rb +353 -0
- data/spec/models/configurations_spec.rb +365 -0
- data/spec/models/cve_allowlist_item_spec.rb +1 -1
- data/spec/models/cve_allowlist_spec.rb +1 -1
- data/spec/models/endpoint_spec.rb +47 -0
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/errors_spec.rb +1 -1
- data/spec/models/event_type_spec.rb +35 -0
- data/spec/models/execution_spec.rb +1 -1
- data/spec/models/extra_attrs_spec.rb +1 -1
- data/spec/models/filter_style_spec.rb +53 -0
- data/spec/models/gc_history_spec.rb +89 -0
- data/spec/models/general_info_spec.rb +113 -0
- data/spec/models/icon_spec.rb +1 -1
- data/spec/models/immutable_rule_spec.rb +83 -0
- data/spec/models/immutable_selector_spec.rb +59 -0
- data/spec/models/instance_spec.rb +1 -1
- data/spec/models/integer_config_item_spec.rb +47 -0
- data/spec/models/internal_configurations_response_spec.rb +35 -0
- data/spec/models/is_default_spec.rb +41 -0
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/ldap_conf_spec.rb +89 -0
- data/spec/models/ldap_failed_import_user_spec.rb +47 -0
- data/spec/models/ldap_import_users_spec.rb +41 -0
- data/spec/models/ldap_ping_result_spec.rb +47 -0
- data/spec/models/ldap_user_spec.rb +53 -0
- data/spec/models/metadata_spec.rb +1 -1
- data/spec/models/metrics_spec.rb +1 -1
- data/spec/models/native_report_summary_spec.rb +7 -1
- data/spec/models/notify_type_spec.rb +35 -0
- data/spec/models/oidc_cli_secret_req_spec.rb +41 -0
- data/spec/models/oidc_user_info_spec.rb +71 -0
- data/spec/models/overall_health_status_spec.rb +47 -0
- data/spec/models/password_req_spec.rb +47 -0
- data/spec/models/permission_spec.rb +47 -0
- data/spec/models/platform_spec.rb +1 -1
- data/spec/models/preheat_policy_spec.rb +1 -1
- data/spec/models/project_deletable_spec.rb +1 -1
- data/spec/models/project_member_entity_spec.rb +77 -0
- data/spec/models/project_member_spec.rb +53 -0
- data/spec/models/project_metadata_spec.rb +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 +1 -1
- data/spec/models/project_summary_quota_spec.rb +1 -1
- data/spec/models/project_summary_spec.rb +1 -1
- data/spec/models/provider_under_project_spec.rb +1 -1
- data/spec/models/quota_ref_object_spec.rb +35 -0
- data/spec/models/quota_spec.rb +71 -0
- data/spec/models/quota_update_req_spec.rb +41 -0
- data/spec/models/reference_spec.rb +1 -1
- data/spec/models/registry_credential_spec.rb +1 -1
- data/spec/models/registry_endpoint_spec.rb +47 -0
- data/spec/models/registry_info_spec.rb +59 -0
- data/spec/models/registry_ping_spec.rb +77 -0
- data/spec/models/registry_provider_credential_pattern_spec.rb +59 -0
- data/spec/models/registry_provider_endpoint_pattern_spec.rb +47 -0
- data/spec/models/registry_provider_info_spec.rb +47 -0
- data/spec/models/registry_spec.rb +1 -1
- data/spec/models/registry_update_spec.rb +77 -0
- data/spec/models/replication_execution_spec.rb +107 -0
- data/spec/models/replication_filter_spec.rb +47 -0
- data/spec/models/replication_policy_spec.rb +125 -0
- data/spec/models/replication_task_spec.rb +95 -0
- data/spec/models/replication_trigger_settings_spec.rb +41 -0
- data/spec/models/replication_trigger_spec.rb +47 -0
- data/spec/models/repository_spec.rb +1 -1
- data/spec/models/resource_list_spec.rb +1 -1
- data/spec/models/retention_execution_spec.rb +77 -0
- data/spec/models/retention_execution_task_spec.rb +101 -0
- data/spec/models/retention_metadata_spec.rb +53 -0
- data/spec/models/retention_policy_scope_spec.rb +47 -0
- data/spec/models/retention_policy_spec.rb +65 -0
- data/spec/models/retention_rule_metadata_spec.rb +59 -0
- data/spec/models/retention_rule_param_metadata_spec.rb +53 -0
- data/spec/models/retention_rule_spec.rb +83 -0
- data/spec/models/retention_rule_trigger_spec.rb +53 -0
- data/spec/models/retention_selector_metadata_spec.rb +53 -0
- data/spec/models/retention_selector_spec.rb +59 -0
- data/spec/models/robot_create_spec.rb +77 -0
- data/spec/models/robot_create_v1_spec.rb +59 -0
- data/spec/models/robot_created_spec.rb +65 -0
- data/spec/models/robot_permission_spec.rb +53 -0
- data/spec/models/robot_sec_spec.rb +41 -0
- data/spec/models/robot_spec.rb +107 -0
- data/spec/models/role_request_spec.rb +41 -0
- data/spec/models/scan_overview_spec.rb +1 -1
- 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 +131 -0
- data/spec/models/scanner_spec.rb +53 -0
- data/spec/models/schedule_obj_spec.rb +51 -0
- data/spec/models/schedule_spec.rb +71 -0
- data/spec/models/search_repository_spec.rb +71 -0
- data/spec/models/search_result_spec.rb +53 -0
- data/spec/models/search_spec.rb +53 -0
- data/spec/models/start_replication_execution_spec.rb +41 -0
- data/spec/models/statistic_spec.rb +77 -0
- data/spec/models/stats_spec.rb +69 -0
- data/spec/models/storage_spec.rb +47 -0
- data/spec/models/string_config_item_spec.rb +47 -0
- data/spec/models/supported_webhook_event_types_spec.rb +47 -0
- data/spec/models/system_info_spec.rb +41 -0
- data/spec/models/tag_spec.rb +1 -1
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/user_creation_req_spec.rb +65 -0
- data/spec/models/user_entity_spec.rb +47 -0
- data/spec/models/user_group_spec.rb +59 -0
- data/spec/models/user_profile_spec.rb +53 -0
- data/spec/models/user_resp_spec.rb +95 -0
- data/spec/models/user_search_resp_item_spec.rb +47 -0
- data/spec/models/user_search_spec.rb +47 -0
- data/spec/models/user_sys_admin_flag_spec.rb +41 -0
- data/spec/models/vulnerability_summary_spec.rb +1 -1
- data/spec/models/webhook_job_spec.rb +83 -0
- data/spec/models/webhook_last_trigger_spec.rb +65 -0
- data/spec/models/webhook_policy_spec.rb +95 -0
- data/spec/models/webhook_target_object_spec.rb +59 -0
- data/spec/spec_helper.rb +1 -1
- metadata +512 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f05c47719619813d90b4e532154c095651e78fb11a2e415e90646e04698411a0
|
4
|
+
data.tar.gz: c6e2d3dbf8a0a11f6082792c57e408d957f10459549b7c830b722c8403308d36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ea615f8d02a0e46fd73780507dbd5de4baf95b95ad746a03938aef2bf592f9637d9183bbbd956cfd49ea8a430b9dcd3813b6d50c058cbcd332a43dc6eaf237
|
7
|
+
data.tar.gz: 8587655d858ceded05321038ae398ef016bd4fded91735819d1dd1d763975dd560aed47a32dfcd86bdcfb69744a64a0f7f8f3a06b4362f9833d30e31c3cc02e1
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# harbor2_client
|
2
2
|
|
3
|
-
Harbor2Client - the Ruby gem for the
|
3
|
+
Harbor2Client - the Ruby gem for the Harbor API
|
4
4
|
|
5
|
-
These APIs provide services for manipulating Harbor
|
5
|
+
These APIs provide services for manipulating Harbor project.
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version:
|
10
|
+
- Package version: 2.3.3.3
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,21 +23,21 @@ gem build harbor2_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./harbor2_client-
|
26
|
+
gem install ./harbor2_client-2.3.3.3.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./harbor2_client-
|
28
|
+
(for development, run `gem install --dev ./harbor2_client-2.3.3.3.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'harbor2_client', '~>
|
34
|
+
gem 'harbor2_client', '~> 2.3.3.3'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
38
|
-
If the Ruby gem is hosted at a git repository: https://github.com/
|
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
39
|
|
40
|
-
gem 'harbor2_client', :git => 'https://github.com/
|
40
|
+
gem 'harbor2_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
41
|
|
42
42
|
### Include the Ruby code directly
|
43
43
|
|
@@ -97,11 +97,42 @@ Class | Method | HTTP request | Description
|
|
97
97
|
*Harbor2Client::ArtifactApi* | [**delete_tag**](docs/ArtifactApi.md#delete_tag) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name} | Delete tag
|
98
98
|
*Harbor2Client::ArtifactApi* | [**get_addition**](docs/ArtifactApi.md#get_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/{addition} | Get the addition of the specific artifact
|
99
99
|
*Harbor2Client::ArtifactApi* | [**get_artifact**](docs/ArtifactApi.md#get_artifact) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference} | Get the specific artifact
|
100
|
+
*Harbor2Client::ArtifactApi* | [**get_vulnerabilities_addition**](docs/ArtifactApi.md#get_vulnerabilities_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/vulnerabilities | Get the vulnerabilities addition of the specific artifact
|
100
101
|
*Harbor2Client::ArtifactApi* | [**list_artifacts**](docs/ArtifactApi.md#list_artifacts) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts | List artifacts
|
101
102
|
*Harbor2Client::ArtifactApi* | [**list_tags**](docs/ArtifactApi.md#list_tags) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags | List tags
|
102
103
|
*Harbor2Client::ArtifactApi* | [**remove_label**](docs/ArtifactApi.md#remove_label) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels/{label_id} | Remove label from artifact
|
103
104
|
*Harbor2Client::AuditlogApi* | [**list_audit_logs**](docs/AuditlogApi.md#list_audit_logs) | **GET** /audit-logs | Get recent logs of the projects which the user is a member of
|
105
|
+
*Harbor2Client::ConfigureApi* | [**get_configurations**](docs/ConfigureApi.md#get_configurations) | **GET** /configurations | Get system configurations.
|
106
|
+
*Harbor2Client::ConfigureApi* | [**get_internalconfig**](docs/ConfigureApi.md#get_internalconfig) | **GET** /internalconfig | Get internal configurations.
|
107
|
+
*Harbor2Client::ConfigureApi* | [**update_configurations**](docs/ConfigureApi.md#update_configurations) | **PUT** /configurations | Modify system configurations.
|
108
|
+
*Harbor2Client::GcApi* | [**create_gc_schedule**](docs/GcApi.md#create_gc_schedule) | **POST** /system/gc/schedule | Create a gc schedule.
|
109
|
+
*Harbor2Client::GcApi* | [**get_gc**](docs/GcApi.md#get_gc) | **GET** /system/gc/{gc_id} | Get gc status.
|
110
|
+
*Harbor2Client::GcApi* | [**get_gc_history**](docs/GcApi.md#get_gc_history) | **GET** /system/gc | Get gc results.
|
111
|
+
*Harbor2Client::GcApi* | [**get_gc_log**](docs/GcApi.md#get_gc_log) | **GET** /system/gc/{gc_id}/log | Get gc job log.
|
112
|
+
*Harbor2Client::GcApi* | [**get_gc_schedule**](docs/GcApi.md#get_gc_schedule) | **GET** /system/gc/schedule | Get gc's schedule.
|
113
|
+
*Harbor2Client::GcApi* | [**update_gc_schedule**](docs/GcApi.md#update_gc_schedule) | **PUT** /system/gc/schedule | Update gc's schedule.
|
114
|
+
*Harbor2Client::HealthApi* | [**get_health**](docs/HealthApi.md#get_health) | **GET** /health | Check the status of Harbor components
|
104
115
|
*Harbor2Client::IconApi* | [**get_icon**](docs/IconApi.md#get_icon) | **GET** /icons/{digest} | Get artifact icon
|
116
|
+
*Harbor2Client::ImmutableApi* | [**create_immu_rule**](docs/ImmutableApi.md#create_immu_rule) | **POST** /projects/{project_name_or_id}/immutabletagrules | Add an immutable tag rule to current project
|
117
|
+
*Harbor2Client::ImmutableApi* | [**delete_immu_rule**](docs/ImmutableApi.md#delete_immu_rule) | **DELETE** /projects/{project_name_or_id}/immutabletagrules/{immutable_rule_id} | Delete the immutable tag rule.
|
118
|
+
*Harbor2Client::ImmutableApi* | [**list_immu_rules**](docs/ImmutableApi.md#list_immu_rules) | **GET** /projects/{project_name_or_id}/immutabletagrules | List all immutable tag rules of current project
|
119
|
+
*Harbor2Client::ImmutableApi* | [**update_immu_rule**](docs/ImmutableApi.md#update_immu_rule) | **PUT** /projects/{project_name_or_id}/immutabletagrules/{immutable_rule_id} | Update the immutable tag rule or enable or disable the rule
|
120
|
+
*Harbor2Client::LabelApi* | [**create_label**](docs/LabelApi.md#create_label) | **POST** /labels | Post creates a label
|
121
|
+
*Harbor2Client::LabelApi* | [**delete_label**](docs/LabelApi.md#delete_label) | **DELETE** /labels/{label_id} | Delete the label specified by ID.
|
122
|
+
*Harbor2Client::LabelApi* | [**get_label_by_id**](docs/LabelApi.md#get_label_by_id) | **GET** /labels/{label_id} | Get the label specified by ID.
|
123
|
+
*Harbor2Client::LabelApi* | [**list_labels**](docs/LabelApi.md#list_labels) | **GET** /labels | List labels according to the query strings.
|
124
|
+
*Harbor2Client::LabelApi* | [**update_label**](docs/LabelApi.md#update_label) | **PUT** /labels/{label_id} | Update the label properties.
|
125
|
+
*Harbor2Client::LdapApi* | [**import_ldap_user**](docs/LdapApi.md#import_ldap_user) | **POST** /ldap/users/import | Import selected available ldap users.
|
126
|
+
*Harbor2Client::LdapApi* | [**ping_ldap**](docs/LdapApi.md#ping_ldap) | **POST** /ldap/ping | Ping available ldap service.
|
127
|
+
*Harbor2Client::LdapApi* | [**search_ldap_group**](docs/LdapApi.md#search_ldap_group) | **GET** /ldap/groups/search | Search available ldap groups.
|
128
|
+
*Harbor2Client::LdapApi* | [**search_ldap_user**](docs/LdapApi.md#search_ldap_user) | **GET** /ldap/users/search | Search available ldap users.
|
129
|
+
*Harbor2Client::MemberApi* | [**create_project_member**](docs/MemberApi.md#create_project_member) | **POST** /projects/{project_name_or_id}/members | Create project member
|
130
|
+
*Harbor2Client::MemberApi* | [**delete_project_member**](docs/MemberApi.md#delete_project_member) | **DELETE** /projects/{project_name_or_id}/members/{mid} | Delete project member
|
131
|
+
*Harbor2Client::MemberApi* | [**get_project_member**](docs/MemberApi.md#get_project_member) | **GET** /projects/{project_name_or_id}/members/{mid} | Get the project member information
|
132
|
+
*Harbor2Client::MemberApi* | [**list_project_members**](docs/MemberApi.md#list_project_members) | **GET** /projects/{project_name_or_id}/members | Get all project member information
|
133
|
+
*Harbor2Client::MemberApi* | [**update_project_member**](docs/MemberApi.md#update_project_member) | **PUT** /projects/{project_name_or_id}/members/{mid} | Update project member
|
134
|
+
*Harbor2Client::OidcApi* | [**ping_oidc**](docs/OidcApi.md#ping_oidc) | **POST** /system/oidc/ping | Test the OIDC endpoint.
|
135
|
+
*Harbor2Client::PingApi* | [**get_ping**](docs/PingApi.md#get_ping) | **GET** /ping | Ping Harbor to check if it's alive.
|
105
136
|
*Harbor2Client::PreheatApi* | [**create_instance**](docs/PreheatApi.md#create_instance) | **POST** /p2p/preheat/instances | Create p2p provider instances
|
106
137
|
*Harbor2Client::PreheatApi* | [**create_policy**](docs/PreheatApi.md#create_policy) | **POST** /projects/{project_name}/preheat/policies | Create a preheat policy under a project
|
107
138
|
*Harbor2Client::PreheatApi* | [**delete_instance**](docs/PreheatApi.md#delete_instance) | **DELETE** /p2p/preheat/instances/{preheat_instance_name} | Delete the specified P2P provider instance
|
@@ -122,59 +153,256 @@ Class | Method | HTTP request | Description
|
|
122
153
|
*Harbor2Client::PreheatApi* | [**update_instance**](docs/PreheatApi.md#update_instance) | **PUT** /p2p/preheat/instances/{preheat_instance_name} | Update the specified P2P provider instance
|
123
154
|
*Harbor2Client::PreheatApi* | [**update_policy**](docs/PreheatApi.md#update_policy) | **PUT** /projects/{project_name}/preheat/policies/{preheat_policy_name} | Update preheat policy
|
124
155
|
*Harbor2Client::ProjectApi* | [**create_project**](docs/ProjectApi.md#create_project) | **POST** /projects | Create a new project.
|
125
|
-
*Harbor2Client::ProjectApi* | [**delete_project**](docs/ProjectApi.md#delete_project) | **DELETE** /projects/{
|
156
|
+
*Harbor2Client::ProjectApi* | [**delete_project**](docs/ProjectApi.md#delete_project) | **DELETE** /projects/{project_name_or_id} | Delete project by projectID
|
126
157
|
*Harbor2Client::ProjectApi* | [**get_logs**](docs/ProjectApi.md#get_logs) | **GET** /projects/{project_name}/logs | Get recent logs of the projects
|
127
|
-
*Harbor2Client::ProjectApi* | [**get_project**](docs/ProjectApi.md#get_project) | **GET** /projects/{
|
128
|
-
*Harbor2Client::ProjectApi* | [**get_project_deletable**](docs/ProjectApi.md#get_project_deletable) | **GET** /projects/{
|
129
|
-
*Harbor2Client::ProjectApi* | [**get_project_summary**](docs/ProjectApi.md#get_project_summary) | **GET** /projects/{
|
158
|
+
*Harbor2Client::ProjectApi* | [**get_project**](docs/ProjectApi.md#get_project) | **GET** /projects/{project_name_or_id} | Return specific project detail information
|
159
|
+
*Harbor2Client::ProjectApi* | [**get_project_deletable**](docs/ProjectApi.md#get_project_deletable) | **GET** /projects/{project_name_or_id}/_deletable | Get the deletable status of the project
|
160
|
+
*Harbor2Client::ProjectApi* | [**get_project_summary**](docs/ProjectApi.md#get_project_summary) | **GET** /projects/{project_name_or_id}/summary | Get summary of the project.
|
161
|
+
*Harbor2Client::ProjectApi* | [**get_scanner_of_project**](docs/ProjectApi.md#get_scanner_of_project) | **GET** /projects/{project_name_or_id}/scanner | Get project level scanner
|
130
162
|
*Harbor2Client::ProjectApi* | [**head_project**](docs/ProjectApi.md#head_project) | **HEAD** /projects | Check if the project name user provided already exists.
|
131
163
|
*Harbor2Client::ProjectApi* | [**list_projects**](docs/ProjectApi.md#list_projects) | **GET** /projects | List projects
|
132
|
-
*Harbor2Client::ProjectApi* | [**
|
164
|
+
*Harbor2Client::ProjectApi* | [**list_scanner_candidates_of_project**](docs/ProjectApi.md#list_scanner_candidates_of_project) | **GET** /projects/{project_name_or_id}/scanner/candidates | Get scanner registration candidates for configurating project level scanner
|
165
|
+
*Harbor2Client::ProjectApi* | [**set_scanner_of_project**](docs/ProjectApi.md#set_scanner_of_project) | **PUT** /projects/{project_name_or_id}/scanner | Configure scanner for the specified project
|
166
|
+
*Harbor2Client::ProjectApi* | [**update_project**](docs/ProjectApi.md#update_project) | **PUT** /projects/{project_name_or_id} | Update properties for a selected project.
|
167
|
+
*Harbor2Client::ProjectMetadataApi* | [**add_project_metadatas**](docs/ProjectMetadataApi.md#add_project_metadatas) | **POST** /projects/{project_name_or_id}/metadatas/ | Add metadata for the specific project
|
168
|
+
*Harbor2Client::ProjectMetadataApi* | [**delete_project_metadata**](docs/ProjectMetadataApi.md#delete_project_metadata) | **DELETE** /projects/{project_name_or_id}/metadatas/{meta_name} | Delete the specific metadata for the specific project
|
169
|
+
*Harbor2Client::ProjectMetadataApi* | [**get_project_metadata**](docs/ProjectMetadataApi.md#get_project_metadata) | **GET** /projects/{project_name_or_id}/metadatas/{meta_name} | Get the specific metadata of the specific project
|
170
|
+
*Harbor2Client::ProjectMetadataApi* | [**list_project_metadatas**](docs/ProjectMetadataApi.md#list_project_metadatas) | **GET** /projects/{project_name_or_id}/metadatas/ | Get the metadata of the specific project
|
171
|
+
*Harbor2Client::ProjectMetadataApi* | [**update_project_metadata**](docs/ProjectMetadataApi.md#update_project_metadata) | **PUT** /projects/{project_name_or_id}/metadatas/{meta_name} | Update the specific metadata for the specific project
|
172
|
+
*Harbor2Client::QuotaApi* | [**get_quota**](docs/QuotaApi.md#get_quota) | **GET** /quotas/{id} | Get the specified quota
|
173
|
+
*Harbor2Client::QuotaApi* | [**list_quotas**](docs/QuotaApi.md#list_quotas) | **GET** /quotas | List quotas
|
174
|
+
*Harbor2Client::QuotaApi* | [**update_quota**](docs/QuotaApi.md#update_quota) | **PUT** /quotas/{id} | Update the specified quota
|
175
|
+
*Harbor2Client::RegistryApi* | [**create_registry**](docs/RegistryApi.md#create_registry) | **POST** /registries | Create a registry
|
176
|
+
*Harbor2Client::RegistryApi* | [**delete_registry**](docs/RegistryApi.md#delete_registry) | **DELETE** /registries/{id} | Delete the specific registry
|
177
|
+
*Harbor2Client::RegistryApi* | [**get_registry**](docs/RegistryApi.md#get_registry) | **GET** /registries/{id} | Get the specific registry
|
178
|
+
*Harbor2Client::RegistryApi* | [**get_registry_info**](docs/RegistryApi.md#get_registry_info) | **GET** /registries/{id}/info | Get the registry info
|
179
|
+
*Harbor2Client::RegistryApi* | [**list_registries**](docs/RegistryApi.md#list_registries) | **GET** /registries | List the registries
|
180
|
+
*Harbor2Client::RegistryApi* | [**list_registry_provider_infos**](docs/RegistryApi.md#list_registry_provider_infos) | **GET** /replication/adapterinfos | List all registered registry provider information
|
181
|
+
*Harbor2Client::RegistryApi* | [**list_registry_provider_types**](docs/RegistryApi.md#list_registry_provider_types) | **GET** /replication/adapters | List registry adapters
|
182
|
+
*Harbor2Client::RegistryApi* | [**ping_registry**](docs/RegistryApi.md#ping_registry) | **POST** /registries/ping | Check status of a registry
|
183
|
+
*Harbor2Client::RegistryApi* | [**update_registry**](docs/RegistryApi.md#update_registry) | **PUT** /registries/{id} | Update the registry
|
184
|
+
*Harbor2Client::ReplicationApi* | [**create_replication_policy**](docs/ReplicationApi.md#create_replication_policy) | **POST** /replication/policies | Create a replication policy
|
185
|
+
*Harbor2Client::ReplicationApi* | [**delete_replication_policy**](docs/ReplicationApi.md#delete_replication_policy) | **DELETE** /replication/policies/{id} | Delete the specific replication policy
|
186
|
+
*Harbor2Client::ReplicationApi* | [**get_replication_execution**](docs/ReplicationApi.md#get_replication_execution) | **GET** /replication/executions/{id} | Get the specific replication execution
|
187
|
+
*Harbor2Client::ReplicationApi* | [**get_replication_log**](docs/ReplicationApi.md#get_replication_log) | **GET** /replication/executions/{id}/tasks/{task_id}/log | Get the log of the specific replication task
|
188
|
+
*Harbor2Client::ReplicationApi* | [**get_replication_policy**](docs/ReplicationApi.md#get_replication_policy) | **GET** /replication/policies/{id} | Get the specific replication policy
|
189
|
+
*Harbor2Client::ReplicationApi* | [**list_replication_executions**](docs/ReplicationApi.md#list_replication_executions) | **GET** /replication/executions | List replication executions
|
190
|
+
*Harbor2Client::ReplicationApi* | [**list_replication_policies**](docs/ReplicationApi.md#list_replication_policies) | **GET** /replication/policies | List replication policies
|
191
|
+
*Harbor2Client::ReplicationApi* | [**list_replication_tasks**](docs/ReplicationApi.md#list_replication_tasks) | **GET** /replication/executions/{id}/tasks | List replication tasks for a specific execution
|
192
|
+
*Harbor2Client::ReplicationApi* | [**start_replication**](docs/ReplicationApi.md#start_replication) | **POST** /replication/executions | Start one replication execution
|
193
|
+
*Harbor2Client::ReplicationApi* | [**stop_replication**](docs/ReplicationApi.md#stop_replication) | **PUT** /replication/executions/{id} | Stop the specific replication execution
|
194
|
+
*Harbor2Client::ReplicationApi* | [**update_replication_policy**](docs/ReplicationApi.md#update_replication_policy) | **PUT** /replication/policies/{id} | Update the replication policy
|
133
195
|
*Harbor2Client::RepositoryApi* | [**delete_repository**](docs/RepositoryApi.md#delete_repository) | **DELETE** /projects/{project_name}/repositories/{repository_name} | Delete repository
|
134
196
|
*Harbor2Client::RepositoryApi* | [**get_repository**](docs/RepositoryApi.md#get_repository) | **GET** /projects/{project_name}/repositories/{repository_name} | Get repository
|
197
|
+
*Harbor2Client::RepositoryApi* | [**list_all_repositories**](docs/RepositoryApi.md#list_all_repositories) | **GET** /repositories | List all authorized repositories
|
135
198
|
*Harbor2Client::RepositoryApi* | [**list_repositories**](docs/RepositoryApi.md#list_repositories) | **GET** /projects/{project_name}/repositories | List repositories
|
136
199
|
*Harbor2Client::RepositoryApi* | [**update_repository**](docs/RepositoryApi.md#update_repository) | **PUT** /projects/{project_name}/repositories/{repository_name} | Update repository
|
200
|
+
*Harbor2Client::RetentionApi* | [**create_retention**](docs/RetentionApi.md#create_retention) | **POST** /retentions | Create Retention Policy
|
201
|
+
*Harbor2Client::RetentionApi* | [**delete_retention**](docs/RetentionApi.md#delete_retention) | **DELETE** /retentions/{id} | Delete Retention Policy
|
202
|
+
*Harbor2Client::RetentionApi* | [**get_rentenition_metadata**](docs/RetentionApi.md#get_rentenition_metadata) | **GET** /retentions/metadatas | Get Retention Metadatas
|
203
|
+
*Harbor2Client::RetentionApi* | [**get_retention**](docs/RetentionApi.md#get_retention) | **GET** /retentions/{id} | Get Retention Policy
|
204
|
+
*Harbor2Client::RetentionApi* | [**get_retention_task_log**](docs/RetentionApi.md#get_retention_task_log) | **GET** /retentions/{id}/executions/{eid}/tasks/{tid} | Get Retention job task log
|
205
|
+
*Harbor2Client::RetentionApi* | [**list_retention_executions**](docs/RetentionApi.md#list_retention_executions) | **GET** /retentions/{id}/executions | Get Retention executions
|
206
|
+
*Harbor2Client::RetentionApi* | [**list_retention_tasks**](docs/RetentionApi.md#list_retention_tasks) | **GET** /retentions/{id}/executions/{eid}/tasks | Get Retention tasks
|
207
|
+
*Harbor2Client::RetentionApi* | [**operate_retention_execution**](docs/RetentionApi.md#operate_retention_execution) | **PATCH** /retentions/{id}/executions/{eid} | Stop a Retention execution
|
208
|
+
*Harbor2Client::RetentionApi* | [**trigger_retention_execution**](docs/RetentionApi.md#trigger_retention_execution) | **POST** /retentions/{id}/executions | Trigger a Retention Execution
|
209
|
+
*Harbor2Client::RetentionApi* | [**update_retention**](docs/RetentionApi.md#update_retention) | **PUT** /retentions/{id} | Update Retention Policy
|
210
|
+
*Harbor2Client::RobotApi* | [**create_robot**](docs/RobotApi.md#create_robot) | **POST** /robots | Create a robot account
|
211
|
+
*Harbor2Client::RobotApi* | [**delete_robot**](docs/RobotApi.md#delete_robot) | **DELETE** /robots/{robot_id} | Delete a robot account
|
212
|
+
*Harbor2Client::RobotApi* | [**get_robot_by_id**](docs/RobotApi.md#get_robot_by_id) | **GET** /robots/{robot_id} | Get a robot account
|
213
|
+
*Harbor2Client::RobotApi* | [**list_robot**](docs/RobotApi.md#list_robot) | **GET** /robots | Get robot account
|
214
|
+
*Harbor2Client::RobotApi* | [**refresh_sec**](docs/RobotApi.md#refresh_sec) | **PATCH** /robots/{robot_id} | Refresh the robot secret
|
215
|
+
*Harbor2Client::RobotApi* | [**update_robot**](docs/RobotApi.md#update_robot) | **PUT** /robots/{robot_id} | Update a robot account
|
216
|
+
*Harbor2Client::Robotv1Api* | [**create_robot_v1**](docs/Robotv1Api.md#create_robot_v1) | **POST** /projects/{project_name_or_id}/robots | Create a robot account
|
217
|
+
*Harbor2Client::Robotv1Api* | [**delete_robot_v1**](docs/Robotv1Api.md#delete_robot_v1) | **DELETE** /projects/{project_name_or_id}/robots/{robot_id} | Delete a robot account
|
218
|
+
*Harbor2Client::Robotv1Api* | [**get_robot_by_idv1**](docs/Robotv1Api.md#get_robot_by_idv1) | **GET** /projects/{project_name_or_id}/robots/{robot_id} | Get a robot account
|
219
|
+
*Harbor2Client::Robotv1Api* | [**list_robot_v1**](docs/Robotv1Api.md#list_robot_v1) | **GET** /projects/{project_name_or_id}/robots | Get all robot accounts of specified project
|
220
|
+
*Harbor2Client::Robotv1Api* | [**update_robot_v1**](docs/Robotv1Api.md#update_robot_v1) | **PUT** /projects/{project_name_or_id}/robots/{robot_id} | Update status of robot account.
|
137
221
|
*Harbor2Client::ScanApi* | [**get_report_log**](docs/ScanApi.md#get_report_log) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan/{report_id}/log | Get the log of the scan report
|
138
222
|
*Harbor2Client::ScanApi* | [**scan_artifact**](docs/ScanApi.md#scan_artifact) | **POST** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan | Scan the artifact
|
223
|
+
*Harbor2Client::ScanAllApi* | [**create_scan_all_schedule**](docs/ScanAllApi.md#create_scan_all_schedule) | **POST** /system/scanAll/schedule | Create a schedule or a manual trigger for the scan all job.
|
224
|
+
*Harbor2Client::ScanAllApi* | [**get_latest_scan_all_metrics**](docs/ScanAllApi.md#get_latest_scan_all_metrics) | **GET** /scans/all/metrics | Get the metrics of the latest scan all process
|
225
|
+
*Harbor2Client::ScanAllApi* | [**get_latest_scheduled_scan_all_metrics**](docs/ScanAllApi.md#get_latest_scheduled_scan_all_metrics) | **GET** /scans/schedule/metrics | Get the metrics of the latest scheduled scan all process
|
226
|
+
*Harbor2Client::ScanAllApi* | [**get_scan_all_schedule**](docs/ScanAllApi.md#get_scan_all_schedule) | **GET** /system/scanAll/schedule | Get scan all's schedule.
|
227
|
+
*Harbor2Client::ScanAllApi* | [**update_scan_all_schedule**](docs/ScanAllApi.md#update_scan_all_schedule) | **PUT** /system/scanAll/schedule | Update scan all's schedule.
|
228
|
+
*Harbor2Client::ScannerApi* | [**create_scanner**](docs/ScannerApi.md#create_scanner) | **POST** /scanners | Create a scanner registration
|
229
|
+
*Harbor2Client::ScannerApi* | [**delete_scanner**](docs/ScannerApi.md#delete_scanner) | **DELETE** /scanners/{registration_id} | Delete a scanner registration
|
230
|
+
*Harbor2Client::ScannerApi* | [**get_scanner**](docs/ScannerApi.md#get_scanner) | **GET** /scanners/{registration_id} | Get a scanner registration details
|
231
|
+
*Harbor2Client::ScannerApi* | [**get_scanner_metadata**](docs/ScannerApi.md#get_scanner_metadata) | **GET** /scanners/{registration_id}/metadata | Get the metadata of the specified scanner registration
|
232
|
+
*Harbor2Client::ScannerApi* | [**list_scanners**](docs/ScannerApi.md#list_scanners) | **GET** /scanners | List scanner registrations
|
233
|
+
*Harbor2Client::ScannerApi* | [**ping_scanner**](docs/ScannerApi.md#ping_scanner) | **POST** /scanners/ping | Tests scanner registration settings
|
234
|
+
*Harbor2Client::ScannerApi* | [**set_scanner_as_default**](docs/ScannerApi.md#set_scanner_as_default) | **PATCH** /scanners/{registration_id} | Set system default scanner registration
|
235
|
+
*Harbor2Client::ScannerApi* | [**update_scanner**](docs/ScannerApi.md#update_scanner) | **PUT** /scanners/{registration_id} | Update a scanner registration
|
236
|
+
*Harbor2Client::SearchApi* | [**search**](docs/SearchApi.md#search) | **GET** /search | Search for projects, repositories and helm charts
|
237
|
+
*Harbor2Client::StatisticApi* | [**get_statistic**](docs/StatisticApi.md#get_statistic) | **GET** /statistics | Get the statistic information about the projects and repositories
|
238
|
+
*Harbor2Client::SystemCVEAllowlistApi* | [**get_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#get_system_cve_allowlist) | **GET** /system/CVEAllowlist | Get the system level allowlist of CVE.
|
239
|
+
*Harbor2Client::SystemCVEAllowlistApi* | [**put_system_cve_allowlist**](docs/SystemCVEAllowlistApi.md#put_system_cve_allowlist) | **PUT** /system/CVEAllowlist | Update the system level allowlist of CVE.
|
240
|
+
*Harbor2Client::SysteminfoApi* | [**get_cert**](docs/SysteminfoApi.md#get_cert) | **GET** /systeminfo/getcert | Get default root certificate.
|
241
|
+
*Harbor2Client::SysteminfoApi* | [**get_system_info**](docs/SysteminfoApi.md#get_system_info) | **GET** /systeminfo | Get general system info
|
242
|
+
*Harbor2Client::SysteminfoApi* | [**get_volumes**](docs/SysteminfoApi.md#get_volumes) | **GET** /systeminfo/volumes | Get system volume info (total/free size).
|
243
|
+
*Harbor2Client::UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /users | Create a local user.
|
244
|
+
*Harbor2Client::UserApi* | [**delete_user**](docs/UserApi.md#delete_user) | **DELETE** /users/{user_id} | Mark a registered user as be removed.
|
245
|
+
*Harbor2Client::UserApi* | [**get_current_user_info**](docs/UserApi.md#get_current_user_info) | **GET** /users/current | Get current user info.
|
246
|
+
*Harbor2Client::UserApi* | [**get_current_user_permissions**](docs/UserApi.md#get_current_user_permissions) | **GET** /users/current/permissions | Get current user permissions.
|
247
|
+
*Harbor2Client::UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /users/{user_id} | Get a user's profile.
|
248
|
+
*Harbor2Client::UserApi* | [**list_users**](docs/UserApi.md#list_users) | **GET** /users | List users
|
249
|
+
*Harbor2Client::UserApi* | [**search_users**](docs/UserApi.md#search_users) | **GET** /users/search | Search users by username
|
250
|
+
*Harbor2Client::UserApi* | [**set_cli_secret**](docs/UserApi.md#set_cli_secret) | **PUT** /users/{user_id}/cli_secret | Set CLI secret for a user.
|
251
|
+
*Harbor2Client::UserApi* | [**set_user_sys_admin**](docs/UserApi.md#set_user_sys_admin) | **PUT** /users/{user_id}/sysadmin | Update a registered user to change to be an administrator of Harbor.
|
252
|
+
*Harbor2Client::UserApi* | [**update_user_password**](docs/UserApi.md#update_user_password) | **PUT** /users/{user_id}/password | Change the password on a user that already exists.
|
253
|
+
*Harbor2Client::UserApi* | [**update_user_profile**](docs/UserApi.md#update_user_profile) | **PUT** /users/{user_id} | Update user's profile.
|
254
|
+
*Harbor2Client::UsergroupApi* | [**create_user_group**](docs/UsergroupApi.md#create_user_group) | **POST** /usergroups | Create user group
|
255
|
+
*Harbor2Client::UsergroupApi* | [**delete_user_group**](docs/UsergroupApi.md#delete_user_group) | **DELETE** /usergroups/{group_id} | Delete user group
|
256
|
+
*Harbor2Client::UsergroupApi* | [**get_user_group**](docs/UsergroupApi.md#get_user_group) | **GET** /usergroups/{group_id} | Get user group information
|
257
|
+
*Harbor2Client::UsergroupApi* | [**list_user_groups**](docs/UsergroupApi.md#list_user_groups) | **GET** /usergroups | Get all user groups information
|
258
|
+
*Harbor2Client::UsergroupApi* | [**update_user_group**](docs/UsergroupApi.md#update_user_group) | **PUT** /usergroups/{group_id} | Update group information
|
259
|
+
*Harbor2Client::WebhookApi* | [**create_webhook_policy_of_project**](docs/WebhookApi.md#create_webhook_policy_of_project) | **POST** /projects/{project_name_or_id}/webhook/policies | Create project webhook policy.
|
260
|
+
*Harbor2Client::WebhookApi* | [**delete_webhook_policy_of_project**](docs/WebhookApi.md#delete_webhook_policy_of_project) | **DELETE** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Delete webhook policy of a project
|
261
|
+
*Harbor2Client::WebhookApi* | [**get_supported_event_types**](docs/WebhookApi.md#get_supported_event_types) | **GET** /projects/{project_name_or_id}/webhook/events | Get supported event types and notify types.
|
262
|
+
*Harbor2Client::WebhookApi* | [**get_webhook_policy_of_project**](docs/WebhookApi.md#get_webhook_policy_of_project) | **GET** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Get project webhook policy
|
263
|
+
*Harbor2Client::WebhookApi* | [**last_trigger**](docs/WebhookApi.md#last_trigger) | **GET** /projects/{project_name_or_id}/webhook/lasttrigger | Get project webhook policy last trigger info
|
264
|
+
*Harbor2Client::WebhookApi* | [**list_webhook_policies_of_project**](docs/WebhookApi.md#list_webhook_policies_of_project) | **GET** /projects/{project_name_or_id}/webhook/policies | List project webhook policies.
|
265
|
+
*Harbor2Client::WebhookApi* | [**update_webhook_policy_of_project**](docs/WebhookApi.md#update_webhook_policy_of_project) | **PUT** /projects/{project_name_or_id}/webhook/policies/{webhook_policy_id} | Update webhook policy of a project.
|
266
|
+
*Harbor2Client::WebhookjobApi* | [**list_webhook_jobs**](docs/WebhookjobApi.md#list_webhook_jobs) | **GET** /projects/{project_name_or_id}/webhook/jobs | List project webhook jobs
|
139
267
|
|
140
268
|
|
141
269
|
## Documentation for Models
|
142
270
|
|
271
|
+
- [Harbor2Client::Access](docs/Access.md)
|
143
272
|
- [Harbor2Client::AdditionLink](docs/AdditionLink.md)
|
144
273
|
- [Harbor2Client::AdditionLinks](docs/AdditionLinks.md)
|
145
274
|
- [Harbor2Client::Annotations](docs/Annotations.md)
|
146
275
|
- [Harbor2Client::Artifact](docs/Artifact.md)
|
147
276
|
- [Harbor2Client::AuditLog](docs/AuditLog.md)
|
277
|
+
- [Harbor2Client::AuthproxySetting](docs/AuthproxySetting.md)
|
278
|
+
- [Harbor2Client::Body](docs/Body.md)
|
279
|
+
- [Harbor2Client::Body1](docs/Body1.md)
|
280
|
+
- [Harbor2Client::BoolConfigItem](docs/BoolConfigItem.md)
|
148
281
|
- [Harbor2Client::CVEAllowlist](docs/CVEAllowlist.md)
|
149
282
|
- [Harbor2Client::CVEAllowlistItem](docs/CVEAllowlistItem.md)
|
283
|
+
- [Harbor2Client::ChartMetadata](docs/ChartMetadata.md)
|
284
|
+
- [Harbor2Client::ChartVersion](docs/ChartVersion.md)
|
285
|
+
- [Harbor2Client::ComponentHealthStatus](docs/ComponentHealthStatus.md)
|
286
|
+
- [Harbor2Client::Configurations](docs/Configurations.md)
|
287
|
+
- [Harbor2Client::ConfigurationsResponse](docs/ConfigurationsResponse.md)
|
288
|
+
- [Harbor2Client::ConfigurationsResponseScanAllPolicy](docs/ConfigurationsResponseScanAllPolicy.md)
|
289
|
+
- [Harbor2Client::ConfigurationsResponseScanAllPolicyParameter](docs/ConfigurationsResponseScanAllPolicyParameter.md)
|
290
|
+
- [Harbor2Client::Endpoint](docs/Endpoint.md)
|
150
291
|
- [Harbor2Client::Error](docs/Error.md)
|
151
292
|
- [Harbor2Client::Errors](docs/Errors.md)
|
293
|
+
- [Harbor2Client::EventType](docs/EventType.md)
|
152
294
|
- [Harbor2Client::Execution](docs/Execution.md)
|
153
295
|
- [Harbor2Client::ExtraAttrs](docs/ExtraAttrs.md)
|
296
|
+
- [Harbor2Client::FilterStyle](docs/FilterStyle.md)
|
297
|
+
- [Harbor2Client::GCHistory](docs/GCHistory.md)
|
298
|
+
- [Harbor2Client::GeneralInfo](docs/GeneralInfo.md)
|
154
299
|
- [Harbor2Client::Icon](docs/Icon.md)
|
300
|
+
- [Harbor2Client::ImmutableRule](docs/ImmutableRule.md)
|
301
|
+
- [Harbor2Client::ImmutableSelector](docs/ImmutableSelector.md)
|
155
302
|
- [Harbor2Client::Instance](docs/Instance.md)
|
303
|
+
- [Harbor2Client::IntegerConfigItem](docs/IntegerConfigItem.md)
|
304
|
+
- [Harbor2Client::InternalConfigurationsResponse](docs/InternalConfigurationsResponse.md)
|
305
|
+
- [Harbor2Client::IsDefault](docs/IsDefault.md)
|
156
306
|
- [Harbor2Client::Label](docs/Label.md)
|
307
|
+
- [Harbor2Client::LdapConf](docs/LdapConf.md)
|
308
|
+
- [Harbor2Client::LdapFailedImportUser](docs/LdapFailedImportUser.md)
|
309
|
+
- [Harbor2Client::LdapImportUsers](docs/LdapImportUsers.md)
|
310
|
+
- [Harbor2Client::LdapPingResult](docs/LdapPingResult.md)
|
311
|
+
- [Harbor2Client::LdapUser](docs/LdapUser.md)
|
157
312
|
- [Harbor2Client::Metadata](docs/Metadata.md)
|
158
313
|
- [Harbor2Client::Metrics](docs/Metrics.md)
|
159
314
|
- [Harbor2Client::NativeReportSummary](docs/NativeReportSummary.md)
|
315
|
+
- [Harbor2Client::NotifyType](docs/NotifyType.md)
|
316
|
+
- [Harbor2Client::OIDCCliSecretReq](docs/OIDCCliSecretReq.md)
|
317
|
+
- [Harbor2Client::OIDCUserInfo](docs/OIDCUserInfo.md)
|
318
|
+
- [Harbor2Client::OverallHealthStatus](docs/OverallHealthStatus.md)
|
319
|
+
- [Harbor2Client::PasswordReq](docs/PasswordReq.md)
|
320
|
+
- [Harbor2Client::Permission](docs/Permission.md)
|
160
321
|
- [Harbor2Client::Platform](docs/Platform.md)
|
161
322
|
- [Harbor2Client::PreheatPolicy](docs/PreheatPolicy.md)
|
162
323
|
- [Harbor2Client::Project](docs/Project.md)
|
163
324
|
- [Harbor2Client::ProjectDeletable](docs/ProjectDeletable.md)
|
325
|
+
- [Harbor2Client::ProjectMember](docs/ProjectMember.md)
|
326
|
+
- [Harbor2Client::ProjectMemberEntity](docs/ProjectMemberEntity.md)
|
164
327
|
- [Harbor2Client::ProjectMetadata](docs/ProjectMetadata.md)
|
165
328
|
- [Harbor2Client::ProjectReq](docs/ProjectReq.md)
|
329
|
+
- [Harbor2Client::ProjectScanner](docs/ProjectScanner.md)
|
166
330
|
- [Harbor2Client::ProjectSummary](docs/ProjectSummary.md)
|
167
331
|
- [Harbor2Client::ProjectSummaryQuota](docs/ProjectSummaryQuota.md)
|
168
332
|
- [Harbor2Client::ProviderUnderProject](docs/ProviderUnderProject.md)
|
333
|
+
- [Harbor2Client::Quota](docs/Quota.md)
|
334
|
+
- [Harbor2Client::QuotaRefObject](docs/QuotaRefObject.md)
|
335
|
+
- [Harbor2Client::QuotaUpdateReq](docs/QuotaUpdateReq.md)
|
169
336
|
- [Harbor2Client::Reference](docs/Reference.md)
|
170
337
|
- [Harbor2Client::Registry](docs/Registry.md)
|
171
338
|
- [Harbor2Client::RegistryCredential](docs/RegistryCredential.md)
|
339
|
+
- [Harbor2Client::RegistryEndpoint](docs/RegistryEndpoint.md)
|
340
|
+
- [Harbor2Client::RegistryInfo](docs/RegistryInfo.md)
|
341
|
+
- [Harbor2Client::RegistryPing](docs/RegistryPing.md)
|
342
|
+
- [Harbor2Client::RegistryProviderCredentialPattern](docs/RegistryProviderCredentialPattern.md)
|
343
|
+
- [Harbor2Client::RegistryProviderEndpointPattern](docs/RegistryProviderEndpointPattern.md)
|
344
|
+
- [Harbor2Client::RegistryProviderInfo](docs/RegistryProviderInfo.md)
|
345
|
+
- [Harbor2Client::RegistryUpdate](docs/RegistryUpdate.md)
|
346
|
+
- [Harbor2Client::ReplicationExecution](docs/ReplicationExecution.md)
|
347
|
+
- [Harbor2Client::ReplicationFilter](docs/ReplicationFilter.md)
|
348
|
+
- [Harbor2Client::ReplicationPolicy](docs/ReplicationPolicy.md)
|
349
|
+
- [Harbor2Client::ReplicationTask](docs/ReplicationTask.md)
|
350
|
+
- [Harbor2Client::ReplicationTrigger](docs/ReplicationTrigger.md)
|
351
|
+
- [Harbor2Client::ReplicationTriggerSettings](docs/ReplicationTriggerSettings.md)
|
172
352
|
- [Harbor2Client::Repository](docs/Repository.md)
|
173
353
|
- [Harbor2Client::ResourceList](docs/ResourceList.md)
|
354
|
+
- [Harbor2Client::RetentionExecution](docs/RetentionExecution.md)
|
355
|
+
- [Harbor2Client::RetentionExecutionTask](docs/RetentionExecutionTask.md)
|
356
|
+
- [Harbor2Client::RetentionMetadata](docs/RetentionMetadata.md)
|
357
|
+
- [Harbor2Client::RetentionPolicy](docs/RetentionPolicy.md)
|
358
|
+
- [Harbor2Client::RetentionPolicyScope](docs/RetentionPolicyScope.md)
|
359
|
+
- [Harbor2Client::RetentionRule](docs/RetentionRule.md)
|
360
|
+
- [Harbor2Client::RetentionRuleMetadata](docs/RetentionRuleMetadata.md)
|
361
|
+
- [Harbor2Client::RetentionRuleParamMetadata](docs/RetentionRuleParamMetadata.md)
|
362
|
+
- [Harbor2Client::RetentionRuleTrigger](docs/RetentionRuleTrigger.md)
|
363
|
+
- [Harbor2Client::RetentionSelector](docs/RetentionSelector.md)
|
364
|
+
- [Harbor2Client::RetentionSelectorMetadata](docs/RetentionSelectorMetadata.md)
|
365
|
+
- [Harbor2Client::Robot](docs/Robot.md)
|
366
|
+
- [Harbor2Client::RobotCreate](docs/RobotCreate.md)
|
367
|
+
- [Harbor2Client::RobotCreateV1](docs/RobotCreateV1.md)
|
368
|
+
- [Harbor2Client::RobotCreated](docs/RobotCreated.md)
|
369
|
+
- [Harbor2Client::RobotPermission](docs/RobotPermission.md)
|
370
|
+
- [Harbor2Client::RobotSec](docs/RobotSec.md)
|
371
|
+
- [Harbor2Client::RoleRequest](docs/RoleRequest.md)
|
174
372
|
- [Harbor2Client::ScanOverview](docs/ScanOverview.md)
|
373
|
+
- [Harbor2Client::Scanner](docs/Scanner.md)
|
374
|
+
- [Harbor2Client::ScannerAdapterMetadata](docs/ScannerAdapterMetadata.md)
|
375
|
+
- [Harbor2Client::ScannerCapability](docs/ScannerCapability.md)
|
376
|
+
- [Harbor2Client::ScannerRegistration](docs/ScannerRegistration.md)
|
377
|
+
- [Harbor2Client::ScannerRegistrationReq](docs/ScannerRegistrationReq.md)
|
378
|
+
- [Harbor2Client::ScannerRegistrationSettings](docs/ScannerRegistrationSettings.md)
|
379
|
+
- [Harbor2Client::Schedule](docs/Schedule.md)
|
380
|
+
- [Harbor2Client::ScheduleObj](docs/ScheduleObj.md)
|
381
|
+
- [Harbor2Client::Search](docs/Search.md)
|
382
|
+
- [Harbor2Client::SearchRepository](docs/SearchRepository.md)
|
383
|
+
- [Harbor2Client::SearchResult](docs/SearchResult.md)
|
384
|
+
- [Harbor2Client::StartReplicationExecution](docs/StartReplicationExecution.md)
|
385
|
+
- [Harbor2Client::Statistic](docs/Statistic.md)
|
386
|
+
- [Harbor2Client::Stats](docs/Stats.md)
|
387
|
+
- [Harbor2Client::Storage](docs/Storage.md)
|
388
|
+
- [Harbor2Client::StringConfigItem](docs/StringConfigItem.md)
|
389
|
+
- [Harbor2Client::SupportedWebhookEventTypes](docs/SupportedWebhookEventTypes.md)
|
390
|
+
- [Harbor2Client::SystemInfo](docs/SystemInfo.md)
|
175
391
|
- [Harbor2Client::Tag](docs/Tag.md)
|
176
392
|
- [Harbor2Client::Task](docs/Task.md)
|
393
|
+
- [Harbor2Client::UserCreationReq](docs/UserCreationReq.md)
|
394
|
+
- [Harbor2Client::UserEntity](docs/UserEntity.md)
|
395
|
+
- [Harbor2Client::UserGroup](docs/UserGroup.md)
|
396
|
+
- [Harbor2Client::UserProfile](docs/UserProfile.md)
|
397
|
+
- [Harbor2Client::UserResp](docs/UserResp.md)
|
398
|
+
- [Harbor2Client::UserSearch](docs/UserSearch.md)
|
399
|
+
- [Harbor2Client::UserSearchRespItem](docs/UserSearchRespItem.md)
|
400
|
+
- [Harbor2Client::UserSysAdminFlag](docs/UserSysAdminFlag.md)
|
177
401
|
- [Harbor2Client::VulnerabilitySummary](docs/VulnerabilitySummary.md)
|
402
|
+
- [Harbor2Client::WebhookJob](docs/WebhookJob.md)
|
403
|
+
- [Harbor2Client::WebhookLastTrigger](docs/WebhookLastTrigger.md)
|
404
|
+
- [Harbor2Client::WebhookPolicy](docs/WebhookPolicy.md)
|
405
|
+
- [Harbor2Client::WebhookTargetObject](docs/WebhookTargetObject.md)
|
178
406
|
|
179
407
|
|
180
408
|
## Documentation for Authorization
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# 1. Create a new git branch
|
3
|
+
# 2. Clean out repo (delete everything except build_scripts folder and .git folder)
|
4
|
+
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
+
# 4. Run this script from the root of the repo ( e.g. "build_scripts/generate.sh 2.3.3")
|
6
|
+
# 5. Check previous commits to check required manual fixups (may or may not stil be required)
|
7
|
+
version=$1
|
8
|
+
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/v2.0/swagger.yaml" -l ruby -c /local/build_scripts/swagger-codegen-cli-ruby-config.json -o /local/
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"gemName": "harbor2_client",
|
3
|
+
"moduleName": "Harbor2Client",
|
4
|
+
"gemVersion": "2.3.3.3",
|
5
|
+
"gemLicense": "MIT",
|
6
|
+
"gemRequiredRubyVersion": ">= 1.9",
|
7
|
+
"gemHomepage": "https://github.com/liger1978/ruby-harbor2_client",
|
8
|
+
"gemSummary": "A ruby wrapper for the Harbor swagger APIs",
|
9
|
+
"gemDescription": "A ruby wrapper for the Harbor swagger APIs",
|
10
|
+
"gemAuthor": "Richard Grainger",
|
11
|
+
"gemAuthorEmail": "harbottle@room3d3.com"
|
12
|
+
}
|
data/docs/Access.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Harbor2Client::Access
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**resource** | **String** | The resource of the access | [optional]
|
7
|
+
**action** | **String** | The action of the access | [optional]
|
8
|
+
**effect** | **String** | The effect of the access | [optional]
|
9
|
+
|
10
|
+
|
data/docs/ArtifactApi.md
CHANGED
@@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
[**delete_tag**](ArtifactApi.md#delete_tag) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name} | Delete tag
|
12
12
|
[**get_addition**](ArtifactApi.md#get_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/{addition} | Get the addition of the specific artifact
|
13
13
|
[**get_artifact**](ArtifactApi.md#get_artifact) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference} | Get the specific artifact
|
14
|
+
[**get_vulnerabilities_addition**](ArtifactApi.md#get_vulnerabilities_addition) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/vulnerabilities | Get the vulnerabilities addition of the specific artifact
|
14
15
|
[**list_artifacts**](ArtifactApi.md#list_artifacts) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts | List artifacts
|
15
16
|
[**list_tags**](ArtifactApi.md#list_tags) | **GET** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags | List tags
|
16
17
|
[**remove_label**](ArtifactApi.md#remove_label) | **DELETE** /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels/{label_id} | Remove label from artifact
|
@@ -431,6 +432,7 @@ opts = {
|
|
431
432
|
x_request_id: 'x_request_id_example' # String | An unique ID for the request
|
432
433
|
page: 1, # Integer | The page number
|
433
434
|
page_size: 10, # Integer | The size of per page
|
435
|
+
x_accept_vulnerabilities: 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' # String | A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1'
|
434
436
|
with_tag: true, # BOOLEAN | Specify whether the tags are inclued inside the returning artifacts
|
435
437
|
with_label: false, # BOOLEAN | Specify whether the labels are inclued inside the returning artifacts
|
436
438
|
with_scan_overview: false, # BOOLEAN | Specify whether the scan overview is inclued inside the returning artifacts
|
@@ -457,6 +459,7 @@ Name | Type | Description | Notes
|
|
457
459
|
**x_request_id** | **String**| An unique ID for the request | [optional]
|
458
460
|
**page** | **Integer**| The page number | [optional] [default to 1]
|
459
461
|
**page_size** | **Integer**| The size of per page | [optional] [default to 10]
|
462
|
+
**x_accept_vulnerabilities** | **String**| A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' | [optional] [default to application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0]
|
460
463
|
**with_tag** | **BOOLEAN**| Specify whether the tags are inclued inside the returning artifacts | [optional] [default to true]
|
461
464
|
**with_label** | **BOOLEAN**| Specify whether the labels are inclued inside the returning artifacts | [optional] [default to false]
|
462
465
|
**with_scan_overview** | **BOOLEAN**| Specify whether the scan overview is inclued inside the returning artifacts | [optional] [default to false]
|
@@ -478,6 +481,71 @@ Name | Type | Description | Notes
|
|
478
481
|
|
479
482
|
|
480
483
|
|
484
|
+
# **get_vulnerabilities_addition**
|
485
|
+
> String get_vulnerabilities_addition(project_namerepository_name, reference, , opts)
|
486
|
+
|
487
|
+
Get the vulnerabilities addition of the specific artifact
|
488
|
+
|
489
|
+
Get the vulnerabilities addition of the artifact specified by the reference under the project and repository.
|
490
|
+
|
491
|
+
### Example
|
492
|
+
```ruby
|
493
|
+
# load the gem
|
494
|
+
require 'harbor2_client'
|
495
|
+
# setup authorization
|
496
|
+
Harbor2Client.configure do |config|
|
497
|
+
# Configure HTTP basic authorization: basic
|
498
|
+
config.username = 'YOUR USERNAME'
|
499
|
+
config.password = 'YOUR PASSWORD'
|
500
|
+
end
|
501
|
+
|
502
|
+
api_instance = Harbor2Client::ArtifactApi.new
|
503
|
+
|
504
|
+
project_name = 'project_name_example' # String | The name of the project
|
505
|
+
|
506
|
+
repository_name = 'repository_name_example' # String | The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb
|
507
|
+
|
508
|
+
reference = 'reference_example' # String | The reference of the artifact, can be digest or tag
|
509
|
+
|
510
|
+
opts = {
|
511
|
+
x_request_id: 'x_request_id_example' # String | An unique ID for the request
|
512
|
+
x_accept_vulnerabilities: 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' # String | A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1'
|
513
|
+
}
|
514
|
+
|
515
|
+
begin
|
516
|
+
#Get the vulnerabilities addition of the specific artifact
|
517
|
+
result = api_instance.get_vulnerabilities_addition(project_namerepository_name, reference, , opts)
|
518
|
+
p result
|
519
|
+
rescue Harbor2Client::ApiError => e
|
520
|
+
puts "Exception when calling ArtifactApi->get_vulnerabilities_addition: #{e}"
|
521
|
+
end
|
522
|
+
```
|
523
|
+
|
524
|
+
### Parameters
|
525
|
+
|
526
|
+
Name | Type | Description | Notes
|
527
|
+
------------- | ------------- | ------------- | -------------
|
528
|
+
**project_name** | **String**| The name of the project |
|
529
|
+
**repository_name** | **String**| The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb |
|
530
|
+
**reference** | **String**| The reference of the artifact, can be digest or tag |
|
531
|
+
**x_request_id** | **String**| An unique ID for the request | [optional]
|
532
|
+
**x_accept_vulnerabilities** | **String**| A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' | [optional] [default to application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0]
|
533
|
+
|
534
|
+
### Return type
|
535
|
+
|
536
|
+
**String**
|
537
|
+
|
538
|
+
### Authorization
|
539
|
+
|
540
|
+
[basic](../README.md#basic)
|
541
|
+
|
542
|
+
### HTTP request headers
|
543
|
+
|
544
|
+
- **Content-Type**: application/json
|
545
|
+
- **Accept**: application/json
|
546
|
+
|
547
|
+
|
548
|
+
|
481
549
|
# **list_artifacts**
|
482
550
|
> Array<Artifact> list_artifacts(project_namerepository_name, , opts)
|
483
551
|
|
@@ -504,9 +572,11 @@ repository_name = 'repository_name_example' # String | The name of the repositor
|
|
504
572
|
|
505
573
|
opts = {
|
506
574
|
x_request_id: 'x_request_id_example' # String | An unique ID for the request
|
507
|
-
q: 'q_example' # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
575
|
+
q: 'q_example', # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
576
|
+
sort: 'sort_example', # String | Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\"
|
508
577
|
page: 1, # Integer | The page number
|
509
578
|
page_size: 10, # Integer | The size of per page
|
579
|
+
x_accept_vulnerabilities: 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' # String | A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1'
|
510
580
|
with_tag: true, # BOOLEAN | Specify whether the tags are included inside the returning artifacts
|
511
581
|
with_label: false, # BOOLEAN | Specify whether the labels are included inside the returning artifacts
|
512
582
|
with_scan_overview: false, # BOOLEAN | Specify whether the scan overview is included inside the returning artifacts
|
@@ -531,8 +601,10 @@ Name | Type | Description | Notes
|
|
531
601
|
**repository_name** | **String**| The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb |
|
532
602
|
**x_request_id** | **String**| An unique ID for the request | [optional]
|
533
603
|
**q** | **String**| Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max] | [optional]
|
604
|
+
**sort** | **String**| Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\" | [optional]
|
534
605
|
**page** | **Integer**| The page number | [optional] [default to 1]
|
535
606
|
**page_size** | **Integer**| The size of per page | [optional] [default to 10]
|
607
|
+
**x_accept_vulnerabilities** | **String**| A comma-separated lists of MIME types for the scan report or scan summary. The first mime type will be used when the report found for it. Currently the mime type supports 'application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0' and 'application/vnd.security.vulnerability.report; version=1.1' | [optional] [default to application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0]
|
536
608
|
**with_tag** | **BOOLEAN**| Specify whether the tags are included inside the returning artifacts | [optional] [default to true]
|
537
609
|
**with_label** | **BOOLEAN**| Specify whether the labels are included inside the returning artifacts | [optional] [default to false]
|
538
610
|
**with_scan_overview** | **BOOLEAN**| Specify whether the scan overview is included inside the returning artifacts | [optional] [default to false]
|
@@ -582,7 +654,8 @@ reference = 'reference_example' # String | The reference of the artifact, can be
|
|
582
654
|
|
583
655
|
opts = {
|
584
656
|
x_request_id: 'x_request_id_example' # String | An unique ID for the request
|
585
|
-
q: 'q_example' # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
657
|
+
q: 'q_example', # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
658
|
+
sort: 'sort_example', # String | Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\"
|
586
659
|
page: 1, # Integer | The page number
|
587
660
|
page_size: 10, # Integer | The size of per page
|
588
661
|
with_signature: false, # BOOLEAN | Specify whether the signature is included inside the returning tags
|
@@ -607,6 +680,7 @@ Name | Type | Description | Notes
|
|
607
680
|
**reference** | **String**| The reference of the artifact, can be digest or tag |
|
608
681
|
**x_request_id** | **String**| An unique ID for the request | [optional]
|
609
682
|
**q** | **String**| Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max] | [optional]
|
683
|
+
**sort** | **String**| Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\" | [optional]
|
610
684
|
**page** | **Integer**| The page number | [optional] [default to 1]
|
611
685
|
**page_size** | **Integer**| The size of per page | [optional] [default to 10]
|
612
686
|
**with_signature** | **BOOLEAN**| Specify whether the signature is included inside the returning tags | [optional] [default to false]
|
data/docs/AuditlogApi.md
CHANGED
@@ -29,7 +29,8 @@ api_instance = Harbor2Client::AuditlogApi.new
|
|
29
29
|
|
30
30
|
opts = {
|
31
31
|
x_request_id: 'x_request_id_example' # String | An unique ID for the request
|
32
|
-
q: 'q_example' # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
32
|
+
q: 'q_example', # String | Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max]
|
33
|
+
sort: 'sort_example', # String | Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\"
|
33
34
|
page: 1, # Integer | The page number
|
34
35
|
page_size: 10, # Integer | The size of per page
|
35
36
|
}
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
49
50
|
------------- | ------------- | ------------- | -------------
|
50
51
|
**x_request_id** | **String**| An unique ID for the request | [optional]
|
51
52
|
**q** | **String**| Query string to query resources. Supported query patterns are \"exact match(k=v)\", \"fuzzy match(k=~v)\", \"range(k=[min~max])\", \"list with union releationship(k={v1 v2 v3})\" and \"list with intersetion relationship(k=(v1 v2 v3))\". The value of range and list can be string(enclosed by \" or '), integer or time(in format \"2020-04-09 02:36:00\"). All of these query patterns should be put in the query string \"q=xxx\" and splitted by \",\". e.g. q=k1=v1,k2=~v2,k3=[min~max] | [optional]
|
53
|
+
**sort** | **String**| Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with \"sort=field1,-field2\" | [optional]
|
52
54
|
**page** | **Integer**| The page number | [optional] [default to 1]
|
53
55
|
**page_size** | **Integer**| The size of per page | [optional] [default to 10]
|
54
56
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Harbor2Client::AuthproxySetting
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**endpoint** | **String** | The fully qualified URI of login endpoint of authproxy, such as 'https://192.168.1.2:8443/login' | [optional]
|
7
|
+
**tokenreivew_endpoint** | **String** | The fully qualified URI of token review endpoint of authproxy, such as 'https://192.168.1.2:8443/tokenreview' | [optional]
|
8
|
+
**skip_search** | **BOOLEAN** | The flag to determine whether Harbor can skip search the user/group when adding him as a member. | [optional]
|
9
|
+
**verify_cert** | **BOOLEAN** | The flag to determine whether Harbor should verify the certificate when connecting to the auth proxy. | [optional]
|
10
|
+
**server_certificate** | **String** | The certificate to be pinned when connecting auth proxy. | [optional]
|
11
|
+
|
12
|
+
|