pulp_container_client 1.4.0.dev01590601231 → 2.0.0b1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,22 +17,22 @@ module PulpContainerClient
17
17
  # The latest RepositoryVersion for this Repository will be served.
18
18
  attr_accessor :repository
19
19
 
20
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
- attr_accessor :base_path
22
-
23
- # A unique name. Ex, `rawhide` and `stable`.
24
- attr_accessor :name
25
-
26
20
  # RepositoryVersion to be served
27
21
  attr_accessor :repository_version
28
22
 
29
- # An optional content-guard.
30
- attr_accessor :content_guard
23
+ attr_accessor :pulp_href
24
+
25
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
26
+ attr_accessor :base_path
31
27
 
32
28
  # Timestamp of creation.
33
29
  attr_accessor :pulp_created
34
30
 
35
- attr_accessor :pulp_href
31
+ # An optional content-guard.
32
+ attr_accessor :content_guard
33
+
34
+ # A unique name. Ex, `rawhide` and `stable`.
35
+ attr_accessor :name
36
36
 
37
37
  # The Registry hostame/name/ to use with docker pull command defined by this distribution.
38
38
  attr_accessor :registry_path
@@ -41,12 +41,12 @@ module PulpContainerClient
41
41
  def self.attribute_map
42
42
  {
43
43
  :'repository' => :'repository',
44
- :'base_path' => :'base_path',
45
- :'name' => :'name',
46
44
  :'repository_version' => :'repository_version',
47
- :'content_guard' => :'content_guard',
48
- :'pulp_created' => :'pulp_created',
49
45
  :'pulp_href' => :'pulp_href',
46
+ :'base_path' => :'base_path',
47
+ :'pulp_created' => :'pulp_created',
48
+ :'content_guard' => :'content_guard',
49
+ :'name' => :'name',
50
50
  :'registry_path' => :'registry_path'
51
51
  }
52
52
  end
@@ -55,12 +55,12 @@ module PulpContainerClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'repository' => :'String',
58
- :'base_path' => :'String',
59
- :'name' => :'String',
60
58
  :'repository_version' => :'String',
61
- :'content_guard' => :'String',
62
- :'pulp_created' => :'DateTime',
63
59
  :'pulp_href' => :'String',
60
+ :'base_path' => :'String',
61
+ :'pulp_created' => :'DateTime',
62
+ :'content_guard' => :'String',
63
+ :'name' => :'String',
64
64
  :'registry_path' => :'String'
65
65
  }
66
66
  end
@@ -93,28 +93,28 @@ module PulpContainerClient
93
93
  self.repository = attributes[:'repository']
94
94
  end
95
95
 
96
- if attributes.key?(:'base_path')
97
- self.base_path = attributes[:'base_path']
98
- end
99
-
100
- if attributes.key?(:'name')
101
- self.name = attributes[:'name']
102
- end
103
-
104
96
  if attributes.key?(:'repository_version')
105
97
  self.repository_version = attributes[:'repository_version']
106
98
  end
107
99
 
108
- if attributes.key?(:'content_guard')
109
- self.content_guard = attributes[:'content_guard']
100
+ if attributes.key?(:'pulp_href')
101
+ self.pulp_href = attributes[:'pulp_href']
102
+ end
103
+
104
+ if attributes.key?(:'base_path')
105
+ self.base_path = attributes[:'base_path']
110
106
  end
111
107
 
112
108
  if attributes.key?(:'pulp_created')
113
109
  self.pulp_created = attributes[:'pulp_created']
114
110
  end
115
111
 
116
- if attributes.key?(:'pulp_href')
117
- self.pulp_href = attributes[:'pulp_href']
112
+ if attributes.key?(:'content_guard')
113
+ self.content_guard = attributes[:'content_guard']
114
+ end
115
+
116
+ if attributes.key?(:'name')
117
+ self.name = attributes[:'name']
118
118
  end
119
119
 
