=begin #Pulp 3 API #Fetch, Upload, Organize, and Distribute Software Packages The version of the OpenAPI document: v3 Contact: pulp-list@redhat.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =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_container_repository_href # @param recursive_manage # @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 add_role # Add a role # Add a role for this object to users/groups. # @param container_container_repository_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'add_role 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 in tech preview. Backwards compatibility when upgrading is not guaranteed. # @param container_container_repository_href # @param [Hash] opts the optional parameters # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build. # @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build. # @option opts [String] :tag A tag name for the new image being built. # @option opts [AnyType] :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_container_repository_href # @param manifest_copy # @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_container_repository_href # @param tag_copy # @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 container_container_repository # @param [Hash] opts the optional parameters # @return [ContainerContainerRepositoryResponse] 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 delete task # @param container_container_repository_href # @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] :latest_with_content Content Unit referenced by HREF/PRN # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name Filter results where name matches value # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :name__icontains Filter results where name contains value # @option opts [String] :name__iexact Filter results where name matches value # @option opts [Array] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :name__iregex Filter results where name matches regex value # @option opts [String] :name__istartswith Filter results where name starts with value # @option opts [String] :name__regex Filter results where name matches regex value # @option opts [String] :name__startswith Filter results where name starts with value # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [Array] :prn__in Multiple values may be separated by commas. # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [String] :pulp_label_select Filter labels by search string # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters # @option opts [String] :remote Foreign Key referenced by HREF # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value # @option opts [Array] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values # @option opts [String] :with_content Content Unit referenced by HREF/PRN # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedcontainerContainerRepositoryResponseList] 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 list_roles # List roles # List roles assigned to this object. # @param container_container_repository_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [ObjectRolesResponse] describe 'list_roles 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 my_permissions # List user permissions # List permissions available to the current user on this object. # @param container_container_repository_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [MyPermissionsResponse] describe 'my_permissions 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 # Update a container repository # Trigger an asynchronous partial update task # @param container_container_repository_href # @param patchedcontainer_container_repository # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] 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_container_repository_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [ContainerContainerRepositoryResponse] 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_container_repository_href # @param recursive_manage # @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 remove_role # Remove a role # Remove a role for this object from users/groups. # @param container_container_repository_href # @param nested_role # @param [Hash] opts the optional parameters # @return [NestedRoleResponse] describe 'remove_role 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 set_label # Set a label # Set a single pulp_label on the object to a specific value or null. # @param container_container_repository_href # @param set_label # @param [Hash] opts the optional parameters # @return [SetLabelResponse] describe 'set_label 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 sign # Sign images in the repo # Trigger an asynchronous task to sign content. # @param container_container_repository_href # @param repository_sign # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'sign 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_container_repository_href # @param container_repository_sync_url # @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_container_repository_href # @param tag_image # @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 unset_label # Unset a label # Unset a single pulp_label on the object. # @param container_container_repository_href # @param unset_label # @param [Hash] opts the optional parameters # @return [UnsetLabelResponse] describe 'unset_label 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_container_repository_href # @param un_tag_image # @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 update task # @param container_container_repository_href # @param container_container_repository # @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