=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.2.3 =end require 'spec_helper' require 'json' # Unit tests for PulpContainerClient::RepositoriesContainerApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RepositoriesContainerApi' do before do # run before each test @api_instance = PulpContainerClient::RepositoriesContainerApi.new end after do # run after each test end describe 'test an instance of RepositoriesContainerApi' do it 'should create an instance of RepositoriesContainerApi' do expect(@api_instance).to be_instance_of(PulpContainerClient::RepositoriesContainerApi) end end # unit tests for add # Add content # Trigger an asynchronous task to recursively add container content. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'add test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for build_image # Build an Image # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param [Hash] opts the optional parameters # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run buildah. # @option opts [File] :containerfile An uploaded Containerfile that should be used to run buildah. # @option opts [String] :tag A tag name for the new image being built. # @option opts [String] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile. # @return [AsyncOperationResponse] describe 'build_image test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for copy_manifests # Copy manifests # Trigger an asynchronous task to copy manifests # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'copy_manifests test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for copy_tags # Copy tags # Trigger an asynchronous task to copy tags # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'copy_tags test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create # Create a container repository # ViewSet for container repo. # @param data # @param [Hash] opts the optional parameters # @return [ContainerContainerRepository] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete # Delete a container repository # Trigger an asynchronous task to delete a repository. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'delete test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list # List container repositorys # ViewSet for container repo. # @param [Hash] opts the optional parameters # @option opts [String] :name # @option opts [String] :name__in Filter results where name is in a comma-separated list of values # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [InlineResponse2005] describe 'list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for partial_update # Partially update a container repository # ViewSet for container repo. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [ContainerContainerRepository] describe 'partial_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for read # Inspect a container repository # ViewSet for container repo. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [ContainerContainerRepository] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for remove # Remove content # Trigger an async task to recursively remove container content. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'remove test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for sync # Sync from a remote # Trigger an asynchronous task to sync content. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'sync test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for tag # Create a Tag # Trigger an asynchronous task to tag an image in the repository # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'tag test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for untag # Delete a tag # Trigger an asynchronous task to untag an image in the repository # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'untag test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update # Update a container repository # Trigger an asynchronous task to update a repository. # @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ # @param data # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end