120
120
  if attributes.key?(:'registry_path')
@@ -204,12 +204,12 @@ module PulpContainerClient
204
204
  return true if self.equal?(o)
205
205
  self.class == o.class &&
206
206
  repository == o.repository &&
207
- base_path == o.base_path &&
208
- name == o.name &&
209
207
  repository_version == o.repository_version &&
210
- content_guard == o.content_guard &&
211
- pulp_created == o.pulp_created &&
212
208
  pulp_href == o.pulp_href &&
209
+ base_path == o.base_path &&
210
+ pulp_created == o.pulp_created &&
211
+ content_guard == o.content_guard &&
212
+ name == o.name &&
213
213
  registry_path == o.registry_path
214
214
  end
215
215
 
@@ -222,7 +222,7 @@ module PulpContainerClient
222
222
  # Calculates hash code according to all attributes.
223
223
  # @return [Integer] Hash code
224
224
  def hash
225
- [repository, base_path, name, repository_version, content_guard, pulp_created, pulp_href, registry_path].hash
225
+ [repository, repository_version, pulp_href, base_path, pulp_created, content_guard, name, registry_path].hash
226
226
  end
227
227
 
228
228
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '1.4.0.dev01590601231'
14
+ VERSION = '2.0.0b1'
15
15
  end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::V2Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'V2Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::V2Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2Api' do
30
+ it 'should create an instance of V2Api' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::V2Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # Handles GET requests for the /v2/ endpoint.
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :fields A list of fields to include in the response.
39
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
40
+ # @return [nil]
41
+ describe 'list test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::V2BlobsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'V2BlobsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::V2BlobsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2BlobsApi' do
30
+ it 'should create an instance of V2BlobsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::V2BlobsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for partial_update
36
+ # Partially update an upload
37
+ # This methods handles uploading of a chunk to an existing upload.
38
+ # @param path
39
+ # @param upload_pk
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [nil]
42
+ describe 'partial_update test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::V2CatalogApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'V2CatalogApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::V2CatalogApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2CatalogApi' do
30
+ it 'should create an instance of V2CatalogApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::V2CatalogApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # Handles GET requests for the /v2/_catalog endpoint.
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :fields A list of fields to include in the response.
39
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
40
+ # @return [nil]
41
+ describe 'list test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::V2ListApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'V2ListApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::V2ListApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2ListApi' do
30
+ it 'should create an instance of V2ListApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::V2ListApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # Handles GET requests to the /v2//tags/list endpoint
37
+ # @param path
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :fields A list of fields to include in the response.
40
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
41
+ # @return [nil]
42
+ describe 'list test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpContainerClient::V2UploadsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'V2UploadsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpContainerClient::V2UploadsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2UploadsApi' do
30
+ it 'should create an instance of V2UploadsApi' do
31
+ expect(@api_instance).to be_instance_of(PulpContainerClient::V2UploadsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an upload
37
+ # This methods handles the creation of an upload.
38
+ # @param path
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -38,37 +38,37 @@ describe 'ContainerContainerDistributionRead' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_path"' do
41
+ describe 'test attribute "repository_version"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "name"' do
47
+ describe 'test attribute "pulp_href"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository_version"' do
53
+ describe 'test attribute "base_path"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "content_guard"' do
59
+ describe 'test attribute "pulp_created"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_created"' do
65
+ describe 'test attribute "content_guard"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "pulp_href"' do
71
+ describe 'test attribute "name"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
@@ -38,37 +38,37 @@ describe 'ContainerContainerDistribution' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_path"' do
41
+ describe 'test attribute "repository_version"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "name"' do
47
+ describe 'test attribute "pulp_href"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository_version"' do
53
+ describe 'test attribute "base_path"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "content_guard"' do
59
+ describe 'test attribute "pulp_created"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_created"' do
65
+ describe 'test attribute "content_guard"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "pulp_href"' do
71
+ describe 'test attribute "name"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end