cloudsmith-api 0.51.34 → 0.52.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +14 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +63 -0
- data/docs/ConanPackageUpload.md +1 -0
- data/docs/EntitlementsCreate.md +1 -1
- data/docs/EntitlementsPartialUpdate.md +1 -1
- data/docs/EntitlementsRefresh.md +1 -1
- data/docs/MavenPackageUpload.md +1 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackagesApi.md +238 -39
- data/docs/PackagesCopy.md +1 -1
- data/docs/PackagesMove.md +0 -1
- data/docs/PackagesTag.md +10 -0
- data/docs/PackagesUploadAlpine.md +1 -0
- data/docs/PackagesUploadCargo.md +1 -0
- data/docs/PackagesUploadCocoapods.md +1 -0
- data/docs/PackagesUploadComposer.md +1 -0
- data/docs/PackagesUploadConan.md +3 -0
- data/docs/PackagesUploadCran.md +1 -0
- data/docs/PackagesUploadDart.md +1 -0
- data/docs/PackagesUploadDeb.md +3 -0
- data/docs/PackagesUploadDocker.md +1 -0
- data/docs/PackagesUploadGo.md +1 -0
- data/docs/PackagesUploadHelm.md +1 -0
- data/docs/PackagesUploadLuarocks.md +1 -0
- data/docs/PackagesUploadMaven.md +1 -0
- data/docs/PackagesUploadNpm.md +1 -0
- data/docs/PackagesUploadNuget.md +1 -0
- data/docs/PackagesUploadPython.md +1 -0
- data/docs/PackagesUploadRaw.md +1 -0
- data/docs/PackagesUploadRpm.md +1 -0
- data/docs/PackagesUploadRuby.md +1 -0
- data/docs/{PackagesResync.md → PackagesUploadTerraform.md} +3 -1
- data/docs/PackagesUploadVagrant.md +1 -0
- data/docs/PackagesValidateuploadAlpine.md +1 -0
- data/docs/PackagesValidateuploadCargo.md +1 -0
- data/docs/PackagesValidateuploadCocoapods.md +1 -0
- data/docs/PackagesValidateuploadComposer.md +1 -0
- data/docs/PackagesValidateuploadConan.md +3 -0
- data/docs/PackagesValidateuploadCran.md +1 -0
- data/docs/PackagesValidateuploadDart.md +1 -0
- data/docs/PackagesValidateuploadDeb.md +3 -0
- data/docs/PackagesValidateuploadDocker.md +1 -0
- data/docs/PackagesValidateuploadGo.md +1 -0
- data/docs/PackagesValidateuploadHelm.md +1 -0
- data/docs/PackagesValidateuploadLuarocks.md +1 -0
- data/docs/PackagesValidateuploadMaven.md +1 -0
- data/docs/PackagesValidateuploadNpm.md +1 -0
- data/docs/PackagesValidateuploadNuget.md +1 -0
- data/docs/PackagesValidateuploadPython.md +1 -0
- data/docs/PackagesValidateuploadRaw.md +1 -0
- data/docs/PackagesValidateuploadRpm.md +1 -0
- data/docs/PackagesValidateuploadRuby.md +1 -0
- data/docs/PackagesValidateuploadTerraform.md +10 -0
- data/docs/PackagesValidateuploadVagrant.md +1 -0
- data/docs/RawPackageUpload.md +1 -0
- data/docs/ReposCreate.md +4 -7
- data/docs/ReposPartialUpdate.md +3 -7
- data/docs/Repository.md +11 -10
- data/docs/RepositoryToken.md +3 -3
- data/docs/RepositoryTokenRefresh.md +3 -3
- data/docs/RepositoryTokenSyncTokens.md +3 -3
- data/docs/RepositoryWebhook.md +1 -0
- data/docs/StorageRegion.md +9 -0
- data/docs/StorageregionsApi.md +122 -0
- data/docs/VagrantPackageUpload.md +1 -0
- data/docs/WebhooksCreate.md +1 -0
- data/docs/WebhooksPartialUpdate.md +1 -0
- data/lib/cloudsmith-api.rb +6 -1
- data/lib/cloudsmith-api/api/packages_api.rb +237 -53
- data/lib/cloudsmith-api/api/storageregions_api.rb +119 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +743 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/entitlements_create.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +1 -1
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +1 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/package.rb +21 -1
- data/lib/cloudsmith-api/models/package_copy.rb +21 -1
- data/lib/cloudsmith-api/models/package_move.rb +21 -1
- data/lib/cloudsmith-api/models/packages_copy.rb +1 -1
- data/lib/cloudsmith-api/models/packages_move.rb +4 -14
- data/lib/cloudsmith-api/models/packages_tag.rb +211 -0
- data/lib/cloudsmith-api/models/packages_upload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_upload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_upload_terraform.rb +214 -0
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_alpine.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cargo.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cocoapods.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_conan.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_cran.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_dart.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +34 -4
- data/lib/cloudsmith-api/models/packages_validateupload_docker.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_go.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_helm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_luarocks.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_npm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_nuget.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +11 -1
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +14 -4
- data/lib/cloudsmith-api/models/packages_validateupload_terraform.rb +214 -0
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +11 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/repos_create.rb +17 -57
- data/lib/cloudsmith-api/models/repos_partial_update.rb +4 -44
- data/lib/cloudsmith-api/models/repository.rb +24 -24
- data/lib/cloudsmith-api/models/repository_token.rb +3 -3
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +3 -3
- data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +3 -3
- data/lib/cloudsmith-api/models/repository_webhook.rb +11 -1
- data/lib/cloudsmith-api/models/{packages_resync.rb → storage_region.rb} +29 -9
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_create.rb +11 -1
- data/lib/cloudsmith-api/models/webhooks_partial_update.rb +11 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/packages_api_spec.rb +59 -17
- data/spec/api/storageregions_api_spec.rb +58 -0
- data/spec/models/alpine_package_upload_spec.rb +372 -0
- data/spec/models/conan_package_upload_spec.rb +6 -0
- data/spec/models/maven_package_upload_spec.rb +6 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/packages_move_spec.rb +0 -6
- data/spec/models/packages_tag_spec.rb +54 -0
- data/spec/models/packages_upload_alpine_spec.rb +6 -0
- data/spec/models/packages_upload_cargo_spec.rb +6 -0
- data/spec/models/packages_upload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_upload_composer_spec.rb +6 -0
- data/spec/models/packages_upload_conan_spec.rb +18 -0
- data/spec/models/packages_upload_cran_spec.rb +6 -0
- data/spec/models/packages_upload_dart_spec.rb +6 -0
- data/spec/models/packages_upload_deb_spec.rb +18 -0
- data/spec/models/packages_upload_docker_spec.rb +6 -0
- data/spec/models/packages_upload_go_spec.rb +6 -0
- data/spec/models/packages_upload_helm_spec.rb +6 -0
- data/spec/models/packages_upload_luarocks_spec.rb +6 -0
- data/spec/models/packages_upload_maven_spec.rb +6 -0
- data/spec/models/packages_upload_npm_spec.rb +6 -0
- data/spec/models/packages_upload_nuget_spec.rb +6 -0
- data/spec/models/packages_upload_python_spec.rb +6 -0
- data/spec/models/packages_upload_raw_spec.rb +6 -0
- data/spec/models/packages_upload_rpm_spec.rb +6 -0
- data/spec/models/packages_upload_ruby_spec.rb +6 -0
- data/spec/models/packages_upload_terraform_spec.rb +54 -0
- data/spec/models/packages_upload_vagrant_spec.rb +6 -0
- data/spec/models/packages_validateupload_alpine_spec.rb +6 -0
- data/spec/models/packages_validateupload_cargo_spec.rb +6 -0
- data/spec/models/packages_validateupload_cocoapods_spec.rb +6 -0
- data/spec/models/packages_validateupload_composer_spec.rb +6 -0
- data/spec/models/packages_validateupload_conan_spec.rb +18 -0
- data/spec/models/packages_validateupload_cran_spec.rb +6 -0
- data/spec/models/packages_validateupload_dart_spec.rb +6 -0
- data/spec/models/packages_validateupload_deb_spec.rb +18 -0
- data/spec/models/packages_validateupload_docker_spec.rb +6 -0
- data/spec/models/packages_validateupload_go_spec.rb +6 -0
- data/spec/models/packages_validateupload_helm_spec.rb +6 -0
- data/spec/models/packages_validateupload_luarocks_spec.rb +6 -0
- data/spec/models/packages_validateupload_maven_spec.rb +6 -0
- data/spec/models/packages_validateupload_npm_spec.rb +6 -0
- data/spec/models/packages_validateupload_nuget_spec.rb +6 -0
- data/spec/models/packages_validateupload_python_spec.rb +6 -0
- data/spec/models/packages_validateupload_raw_spec.rb +6 -0
- data/spec/models/packages_validateupload_rpm_spec.rb +6 -0
- data/spec/models/packages_validateupload_ruby_spec.rb +6 -0
- data/spec/models/packages_validateupload_terraform_spec.rb +54 -0
- data/spec/models/packages_validateupload_vagrant_spec.rb +6 -0
- data/spec/models/raw_package_upload_spec.rb +6 -0
- data/spec/models/repos_create_spec.rb +3 -21
- data/spec/models/repos_partial_update_spec.rb +0 -24
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/repository_webhook_spec.rb +6 -0
- data/spec/models/{packages_resync_spec.rb → storage_region_spec.rb} +13 -7
- data/spec/models/vagrant_package_upload_spec.rb +6 -0
- data/spec/models/webhooks_create_spec.rb +6 -0
- data/spec/models/webhooks_partial_update_spec.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.3.0 → json-2.3.1}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Code-of-Conduct.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/License.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Manifest.txt +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/README.rdoc +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/Rakefile +39 -22
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/htmldiff +7 -4
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/bin/ldiff +4 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/COPYING.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/docs/artistic.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs.rb +184 -170
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/array.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/block.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/callbacks.rb +15 -12
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/change.rb +30 -37
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/htmldiff.rb +17 -16
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/hunk.rb +156 -74
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/internals.rb +36 -39
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/ldiff.rb +46 -42
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/lib/diff/lcs/string.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/change_spec.rb +31 -7
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3/spec/ldiff_spec.rb → diff-lcs-1.4.4/spec/diff_spec.rb} +15 -11
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds1.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/fixtures/ds2.csv +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/lcs_spec.rb +10 -10
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/patch_spec.rb +93 -99
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/spec_helper.rb +118 -64
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/{diff-lcs-1.3 → diff-lcs-1.4.4}/spec/traverse_sequences_spec.rb +28 -28
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/.travis.yml +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/CHANGES.md +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README-json-jruby.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/README.md +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/Rakefile +8 -87
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/VERSION +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.c +71 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/generator/generator.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/depend +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.c +71 -70
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.h +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/ext/parser/parser.rl +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/ext/json/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/install.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ByteListTranscoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Generator.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorMethods.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/GeneratorState.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/OptionsReader.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Parser.rl +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/ParserService.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/RuntimeInfo.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringDecoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/StringEncoder.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/java/src/json/ext/Utils.java +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json-java.gemspec +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/json.gemspec +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/json_pure.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/bigdecimal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/complex.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/core.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/date_time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/exception.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/ostruct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/range.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/rational.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/regexp.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/set.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/struct.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/add/time.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/common.rb +691 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/generic_object.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/generator.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/pure/parser.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/references/rfc7159.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail10.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail11.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail12.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail13.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail14.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail18.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail19.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail20.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail21.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail22.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail23.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail24.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail25.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail27.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail28.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail4.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail5.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail6.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail7.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail8.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/fail9.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/obsolete_fail1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass1.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass15.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass16.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass17.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass2.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass26.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/fixtures/pass3.json +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_addition_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_common_interface_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_encoding_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_ext_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_fixtures_test.rb +6 -1
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generator_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_generic_object_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_parser_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/json_string_matching_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tests/test_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/diff.sh +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/fuzz.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.3.0 → json-2.3.1}/tools/server.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{diff-lcs-1.3.gemspec → diff-lcs-1.4.4.gemspec} +11 -13
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.3.0.gemspec → json-2.3.1.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
- metadata +276 -249
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/Contributing.md +0 -83
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/History.md +0 -220
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/LICENSE +0 -56
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/VERSION +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json.rb +0 -63
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/common.rb +0 -456
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.3.0/lib/json/ext/parser.so +0 -0
data/docs/RepositoryToken.md
CHANGED
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
|
|
7
7
|
**created_by** | **String** | | [optional]
|
8
8
|
**created_by_url** | **String** | | [optional]
|
9
9
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
10
|
-
**has_limits** | **
|
10
|
+
**has_limits** | **BOOLEAN** | | [optional]
|
11
11
|
**identifier** | **Integer** | | [optional]
|
12
12
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
13
|
-
**is_limited** | **
|
13
|
+
**is_limited** | **BOOLEAN** | | [optional]
|
14
14
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
15
15
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
16
16
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
17
17
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
18
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
18
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
19
19
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
20
20
|
**metadata** | **Object** | | [optional]
|
21
21
|
**name** | **String** | |
|
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
|
|
7
7
|
**created_by** | **String** | | [optional]
|
8
8
|
**created_by_url** | **String** | | [optional]
|
9
9
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
10
|
-
**has_limits** | **
|
10
|
+
**has_limits** | **BOOLEAN** | | [optional]
|
11
11
|
**identifier** | **Integer** | | [optional]
|
12
12
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
13
|
-
**is_limited** | **
|
13
|
+
**is_limited** | **BOOLEAN** | | [optional]
|
14
14
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
15
15
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
16
16
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
17
17
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
18
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
18
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
19
19
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
20
20
|
**metadata** | **Object** | | [optional]
|
21
21
|
**name** | **String** | | [optional]
|
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
|
|
7
7
|
**created_by** | **String** | | [optional]
|
8
8
|
**created_by_url** | **String** | | [optional]
|
9
9
|
**default** | **BOOLEAN** | If selected this is the default token for this repository. | [optional]
|
10
|
-
**has_limits** | **
|
10
|
+
**has_limits** | **BOOLEAN** | | [optional]
|
11
11
|
**identifier** | **Integer** | | [optional]
|
12
12
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
13
|
-
**is_limited** | **
|
13
|
+
**is_limited** | **BOOLEAN** | | [optional]
|
14
14
|
**limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
|
15
15
|
**limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
|
16
16
|
**limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
17
17
|
**limit_num_downloads** | **Integer** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
18
|
-
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata.
|
18
|
+
**limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
|
19
19
|
**limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
|
20
20
|
**metadata** | **String** | | [optional]
|
21
21
|
**name** | **String** | | [optional]
|
data/docs/RepositoryWebhook.md
CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**last_response_status** | **Integer** | | [optional]
|
16
16
|
**last_response_status_str** | **String** | | [optional]
|
17
17
|
**num_sent** | **Integer** | | [optional]
|
18
|
+
**package_query** | **String** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional]
|
18
19
|
**request_body_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
19
20
|
**request_body_format_str** | **String** | | [optional]
|
20
21
|
**request_body_template_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# CloudsmithApi::StorageregionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cloudsmith.io*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**storage_regions_list**](StorageregionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
|
8
|
+
[**storage_regions_read**](StorageregionsApi.md#storage_regions_read) | **GET** /storage-regions/{slug}/ | Get a specific storage region.
|
9
|
+
|
10
|
+
|
11
|
+
# **storage_regions_list**
|
12
|
+
> Array<StorageRegion> storage_regions_list
|
13
|
+
|
14
|
+
Get a list of all available storage regions.
|
15
|
+
|
16
|
+
Get a list of all available storage regions.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'cloudsmith-api'
|
22
|
+
# setup authorization
|
23
|
+
CloudsmithApi.configure do |config|
|
24
|
+
# Configure API key authorization: apikey
|
25
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
28
|
+
|
29
|
+
# Configure API key authorization: csrf_token
|
30
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
31
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = CloudsmithApi::StorageregionsApi.new
|
36
|
+
|
37
|
+
begin
|
38
|
+
#Get a list of all available storage regions.
|
39
|
+
result = api_instance.storage_regions_list
|
40
|
+
p result
|
41
|
+
rescue CloudsmithApi::ApiError => e
|
42
|
+
puts "Exception when calling StorageregionsApi->storage_regions_list: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
This endpoint does not need any parameter.
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**Array<StorageRegion>**](StorageRegion.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: Not defined
|
60
|
+
- **Accept**: Not defined
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
# **storage_regions_read**
|
65
|
+
> StorageRegion storage_regions_read(slug)
|
66
|
+
|
67
|
+
Get a specific storage region.
|
68
|
+
|
69
|
+
Get a specific storage region.
|
70
|
+
|
71
|
+
### Example
|
72
|
+
```ruby
|
73
|
+
# load the gem
|
74
|
+
require 'cloudsmith-api'
|
75
|
+
# setup authorization
|
76
|
+
CloudsmithApi.configure do |config|
|
77
|
+
# Configure API key authorization: apikey
|
78
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
79
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
80
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
81
|
+
|
82
|
+
# Configure API key authorization: csrf_token
|
83
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
84
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
86
|
+
end
|
87
|
+
|
88
|
+
api_instance = CloudsmithApi::StorageregionsApi.new
|
89
|
+
|
90
|
+
slug = "slug_example" # String |
|
91
|
+
|
92
|
+
|
93
|
+
begin
|
94
|
+
#Get a specific storage region.
|
95
|
+
result = api_instance.storage_regions_read(slug)
|
96
|
+
p result
|
97
|
+
rescue CloudsmithApi::ApiError => e
|
98
|
+
puts "Exception when calling StorageregionsApi->storage_regions_read: #{e}"
|
99
|
+
end
|
100
|
+
```
|
101
|
+
|
102
|
+
### Parameters
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**slug** | **String**| |
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
[**StorageRegion**](StorageRegion.md)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: Not defined
|
120
|
+
|
121
|
+
|
122
|
+
|
@@ -53,6 +53,7 @@ Name | Type | Description | Notes
|
|
53
53
|
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
54
54
|
**sync_finished_at** | **String** | The datetime the package sync was finished at. | [optional]
|
55
55
|
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
56
|
+
**tags_immutable** | **Object** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional]
|
56
57
|
**type_display** | **String** | | [optional]
|
57
58
|
**uploaded_at** | **String** | The date this package was uploaded. | [optional]
|
58
59
|
**uploader** | **String** | | [optional]
|
data/docs/WebhooksCreate.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**events** | **Array<String>** | None |
|
7
7
|
**is_active** | **BOOLEAN** | If enabled, the webhook will trigger on events and send payloads to the configured target URL. | [optional]
|
8
|
+
**package_query** | **String** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional]
|
8
9
|
**request_body_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
9
10
|
**request_body_template_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
10
11
|
**request_content_type** | **String** | The value that will be sent for the 'Content Type' header. | [optional]
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**events** | **Array<String>** | None | [optional]
|
7
7
|
**is_active** | **BOOLEAN** | If enabled, the webhook will trigger on events and send payloads to the configured target URL. | [optional]
|
8
|
+
**package_query** | **String** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional]
|
8
9
|
**request_body_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
9
10
|
**request_body_template_format** | **String** | The format of the payloads for webhook requests. | [optional]
|
10
11
|
**request_content_type** | **String** | The value that will be sent for the 'Content Type' header. | [optional]
|
data/lib/cloudsmith-api.rb
CHANGED
@@ -17,6 +17,7 @@ require 'cloudsmith-api/version'
|
|
17
17
|
require 'cloudsmith-api/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
+
require 'cloudsmith-api/models/alpine_package_upload'
|
20
21
|
require 'cloudsmith-api/models/conan_package_upload'
|
21
22
|
require 'cloudsmith-api/models/distribution'
|
22
23
|
require 'cloudsmith-api/models/distros_versions'
|
@@ -41,7 +42,7 @@ require 'cloudsmith-api/models/package_move'
|
|
41
42
|
require 'cloudsmith-api/models/package_status'
|
42
43
|
require 'cloudsmith-api/models/packages_copy'
|
43
44
|
require 'cloudsmith-api/models/packages_move'
|
44
|
-
require 'cloudsmith-api/models/
|
45
|
+
require 'cloudsmith-api/models/packages_tag'
|
45
46
|
require 'cloudsmith-api/models/packages_upload_alpine'
|
46
47
|
require 'cloudsmith-api/models/packages_upload_cargo'
|
47
48
|
require 'cloudsmith-api/models/packages_upload_cocoapods'
|
@@ -61,6 +62,7 @@ require 'cloudsmith-api/models/packages_upload_python'
|
|
61
62
|
require 'cloudsmith-api/models/packages_upload_raw'
|
62
63
|
require 'cloudsmith-api/models/packages_upload_rpm'
|
63
64
|
require 'cloudsmith-api/models/packages_upload_ruby'
|
65
|
+
require 'cloudsmith-api/models/packages_upload_terraform'
|
64
66
|
require 'cloudsmith-api/models/packages_upload_vagrant'
|
65
67
|
require 'cloudsmith-api/models/packages_validateupload_alpine'
|
66
68
|
require 'cloudsmith-api/models/packages_validateupload_cargo'
|
@@ -81,6 +83,7 @@ require 'cloudsmith-api/models/packages_validateupload_python'
|
|
81
83
|
require 'cloudsmith-api/models/packages_validateupload_raw'
|
82
84
|
require 'cloudsmith-api/models/packages_validateupload_rpm'
|
83
85
|
require 'cloudsmith-api/models/packages_validateupload_ruby'
|
86
|
+
require 'cloudsmith-api/models/packages_validateupload_terraform'
|
84
87
|
require 'cloudsmith-api/models/packages_validateupload_vagrant'
|
85
88
|
require 'cloudsmith-api/models/packagesownerrepo_architectures'
|
86
89
|
require 'cloudsmith-api/models/packagesownerrepo_files'
|
@@ -97,6 +100,7 @@ require 'cloudsmith-api/models/repository_webhook'
|
|
97
100
|
require 'cloudsmith-api/models/resources_rate_check'
|
98
101
|
require 'cloudsmith-api/models/status'
|
99
102
|
require 'cloudsmith-api/models/status_basic'
|
103
|
+
require 'cloudsmith-api/models/storage_region'
|
100
104
|
require 'cloudsmith-api/models/user_auth_token'
|
101
105
|
require 'cloudsmith-api/models/user_brief'
|
102
106
|
require 'cloudsmith-api/models/user_profile'
|
@@ -118,6 +122,7 @@ require 'cloudsmith-api/api/packages_api'
|
|
118
122
|
require 'cloudsmith-api/api/rates_api'
|
119
123
|
require 'cloudsmith-api/api/repos_api'
|
120
124
|
require 'cloudsmith-api/api/status_api'
|
125
|
+
require 'cloudsmith-api/api/storageregions_api'
|
121
126
|
require 'cloudsmith-api/api/user_api'
|
122
127
|
require 'cloudsmith-api/api/users_api'
|
123
128
|
require 'cloudsmith-api/api/webhooks_api'
|
@@ -351,7 +351,6 @@ module CloudsmithApi
|
|
351
351
|
# @param repo
|
352
352
|
# @param identifier
|
353
353
|
# @param [Hash] opts the optional parameters
|
354
|
-
# @option opts [PackagesResync] :data
|
355
354
|
# @return [Package]
|
356
355
|
def packages_resync(owner, repo, identifier, opts = {})
|
357
356
|
data, _status_code, _headers = packages_resync_with_http_info(owner, repo, identifier, opts)
|
@@ -364,7 +363,6 @@ module CloudsmithApi
|
|
364
363
|
# @param repo
|
365
364
|
# @param identifier
|
366
365
|
# @param [Hash] opts the optional parameters
|
367
|
-
# @option opts [PackagesResync] :data
|
368
366
|
# @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
|
369
367
|
def packages_resync_with_http_info(owner, repo, identifier, opts = {})
|
370
368
|
if @api_client.config.debugging
|
@@ -390,14 +388,12 @@ module CloudsmithApi
|
|
390
388
|
|
391
389
|
# header parameters
|
392
390
|
header_params = {}
|
393
|
-
# HTTP header 'Content-Type'
|
394
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
395
391
|
|
396
392
|
# form parameters
|
397
393
|
form_params = {}
|
398
394
|
|
399
395
|
# http body (model)
|
400
|
-
post_body =
|
396
|
+
post_body = nil
|
401
397
|
auth_names = ['apikey', 'csrf_token']
|
402
398
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
403
399
|
:header_params => header_params,
|
@@ -475,13 +471,80 @@ module CloudsmithApi
|
|
475
471
|
return data, status_code, headers
|
476
472
|
end
|
477
473
|
|
474
|
+
# Add/Replace/Remove tags for a package.
|
475
|
+
# Add/Replace/Remove tags for a package.
|
476
|
+
# @param owner
|
477
|
+
# @param repo
|
478
|
+
# @param identifier
|
479
|
+
# @param [Hash] opts the optional parameters
|
480
|
+
# @option opts [PackagesTag] :data
|
481
|
+
# @return [Package]
|
482
|
+
def packages_tag(owner, repo, identifier, opts = {})
|
483
|
+
data, _status_code, _headers = packages_tag_with_http_info(owner, repo, identifier, opts)
|
484
|
+
return data
|
485
|
+
end
|
486
|
+
|
487
|
+
# Add/Replace/Remove tags for a package.
|
488
|
+
# Add/Replace/Remove tags for a package.
|
489
|
+
# @param owner
|
490
|
+
# @param repo
|
491
|
+
# @param identifier
|
492
|
+
# @param [Hash] opts the optional parameters
|
493
|
+
# @option opts [PackagesTag] :data
|
494
|
+
# @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
|
495
|
+
def packages_tag_with_http_info(owner, repo, identifier, opts = {})
|
496
|
+
if @api_client.config.debugging
|
497
|
+
@api_client.config.logger.debug "Calling API: PackagesApi.packages_tag ..."
|
498
|
+
end
|
499
|
+
# verify the required parameter 'owner' is set
|
500
|
+
if @api_client.config.client_side_validation && owner.nil?
|
501
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_tag"
|
502
|
+
end
|
503
|
+
# verify the required parameter 'repo' is set
|
504
|
+
if @api_client.config.client_side_validation && repo.nil?
|
505
|
+
fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_tag"
|
506
|
+
end
|
507
|
+
# verify the required parameter 'identifier' is set
|
508
|
+
if @api_client.config.client_side_validation && identifier.nil?
|
509
|
+
fail ArgumentError, "Missing the required parameter 'identifier' when calling PackagesApi.packages_tag"
|
510
|
+
end
|
511
|
+
# resource path
|
512
|
+
local_var_path = "/packages/{owner}/{repo}/{identifier}/tag/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
513
|
+
|
514
|
+
# query parameters
|
515
|
+
query_params = {}
|
516
|
+
|
517
|
+
# header parameters
|
518
|
+
header_params = {}
|
519
|
+
# HTTP header 'Content-Type'
|
520
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
521
|
+
|
522
|
+
# form parameters
|
523
|
+
form_params = {}
|
524
|
+
|
525
|
+
# http body (model)
|
526
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
527
|
+
auth_names = ['apikey', 'csrf_token']
|
528
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
529
|
+
:header_params => header_params,
|
530
|
+
:query_params => query_params,
|
531
|
+
:form_params => form_params,
|
532
|
+
:body => post_body,
|
533
|
+
:auth_names => auth_names,
|
534
|
+
:return_type => 'Package')
|
535
|
+
if @api_client.config.debugging
|
536
|
+
@api_client.config.logger.debug "API called: PackagesApi#packages_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
537
|
+
end
|
538
|
+
return data, status_code, headers
|
539
|
+
end
|
540
|
+
|
478
541
|
# Create a new Alpine package
|
479
542
|
# Create a new Alpine package
|
480
543
|
# @param owner
|
481
544
|
# @param repo
|
482
545
|
# @param [Hash] opts the optional parameters
|
483
546
|
# @option opts [PackagesUploadAlpine] :data
|
484
|
-
# @return [
|
547
|
+
# @return [AlpinePackageUpload]
|
485
548
|
def packages_upload_alpine(owner, repo, opts = {})
|
486
549
|
data, _status_code, _headers = packages_upload_alpine_with_http_info(owner, repo, opts)
|
487
550
|
return data
|
@@ -493,7 +556,7 @@ module CloudsmithApi
|
|
493
556
|
# @param repo
|
494
557
|
# @param [Hash] opts the optional parameters
|
495
558
|
# @option opts [PackagesUploadAlpine] :data
|
496
|
-
# @return [Array<(
|
559
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
497
560
|
def packages_upload_alpine_with_http_info(owner, repo, opts = {})
|
498
561
|
if @api_client.config.debugging
|
499
562
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_alpine ..."
|
@@ -529,7 +592,7 @@ module CloudsmithApi
|
|
529
592
|
:form_params => form_params,
|
530
593
|
:body => post_body,
|
531
594
|
:auth_names => auth_names,
|
532
|
-
:return_type => '
|
595
|
+
:return_type => 'AlpinePackageUpload')
|
533
596
|
if @api_client.config.debugging
|
534
597
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_alpine\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
535
598
|
end
|
@@ -542,7 +605,7 @@ module CloudsmithApi
|
|
542
605
|
# @param repo
|
543
606
|
# @param [Hash] opts the optional parameters
|
544
607
|
# @option opts [PackagesUploadCargo] :data
|
545
|
-
# @return [
|
608
|
+
# @return [AlpinePackageUpload]
|
546
609
|
def packages_upload_cargo(owner, repo, opts = {})
|
547
610
|
data, _status_code, _headers = packages_upload_cargo_with_http_info(owner, repo, opts)
|
548
611
|
return data
|
@@ -554,7 +617,7 @@ module CloudsmithApi
|
|
554
617
|
# @param repo
|
555
618
|
# @param [Hash] opts the optional parameters
|
556
619
|
# @option opts [PackagesUploadCargo] :data
|
557
|
-
# @return [Array<(
|
620
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
558
621
|
def packages_upload_cargo_with_http_info(owner, repo, opts = {})
|
559
622
|
if @api_client.config.debugging
|
560
623
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cargo ..."
|
@@ -590,7 +653,7 @@ module CloudsmithApi
|
|
590
653
|
:form_params => form_params,
|
591
654
|
:body => post_body,
|
592
655
|
:auth_names => auth_names,
|
593
|
-
:return_type => '
|
656
|
+
:return_type => 'AlpinePackageUpload')
|
594
657
|
if @api_client.config.debugging
|
595
658
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_cargo\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
596
659
|
end
|
@@ -603,7 +666,7 @@ module CloudsmithApi
|
|
603
666
|
# @param repo
|
604
667
|
# @param [Hash] opts the optional parameters
|
605
668
|
# @option opts [PackagesUploadCocoapods] :data
|
606
|
-
# @return [
|
669
|
+
# @return [AlpinePackageUpload]
|
607
670
|
def packages_upload_cocoapods(owner, repo, opts = {})
|
608
671
|
data, _status_code, _headers = packages_upload_cocoapods_with_http_info(owner, repo, opts)
|
609
672
|
return data
|
@@ -615,7 +678,7 @@ module CloudsmithApi
|
|
615
678
|
# @param repo
|
616
679
|
# @param [Hash] opts the optional parameters
|
617
680
|
# @option opts [PackagesUploadCocoapods] :data
|
618
|
-
# @return [Array<(
|
681
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
619
682
|
def packages_upload_cocoapods_with_http_info(owner, repo, opts = {})
|
620
683
|
if @api_client.config.debugging
|
621
684
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cocoapods ..."
|
@@ -651,7 +714,7 @@ module CloudsmithApi
|
|
651
714
|
:form_params => form_params,
|
652
715
|
:body => post_body,
|
653
716
|
:auth_names => auth_names,
|
654
|
-
:return_type => '
|
717
|
+
:return_type => 'AlpinePackageUpload')
|
655
718
|
if @api_client.config.debugging
|
656
719
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_cocoapods\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
657
720
|
end
|
@@ -664,7 +727,7 @@ module CloudsmithApi
|
|
664
727
|
# @param repo
|
665
728
|
# @param [Hash] opts the optional parameters
|
666
729
|
# @option opts [PackagesUploadComposer] :data
|
667
|
-
# @return [
|
730
|
+
# @return [AlpinePackageUpload]
|
668
731
|
def packages_upload_composer(owner, repo, opts = {})
|
669
732
|
data, _status_code, _headers = packages_upload_composer_with_http_info(owner, repo, opts)
|
670
733
|
return data
|
@@ -676,7 +739,7 @@ module CloudsmithApi
|
|
676
739
|
# @param repo
|
677
740
|
# @param [Hash] opts the optional parameters
|
678
741
|
# @option opts [PackagesUploadComposer] :data
|
679
|
-
# @return [Array<(
|
742
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
680
743
|
def packages_upload_composer_with_http_info(owner, repo, opts = {})
|
681
744
|
if @api_client.config.debugging
|
682
745
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_composer ..."
|
@@ -712,7 +775,7 @@ module CloudsmithApi
|
|
712
775
|
:form_params => form_params,
|
713
776
|
:body => post_body,
|
714
777
|
:auth_names => auth_names,
|
715
|
-
:return_type => '
|
778
|
+
:return_type => 'AlpinePackageUpload')
|
716
779
|
if @api_client.config.debugging
|
717
780
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_composer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
718
781
|
end
|
@@ -786,7 +849,7 @@ module CloudsmithApi
|
|
786
849
|
# @param repo
|
787
850
|
# @param [Hash] opts the optional parameters
|
788
851
|
# @option opts [PackagesUploadCran] :data
|
789
|
-
# @return [
|
852
|
+
# @return [AlpinePackageUpload]
|
790
853
|
def packages_upload_cran(owner, repo, opts = {})
|
791
854
|
data, _status_code, _headers = packages_upload_cran_with_http_info(owner, repo, opts)
|
792
855
|
return data
|
@@ -798,7 +861,7 @@ module CloudsmithApi
|
|
798
861
|
# @param repo
|
799
862
|
# @param [Hash] opts the optional parameters
|
800
863
|
# @option opts [PackagesUploadCran] :data
|
801
|
-
# @return [Array<(
|
864
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
802
865
|
def packages_upload_cran_with_http_info(owner, repo, opts = {})
|
803
866
|
if @api_client.config.debugging
|
804
867
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_cran ..."
|
@@ -834,7 +897,7 @@ module CloudsmithApi
|
|
834
897
|
:form_params => form_params,
|
835
898
|
:body => post_body,
|
836
899
|
:auth_names => auth_names,
|
837
|
-
:return_type => '
|
900
|
+
:return_type => 'AlpinePackageUpload')
|
838
901
|
if @api_client.config.debugging
|
839
902
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_cran\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
840
903
|
end
|
@@ -847,7 +910,7 @@ module CloudsmithApi
|
|
847
910
|
# @param repo
|
848
911
|
# @param [Hash] opts the optional parameters
|
849
912
|
# @option opts [PackagesUploadDart] :data
|
850
|
-
# @return [
|
913
|
+
# @return [AlpinePackageUpload]
|
851
914
|
def packages_upload_dart(owner, repo, opts = {})
|
852
915
|
data, _status_code, _headers = packages_upload_dart_with_http_info(owner, repo, opts)
|
853
916
|
return data
|
@@ -859,7 +922,7 @@ module CloudsmithApi
|
|
859
922
|
# @param repo
|
860
923
|
# @param [Hash] opts the optional parameters
|
861
924
|
# @option opts [PackagesUploadDart] :data
|
862
|
-
# @return [Array<(
|
925
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
863
926
|
def packages_upload_dart_with_http_info(owner, repo, opts = {})
|
864
927
|
if @api_client.config.debugging
|
865
928
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_dart ..."
|
@@ -895,7 +958,7 @@ module CloudsmithApi
|
|
895
958
|
:form_params => form_params,
|
896
959
|
:body => post_body,
|
897
960
|
:auth_names => auth_names,
|
898
|
-
:return_type => '
|
961
|
+
:return_type => 'AlpinePackageUpload')
|
899
962
|
if @api_client.config.debugging
|
900
963
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_dart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
901
964
|
end
|
@@ -908,7 +971,7 @@ module CloudsmithApi
|
|
908
971
|
# @param repo
|
909
972
|
# @param [Hash] opts the optional parameters
|
910
973
|
# @option opts [PackagesUploadDeb] :data
|
911
|
-
# @return [
|
974
|
+
# @return [AlpinePackageUpload]
|
912
975
|
def packages_upload_deb(owner, repo, opts = {})
|
913
976
|
data, _status_code, _headers = packages_upload_deb_with_http_info(owner, repo, opts)
|
914
977
|
return data
|
@@ -920,7 +983,7 @@ module CloudsmithApi
|
|
920
983
|
# @param repo
|
921
984
|
# @param [Hash] opts the optional parameters
|
922
985
|
# @option opts [PackagesUploadDeb] :data
|
923
|
-
# @return [Array<(
|
986
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
924
987
|
def packages_upload_deb_with_http_info(owner, repo, opts = {})
|
925
988
|
if @api_client.config.debugging
|
926
989
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_deb ..."
|
@@ -956,7 +1019,7 @@ module CloudsmithApi
|
|
956
1019
|
:form_params => form_params,
|
957
1020
|
:body => post_body,
|
958
1021
|
:auth_names => auth_names,
|
959
|
-
:return_type => '
|
1022
|
+
:return_type => 'AlpinePackageUpload')
|
960
1023
|
if @api_client.config.debugging
|
961
1024
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_deb\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
962
1025
|
end
|
@@ -969,7 +1032,7 @@ module CloudsmithApi
|
|
969
1032
|
# @param repo
|
970
1033
|
# @param [Hash] opts the optional parameters
|
971
1034
|
# @option opts [PackagesUploadDocker] :data
|
972
|
-
# @return [
|
1035
|
+
# @return [AlpinePackageUpload]
|
973
1036
|
def packages_upload_docker(owner, repo, opts = {})
|
974
1037
|
data, _status_code, _headers = packages_upload_docker_with_http_info(owner, repo, opts)
|
975
1038
|
return data
|
@@ -981,7 +1044,7 @@ module CloudsmithApi
|
|
981
1044
|
# @param repo
|
982
1045
|
# @param [Hash] opts the optional parameters
|
983
1046
|
# @option opts [PackagesUploadDocker] :data
|
984
|
-
# @return [Array<(
|
1047
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
985
1048
|
def packages_upload_docker_with_http_info(owner, repo, opts = {})
|
986
1049
|
if @api_client.config.debugging
|
987
1050
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_docker ..."
|
@@ -1017,7 +1080,7 @@ module CloudsmithApi
|
|
1017
1080
|
:form_params => form_params,
|
1018
1081
|
:body => post_body,
|
1019
1082
|
:auth_names => auth_names,
|
1020
|
-
:return_type => '
|
1083
|
+
:return_type => 'AlpinePackageUpload')
|
1021
1084
|
if @api_client.config.debugging
|
1022
1085
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_docker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1023
1086
|
end
|
@@ -1030,7 +1093,7 @@ module CloudsmithApi
|
|
1030
1093
|
# @param repo
|
1031
1094
|
# @param [Hash] opts the optional parameters
|
1032
1095
|
# @option opts [PackagesUploadGo] :data
|
1033
|
-
# @return [
|
1096
|
+
# @return [AlpinePackageUpload]
|
1034
1097
|
def packages_upload_go(owner, repo, opts = {})
|
1035
1098
|
data, _status_code, _headers = packages_upload_go_with_http_info(owner, repo, opts)
|
1036
1099
|
return data
|
@@ -1042,7 +1105,7 @@ module CloudsmithApi
|
|
1042
1105
|
# @param repo
|
1043
1106
|
# @param [Hash] opts the optional parameters
|
1044
1107
|
# @option opts [PackagesUploadGo] :data
|
1045
|
-
# @return [Array<(
|
1108
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1046
1109
|
def packages_upload_go_with_http_info(owner, repo, opts = {})
|
1047
1110
|
if @api_client.config.debugging
|
1048
1111
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_go ..."
|
@@ -1078,7 +1141,7 @@ module CloudsmithApi
|
|
1078
1141
|
:form_params => form_params,
|
1079
1142
|
:body => post_body,
|
1080
1143
|
:auth_names => auth_names,
|
1081
|
-
:return_type => '
|
1144
|
+
:return_type => 'AlpinePackageUpload')
|
1082
1145
|
if @api_client.config.debugging
|
1083
1146
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_go\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1084
1147
|
end
|
@@ -1091,7 +1154,7 @@ module CloudsmithApi
|
|
1091
1154
|
# @param repo
|
1092
1155
|
# @param [Hash] opts the optional parameters
|
1093
1156
|
# @option opts [PackagesUploadHelm] :data
|
1094
|
-
# @return [
|
1157
|
+
# @return [AlpinePackageUpload]
|
1095
1158
|
def packages_upload_helm(owner, repo, opts = {})
|
1096
1159
|
data, _status_code, _headers = packages_upload_helm_with_http_info(owner, repo, opts)
|
1097
1160
|
return data
|
@@ -1103,7 +1166,7 @@ module CloudsmithApi
|
|
1103
1166
|
# @param repo
|
1104
1167
|
# @param [Hash] opts the optional parameters
|
1105
1168
|
# @option opts [PackagesUploadHelm] :data
|
1106
|
-
# @return [Array<(
|
1169
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1107
1170
|
def packages_upload_helm_with_http_info(owner, repo, opts = {})
|
1108
1171
|
if @api_client.config.debugging
|
1109
1172
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_helm ..."
|
@@ -1139,7 +1202,7 @@ module CloudsmithApi
|
|
1139
1202
|
:form_params => form_params,
|
1140
1203
|
:body => post_body,
|
1141
1204
|
:auth_names => auth_names,
|
1142
|
-
:return_type => '
|
1205
|
+
:return_type => 'AlpinePackageUpload')
|
1143
1206
|
if @api_client.config.debugging
|
1144
1207
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_helm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1145
1208
|
end
|
@@ -1152,7 +1215,7 @@ module CloudsmithApi
|
|
1152
1215
|
# @param repo
|
1153
1216
|
# @param [Hash] opts the optional parameters
|
1154
1217
|
# @option opts [PackagesUploadLuarocks] :data
|
1155
|
-
# @return [
|
1218
|
+
# @return [AlpinePackageUpload]
|
1156
1219
|
def packages_upload_luarocks(owner, repo, opts = {})
|
1157
1220
|
data, _status_code, _headers = packages_upload_luarocks_with_http_info(owner, repo, opts)
|
1158
1221
|
return data
|
@@ -1164,7 +1227,7 @@ module CloudsmithApi
|
|
1164
1227
|
# @param repo
|
1165
1228
|
# @param [Hash] opts the optional parameters
|
1166
1229
|
# @option opts [PackagesUploadLuarocks] :data
|
1167
|
-
# @return [Array<(
|
1230
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1168
1231
|
def packages_upload_luarocks_with_http_info(owner, repo, opts = {})
|
1169
1232
|
if @api_client.config.debugging
|
1170
1233
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_luarocks ..."
|
@@ -1200,7 +1263,7 @@ module CloudsmithApi
|
|
1200
1263
|
:form_params => form_params,
|
1201
1264
|
:body => post_body,
|
1202
1265
|
:auth_names => auth_names,
|
1203
|
-
:return_type => '
|
1266
|
+
:return_type => 'AlpinePackageUpload')
|
1204
1267
|
if @api_client.config.debugging
|
1205
1268
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_luarocks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1206
1269
|
end
|
@@ -1274,7 +1337,7 @@ module CloudsmithApi
|
|
1274
1337
|
# @param repo
|
1275
1338
|
# @param [Hash] opts the optional parameters
|
1276
1339
|
# @option opts [PackagesUploadNpm] :data
|
1277
|
-
# @return [
|
1340
|
+
# @return [AlpinePackageUpload]
|
1278
1341
|
def packages_upload_npm(owner, repo, opts = {})
|
1279
1342
|
data, _status_code, _headers = packages_upload_npm_with_http_info(owner, repo, opts)
|
1280
1343
|
return data
|
@@ -1286,7 +1349,7 @@ module CloudsmithApi
|
|
1286
1349
|
# @param repo
|
1287
1350
|
# @param [Hash] opts the optional parameters
|
1288
1351
|
# @option opts [PackagesUploadNpm] :data
|
1289
|
-
# @return [Array<(
|
1352
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1290
1353
|
def packages_upload_npm_with_http_info(owner, repo, opts = {})
|
1291
1354
|
if @api_client.config.debugging
|
1292
1355
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_npm ..."
|
@@ -1322,7 +1385,7 @@ module CloudsmithApi
|
|
1322
1385
|
:form_params => form_params,
|
1323
1386
|
:body => post_body,
|
1324
1387
|
:auth_names => auth_names,
|
1325
|
-
:return_type => '
|
1388
|
+
:return_type => 'AlpinePackageUpload')
|
1326
1389
|
if @api_client.config.debugging
|
1327
1390
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_npm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1328
1391
|
end
|
@@ -1335,7 +1398,7 @@ module CloudsmithApi
|
|
1335
1398
|
# @param repo
|
1336
1399
|
# @param [Hash] opts the optional parameters
|
1337
1400
|
# @option opts [PackagesUploadNuget] :data
|
1338
|
-
# @return [
|
1401
|
+
# @return [AlpinePackageUpload]
|
1339
1402
|
def packages_upload_nuget(owner, repo, opts = {})
|
1340
1403
|
data, _status_code, _headers = packages_upload_nuget_with_http_info(owner, repo, opts)
|
1341
1404
|
return data
|
@@ -1347,7 +1410,7 @@ module CloudsmithApi
|
|
1347
1410
|
# @param repo
|
1348
1411
|
# @param [Hash] opts the optional parameters
|
1349
1412
|
# @option opts [PackagesUploadNuget] :data
|
1350
|
-
# @return [Array<(
|
1413
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1351
1414
|
def packages_upload_nuget_with_http_info(owner, repo, opts = {})
|
1352
1415
|
if @api_client.config.debugging
|
1353
1416
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_nuget ..."
|
@@ -1383,7 +1446,7 @@ module CloudsmithApi
|
|
1383
1446
|
:form_params => form_params,
|
1384
1447
|
:body => post_body,
|
1385
1448
|
:auth_names => auth_names,
|
1386
|
-
:return_type => '
|
1449
|
+
:return_type => 'AlpinePackageUpload')
|
1387
1450
|
if @api_client.config.debugging
|
1388
1451
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_nuget\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1389
1452
|
end
|
@@ -1396,7 +1459,7 @@ module CloudsmithApi
|
|
1396
1459
|
# @param repo
|
1397
1460
|
# @param [Hash] opts the optional parameters
|
1398
1461
|
# @option opts [PackagesUploadPython] :data
|
1399
|
-
# @return [
|
1462
|
+
# @return [AlpinePackageUpload]
|
1400
1463
|
def packages_upload_python(owner, repo, opts = {})
|
1401
1464
|
data, _status_code, _headers = packages_upload_python_with_http_info(owner, repo, opts)
|
1402
1465
|
return data
|
@@ -1408,7 +1471,7 @@ module CloudsmithApi
|
|
1408
1471
|
# @param repo
|
1409
1472
|
# @param [Hash] opts the optional parameters
|
1410
1473
|
# @option opts [PackagesUploadPython] :data
|
1411
|
-
# @return [Array<(
|
1474
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1412
1475
|
def packages_upload_python_with_http_info(owner, repo, opts = {})
|
1413
1476
|
if @api_client.config.debugging
|
1414
1477
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_python ..."
|
@@ -1444,7 +1507,7 @@ module CloudsmithApi
|
|
1444
1507
|
:form_params => form_params,
|
1445
1508
|
:body => post_body,
|
1446
1509
|
:auth_names => auth_names,
|
1447
|
-
:return_type => '
|
1510
|
+
:return_type => 'AlpinePackageUpload')
|
1448
1511
|
if @api_client.config.debugging
|
1449
1512
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_python\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1450
1513
|
end
|
@@ -1518,7 +1581,7 @@ module CloudsmithApi
|
|
1518
1581
|
# @param repo
|
1519
1582
|
# @param [Hash] opts the optional parameters
|
1520
1583
|
# @option opts [PackagesUploadRpm] :data
|
1521
|
-
# @return [
|
1584
|
+
# @return [AlpinePackageUpload]
|
1522
1585
|
def packages_upload_rpm(owner, repo, opts = {})
|
1523
1586
|
data, _status_code, _headers = packages_upload_rpm_with_http_info(owner, repo, opts)
|
1524
1587
|
return data
|
@@ -1530,7 +1593,7 @@ module CloudsmithApi
|
|
1530
1593
|
# @param repo
|
1531
1594
|
# @param [Hash] opts the optional parameters
|
1532
1595
|
# @option opts [PackagesUploadRpm] :data
|
1533
|
-
# @return [Array<(
|
1596
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1534
1597
|
def packages_upload_rpm_with_http_info(owner, repo, opts = {})
|
1535
1598
|
if @api_client.config.debugging
|
1536
1599
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_rpm ..."
|
@@ -1566,7 +1629,7 @@ module CloudsmithApi
|
|
1566
1629
|
:form_params => form_params,
|
1567
1630
|
:body => post_body,
|
1568
1631
|
:auth_names => auth_names,
|
1569
|
-
:return_type => '
|
1632
|
+
:return_type => 'AlpinePackageUpload')
|
1570
1633
|
if @api_client.config.debugging
|
1571
1634
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_rpm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1572
1635
|
end
|
@@ -1579,7 +1642,7 @@ module CloudsmithApi
|
|
1579
1642
|
# @param repo
|
1580
1643
|
# @param [Hash] opts the optional parameters
|
1581
1644
|
# @option opts [PackagesUploadRuby] :data
|
1582
|
-
# @return [
|
1645
|
+
# @return [AlpinePackageUpload]
|
1583
1646
|
def packages_upload_ruby(owner, repo, opts = {})
|
1584
1647
|
data, _status_code, _headers = packages_upload_ruby_with_http_info(owner, repo, opts)
|
1585
1648
|
return data
|
@@ -1591,7 +1654,7 @@ module CloudsmithApi
|
|
1591
1654
|
# @param repo
|
1592
1655
|
# @param [Hash] opts the optional parameters
|
1593
1656
|
# @option opts [PackagesUploadRuby] :data
|
1594
|
-
# @return [Array<(
|
1657
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1595
1658
|
def packages_upload_ruby_with_http_info(owner, repo, opts = {})
|
1596
1659
|
if @api_client.config.debugging
|
1597
1660
|
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_ruby ..."
|
@@ -1627,13 +1690,74 @@ module CloudsmithApi
|
|
1627
1690
|
:form_params => form_params,
|
1628
1691
|
:body => post_body,
|
1629
1692
|
:auth_names => auth_names,
|
1630
|
-
:return_type => '
|
1693
|
+
:return_type => 'AlpinePackageUpload')
|
1631
1694
|
if @api_client.config.debugging
|
1632
1695
|
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_ruby\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1633
1696
|
end
|
1634
1697
|
return data, status_code, headers
|
1635
1698
|
end
|
1636
1699
|
|
1700
|
+
# Create a new Terraform package
|
1701
|
+
# Create a new Terraform package
|
1702
|
+
# @param owner
|
1703
|
+
# @param repo
|
1704
|
+
# @param [Hash] opts the optional parameters
|
1705
|
+
# @option opts [PackagesUploadTerraform] :data
|
1706
|
+
# @return [AlpinePackageUpload]
|
1707
|
+
def packages_upload_terraform(owner, repo, opts = {})
|
1708
|
+
data, _status_code, _headers = packages_upload_terraform_with_http_info(owner, repo, opts)
|
1709
|
+
return data
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
# Create a new Terraform package
|
1713
|
+
# Create a new Terraform package
|
1714
|
+
# @param owner
|
1715
|
+
# @param repo
|
1716
|
+
# @param [Hash] opts the optional parameters
|
1717
|
+
# @option opts [PackagesUploadTerraform] :data
|
1718
|
+
# @return [Array<(AlpinePackageUpload, Fixnum, Hash)>] AlpinePackageUpload data, response status code and response headers
|
1719
|
+
def packages_upload_terraform_with_http_info(owner, repo, opts = {})
|
1720
|
+
if @api_client.config.debugging
|
1721
|
+
@api_client.config.logger.debug "Calling API: PackagesApi.packages_upload_terraform ..."
|
1722
|
+
end
|
1723
|
+
# verify the required parameter 'owner' is set
|
1724
|
+
if @api_client.config.client_side_validation && owner.nil?
|
1725
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_upload_terraform"
|
1726
|
+
end
|
1727
|
+
# verify the required parameter 'repo' is set
|
1728
|
+
if @api_client.config.client_side_validation && repo.nil?
|
1729
|
+
fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_upload_terraform"
|
1730
|
+
end
|
1731
|
+
# resource path
|
1732
|
+
local_var_path = "/packages/{owner}/{repo}/upload/terraform/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
1733
|
+
|
1734
|
+
# query parameters
|
1735
|
+
query_params = {}
|
1736
|
+
|
1737
|
+
# header parameters
|
1738
|
+
header_params = {}
|
1739
|
+
# HTTP header 'Content-Type'
|
1740
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1741
|
+
|
1742
|
+
# form parameters
|
1743
|
+
form_params = {}
|
1744
|
+
|
1745
|
+
# http body (model)
|
1746
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
1747
|
+
auth_names = ['apikey', 'csrf_token']
|
1748
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1749
|
+
:header_params => header_params,
|
1750
|
+
:query_params => query_params,
|
1751
|
+
:form_params => form_params,
|
1752
|
+
:body => post_body,
|
1753
|
+
:auth_names => auth_names,
|
1754
|
+
:return_type => 'AlpinePackageUpload')
|
1755
|
+
if @api_client.config.debugging
|
1756
|
+
@api_client.config.logger.debug "API called: PackagesApi#packages_upload_terraform\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1757
|
+
end
|
1758
|
+
return data, status_code, headers
|
1759
|
+
end
|
1760
|
+
|
1637
1761
|
# Create a new Vagrant package
|
1638
1762
|
# Create a new Vagrant package
|
1639
1763
|
# @param owner
|
@@ -2835,6 +2959,66 @@ module CloudsmithApi
|
|
2835
2959
|
return data, status_code, headers
|
2836
2960
|
end
|
2837
2961
|
|
2962
|
+
# Validate parameters for create Terraform package
|
2963
|
+
# Validate parameters for create Terraform package
|
2964
|
+
# @param owner
|
2965
|
+
# @param repo
|
2966
|
+
# @param [Hash] opts the optional parameters
|
2967
|
+
# @option opts [PackagesValidateuploadTerraform] :data
|
2968
|
+
# @return [nil]
|
2969
|
+
def packages_validate_upload_terraform(owner, repo, opts = {})
|
2970
|
+
packages_validate_upload_terraform_with_http_info(owner, repo, opts)
|
2971
|
+
return nil
|
2972
|
+
end
|
2973
|
+
|
2974
|
+
# Validate parameters for create Terraform package
|
2975
|
+
# Validate parameters for create Terraform package
|
2976
|
+
# @param owner
|
2977
|
+
# @param repo
|
2978
|
+
# @param [Hash] opts the optional parameters
|
2979
|
+
# @option opts [PackagesValidateuploadTerraform] :data
|
2980
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
2981
|
+
def packages_validate_upload_terraform_with_http_info(owner, repo, opts = {})
|
2982
|
+
if @api_client.config.debugging
|
2983
|
+
@api_client.config.logger.debug "Calling API: PackagesApi.packages_validate_upload_terraform ..."
|
2984
|
+
end
|
2985
|
+
# verify the required parameter 'owner' is set
|
2986
|
+
if @api_client.config.client_side_validation && owner.nil?
|
2987
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling PackagesApi.packages_validate_upload_terraform"
|
2988
|
+
end
|
2989
|
+
# verify the required parameter 'repo' is set
|
2990
|
+
if @api_client.config.client_side_validation && repo.nil?
|
2991
|
+
fail ArgumentError, "Missing the required parameter 'repo' when calling PackagesApi.packages_validate_upload_terraform"
|
2992
|
+
end
|
2993
|
+
# resource path
|
2994
|
+
local_var_path = "/packages/{owner}/{repo}/validate-upload/terraform/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
2995
|
+
|
2996
|
+
# query parameters
|
2997
|
+
query_params = {}
|
2998
|
+
|
2999
|
+
# header parameters
|
3000
|
+
header_params = {}
|
3001
|
+
# HTTP header 'Content-Type'
|
3002
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
3003
|
+
|
3004
|
+
# form parameters
|
3005
|
+
form_params = {}
|
3006
|
+
|
3007
|
+
# http body (model)
|
3008
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
3009
|
+
auth_names = ['apikey', 'csrf_token']
|
3010
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
3011
|
+
:header_params => header_params,
|
3012
|
+
:query_params => query_params,
|
3013
|
+
:form_params => form_params,
|
3014
|
+
:body => post_body,
|
3015
|
+
:auth_names => auth_names)
|
3016
|
+
if @api_client.config.debugging
|
3017
|
+
@api_client.config.logger.debug "API called: PackagesApi#packages_validate_upload_terraform\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3018
|
+
end
|
3019
|
+
return data, status_code, headers
|
3020
|
+
end
|
3021
|
+
|
2838
3022
|
# Validate parameters for create Vagrant package
|
2839
3023
|
# Validate parameters for create Vagrant package
|
2840
3024
|
# @param owner
|