Module: Harbor1Client
- Defined in:
- lib/harbor1_client/version.rb,
lib/harbor1_client.rb,
lib/harbor1_client/api_error.rb,
lib/harbor1_client/api_client.rb,
lib/harbor1_client/models/role.rb,
lib/harbor1_client/models/tags.rb,
lib/harbor1_client/models/user.rb,
lib/harbor1_client/api/scan_api.rb,
lib/harbor1_client/models/label.rb,
lib/harbor1_client/models/quota.rb,
lib/harbor1_client/models/stats.rb,
lib/harbor1_client/api/label_api.rb,
lib/harbor1_client/api/quota_api.rb,
lib/harbor1_client/configuration.rb,
lib/harbor1_client/models/action.rb,
lib/harbor1_client/models/labels.rb,
lib/harbor1_client/models/report.rb,
lib/harbor1_client/models/search.rb,
lib/harbor1_client/api/system_api.rb,
lib/harbor1_client/models/project.rb,
lib/harbor1_client/models/scanner.rb,
lib/harbor1_client/models/storage.rb,
lib/harbor1_client/models/action_1.rb,
lib/harbor1_client/models/endpoint.rb,
lib/harbor1_client/models/manifest.rb,
lib/harbor1_client/models/password.rb,
lib/harbor1_client/models/registry.rb,
lib/harbor1_client/models/resource.rb,
lib/harbor1_client/api/products_api.rb,
lib/harbor1_client/api/scanners_api.rb,
lib/harbor1_client/models/gc_result.rb,
lib/harbor1_client/models/ldap_conf.rb,
lib/harbor1_client/models/namespace.rb,
lib/harbor1_client/models/retag_req.rb,
lib/harbor1_client/api/retention_api.rb,
lib/harbor1_client/models/access_log.rb,
lib/harbor1_client/models/dependency.rb,
lib/harbor1_client/models/is_default.rb,
lib/harbor1_client/models/job_status.rb,
lib/harbor1_client/models/ldap_users.rb,
lib/harbor1_client/models/permission.rb,
lib/harbor1_client/models/repository.rb,
lib/harbor1_client/models/role_param.rb,
lib/harbor1_client/models/user_group.rb,
lib/harbor1_client/models/project_req.rb,
lib/harbor1_client/models/system_info.rb,
lib/harbor1_client/models/user_entity.rb,
lib/harbor1_client/models/user_search.rb,
lib/harbor1_client/models/webhook_job.rb,
lib/harbor1_client/models/detailed_tag.rb,
lib/harbor1_client/models/filter_style.rb,
lib/harbor1_client/models/general_info.rb,
lib/harbor1_client/models/input_secret.rb,
lib/harbor1_client/models/put_registry.rb,
lib/harbor1_client/models/role_request.rb,
lib/harbor1_client/models/user_profile.rb,
lib/harbor1_client/models/chart_version.rb,
lib/harbor1_client/models/cve_whitelist.rb,
lib/harbor1_client/models/ping_registry.rb,
lib/harbor1_client/models/registry_info.rb,
lib/harbor1_client/models/resource_list.rb,
lib/harbor1_client/models/robot_account.rb,
lib/harbor1_client/models/scan_overview.rb,
lib/harbor1_client/models/search_result.rb,
lib/harbor1_client/models/statistic_map.rb,
lib/harbor1_client/api/robot_account_api.rb,
lib/harbor1_client/models/chart_metadata.rb,
lib/harbor1_client/models/chart_versions.rb,
lib/harbor1_client/models/configurations.rb,
lib/harbor1_client/models/has_admin_role.rb,
lib/harbor1_client/models/project_member.rb,
lib/harbor1_client/models/quota_switcher.rb,
lib/harbor1_client/models/repo_signature.rb,
lib/harbor1_client/models/retention_rule.rb,
lib/harbor1_client/models/webhook_policy.rb,
lib/harbor1_client/models/chart_api_error.rb,
lib/harbor1_client/models/chart_info_list.rb,
lib/harbor1_client/models/project_scanner.rb,
lib/harbor1_client/models/project_summary.rb,
lib/harbor1_client/models/security_report.rb,
lib/harbor1_client/models/bool_config_item.rb,
lib/harbor1_client/models/chart_info_entry.rb,
lib/harbor1_client/models/project_metadata.rb,
lib/harbor1_client/models/quota_ref_object.rb,
lib/harbor1_client/models/quota_update_req.rb,
lib/harbor1_client/models/replication_task.rb,
lib/harbor1_client/models/retention_policy.rb,
lib/harbor1_client/models/trigger_settings.rb,
lib/harbor1_client/api/chart_repository_api.rb,
lib/harbor1_client/models/digital_signature.rb,
lib/harbor1_client/models/ldap_import_users.rb,
lib/harbor1_client/models/search_repository.rb,
lib/harbor1_client/models/admin_job_schedule.rb,
lib/harbor1_client/models/cve_whitelist_item.rb,
lib/harbor1_client/models/immutable_tag_rule.rb,
lib/harbor1_client/models/replication_filter.rb,
lib/harbor1_client/models/replication_policy.rb,
lib/harbor1_client/models/retention_metadata.rb,
lib/harbor1_client/models/retention_selector.rb,
lib/harbor1_client/models/scanner_capability.rb,
lib/harbor1_client/models/string_config_item.rb,
lib/harbor1_client/models/vulnerability_item.rb,
lib/harbor1_client/models/inline_response_200.rb,
lib/harbor1_client/models/integer_config_item.rb,
lib/harbor1_client/models/registry_credential.rb,
lib/harbor1_client/models/replication_trigger.rb,
lib/harbor1_client/models/retention_execution.rb,
lib/harbor1_client/models/email_server_setting.rb,
lib/harbor1_client/models/robot_account_access.rb,
lib/harbor1_client/models/robot_account_create.rb,
lib/harbor1_client/models/robot_account_update.rb,
lib/harbor1_client/models/scanner_registration.rb,
lib/harbor1_client/models/webhook_last_trigger.rb,
lib/harbor1_client/models/chart_version_details.rb,
lib/harbor1_client/models/native_report_summary.rb,
lib/harbor1_client/models/overall_health_status.rb,
lib/harbor1_client/models/project_member_entity.rb,
lib/harbor1_client/models/project_summary_quota.rb,
lib/harbor1_client/models/replication_execution.rb,
lib/harbor1_client/models/vulnerability_summary.rb,
lib/harbor1_client/models/webhook_target_object.rb,
lib/harbor1_client/models/admin_job_schedule_obj.rb,
lib/harbor1_client/models/repository_description.rb,
lib/harbor1_client/models/retention_policy_scope.rb,
lib/harbor1_client/models/retention_rule_trigger.rb,
lib/harbor1_client/models/robot_account_post_rep.rb,
lib/harbor1_client/models/component_health_status.rb,
lib/harbor1_client/models/configurations_response.rb,
lib/harbor1_client/models/conflict_formated_error.rb,
lib/harbor1_client/models/retention_rule_metadata.rb,
lib/harbor1_client/models/component_overview_entry.rb,
lib/harbor1_client/models/internal_chart_api_error.rb,
lib/harbor1_client/models/ldap_failed_import_users.rb,
lib/harbor1_client/models/retention_execution_task.rb,
lib/harbor1_client/models/scanner_adapter_metadata.rb,
lib/harbor1_client/models/scanner_registration_req.rb,
lib/harbor1_client/models/vuln_namespace_timestamp.rb,
lib/harbor1_client/models/forbidden_chart_api_error.rb,
lib/harbor1_client/models/not_found_chart_api_error.rb,
lib/harbor1_client/models/bad_request_formated_error.rb,
lib/harbor1_client/models/retention_selector_metadata.rb,
lib/harbor1_client/models/unauthorized_chart_api_error.rb,
lib/harbor1_client/models/retention_rule_param_metadata.rb,
lib/harbor1_client/models/scanner_registration_settings.rb,
lib/harbor1_client/models/configurations_scan_all_policy.rb,
lib/harbor1_client/models/insufficient_storage_chart_api_error.rb,
lib/harbor1_client/models/general_info_clair_vulnerability_status.rb,
lib/harbor1_client/models/configurations_scan_all_policy_parameter.rb
Overview
#Harbor API
#These APIs provide services for manipulating Harbor project.
OpenAPI spec version: 1.10.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.22
Defined Under Namespace
Classes: AccessLog, Action, Action1, AdminJobSchedule, AdminJobScheduleObj, ApiClient, ApiError, BadRequestFormatedError, BoolConfigItem, CVEWhitelist, CVEWhitelistItem, ChartAPIError, ChartInfoEntry, ChartInfoList, ChartMetadata, ChartRepositoryApi, ChartVersion, ChartVersionDetails, ChartVersions, ComponentHealthStatus, ComponentOverviewEntry, Configuration, Configurations, ConfigurationsResponse, ConfigurationsScanAllPolicy, ConfigurationsScanAllPolicyParameter, ConflictFormatedError, Dependency, DetailedTag, DigitalSignature, EmailServerSetting, Endpoint, FilterStyle, ForbiddenChartAPIError, GCResult, GeneralInfo, GeneralInfoClairVulnerabilityStatus, HasAdminRole, ImmutableTagRule, InlineResponse200, InputSecret, InsufficientStorageChartAPIError, IntegerConfigItem, InternalChartAPIError, IsDefault, JobStatus, Label, LabelApi, Labels, LdapConf, LdapFailedImportUsers, LdapImportUsers, LdapUsers, Manifest, Namespace, NativeReportSummary, NotFoundChartAPIError, OverallHealthStatus, Password, Permission, PingRegistry, ProductsApi, Project, ProjectMember, ProjectMemberEntity, ProjectMetadata, ProjectReq, ProjectScanner, ProjectSummary, ProjectSummaryQuota, PutRegistry, Quota, QuotaApi, QuotaRefObject, QuotaSwitcher, QuotaUpdateReq, Registry, RegistryCredential, RegistryInfo, ReplicationExecution, ReplicationFilter, ReplicationPolicy, ReplicationTask, ReplicationTrigger, RepoSignature, Report, Repository, RepositoryDescription, Resource, ResourceList, RetagReq, RetentionApi, RetentionExecution, RetentionExecutionTask, RetentionMetadata, RetentionPolicy, RetentionPolicyScope, RetentionRule, RetentionRuleMetadata, RetentionRuleParamMetadata, RetentionRuleTrigger, RetentionSelector, RetentionSelectorMetadata, RobotAccount, RobotAccountAccess, RobotAccountApi, RobotAccountCreate, RobotAccountPostRep, RobotAccountUpdate, Role, RoleParam, RoleRequest, ScanApi, ScanOverview, Scanner, ScannerAdapterMetadata, ScannerCapability, ScannerRegistration, ScannerRegistrationReq, ScannerRegistrationSettings, ScannersApi, Search, SearchRepository, SearchResult, SecurityReport, StatisticMap, Stats, Storage, StringConfigItem, SystemApi, SystemInfo, Tags, TriggerSettings, UnauthorizedChartAPIError, User, UserEntity, UserGroup, UserProfile, UserSearch, VulnNamespaceTimestamp, VulnerabilityItem, VulnerabilitySummary, WebhookJob, WebhookLastTrigger, WebhookPolicy, WebhookTargetObject
Constant Summary collapse
- VERSION =
'1.10.8.1'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
Harbor1Client.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
174 175 176 177 178 179 180 |
# File 'lib/harbor1_client.rb', line 174 def configure if block_given? yield(Configuration.default) else Configuration.default end end |