Module: Harbor2LegacyClient
- Defined in:
- lib/harbor2_legacy_client/version.rb,
lib/harbor2_legacy_client.rb,
lib/harbor2_legacy_client/api_error.rb,
lib/harbor2_legacy_client/api_client.rb,
lib/harbor2_legacy_client/models/label.rb,
lib/harbor2_legacy_client/api/label_api.rb,
lib/harbor2_legacy_client/configuration.rb,
lib/harbor2_legacy_client/models/labels.rb,
lib/harbor2_legacy_client/api/products_api.rb,
lib/harbor2_legacy_client/models/namespace.rb,
lib/harbor2_legacy_client/models/permission.rb,
lib/harbor2_legacy_client/models/chart_version.rb,
lib/harbor2_legacy_client/models/chart_metadata.rb,
lib/harbor2_legacy_client/models/chart_api_error.rb,
lib/harbor2_legacy_client/api/chart_repository_api.rb,
lib/harbor2_legacy_client/models/email_server_setting.rb,
lib/harbor2_legacy_client/models/conflict_formated_error.rb,
lib/harbor2_legacy_client/models/component_overview_entry.rb,
lib/harbor2_legacy_client/models/internal_chart_api_error.rb,
lib/harbor2_legacy_client/models/forbidden_chart_api_error.rb,
lib/harbor2_legacy_client/models/not_found_chart_api_error.rb,
lib/harbor2_legacy_client/models/bad_request_formated_error.rb,
lib/harbor2_legacy_client/models/unauthorized_chart_api_error.rb,
lib/harbor2_legacy_client/models/insufficient_storage_chart_api_error.rb
Overview
#Harbor API
#These APIs provide services for manipulating Harbor project.
OpenAPI spec version: 2.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.22
Defined Under Namespace
Classes: ApiClient, ApiError, BadRequestFormatedError, ChartAPIError, ChartMetadata, ChartRepositoryApi, ChartVersion, ComponentOverviewEntry, Configuration, ConflictFormatedError, EmailServerSetting, ForbiddenChartAPIError, InsufficientStorageChartAPIError, InternalChartAPIError, Label, LabelApi, Labels, Namespace, NotFoundChartAPIError, Permission, ProductsApi, UnauthorizedChartAPIError
Constant Summary collapse
- VERSION =
'2.3.3.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.
Harbor2LegacyClient.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
50 51 52 53 54 55 56 |
# File 'lib/harbor2_legacy_client.rb', line 50 def configure if block_given? yield(Configuration.default) else Configuration.default end end |