pulp_container_client 2.5.3 → 2.6.0
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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +11 -11
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRepository.md +2 -0
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/ContentTagsApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRepository.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +5 -5
- data/lib/pulp_container_client/api/content_manifests_api.rb +5 -5
- data/lib/pulp_container_client/api/content_tags_api.rb +5 -5
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -40
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +51 -51
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +27 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +27 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +27 -1
- data/lib/pulp_container_client/models/content_summary.rb +12 -6
- data/lib/pulp_container_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +27 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +10 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +1 -1
|
@@ -22,6 +22,8 @@ module PulpContainerClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :number
|
|
24
24
|
|
|
25
|
+
attr_accessor :repository
|
|
26
|
+
|
|
25
27
|
# A repository version whose content was used as the initial set of content for this repository version
|
|
26
28
|
attr_accessor :base_version
|
|
27
29
|
|
|
@@ -34,6 +36,7 @@ module PulpContainerClient
|
|
|
34
36
|
:'pulp_href' => :'pulp_href',
|
|
35
37
|
:'pulp_created' => :'pulp_created',
|
|
36
38
|
:'number' => :'number',
|
|
39
|
+
:'repository' => :'repository',
|
|
37
40
|
:'base_version' => :'base_version',
|
|
38
41
|
:'content_summary' => :'content_summary'
|
|
39
42
|
}
|
|
@@ -45,6 +48,7 @@ module PulpContainerClient
|
|
|
45
48
|
:'pulp_href' => :'String',
|
|
46
49
|
:'pulp_created' => :'DateTime',
|
|
47
50
|
:'number' => :'Integer',
|
|
51
|
+
:'repository' => :'String',
|
|
48
52
|
:'base_version' => :'String',
|
|
49
53
|
:'content_summary' => :'ContentSummaryResponse'
|
|
50
54
|
}
|
|
@@ -83,6 +87,10 @@ module PulpContainerClient
|
|
|
83
87
|
self.number = attributes[:'number']
|
|
84
88
|
end
|
|
85
89
|
|
|
90
|
+
if attributes.key?(:'repository')
|
|
91
|
+
self.repository = attributes[:'repository']
|
|
92
|
+
end
|
|
93
|
+
|
|
86
94
|
if attributes.key?(:'base_version')
|
|
87
95
|
self.base_version = attributes[:'base_version']
|
|
88
96
|
end
|
|
@@ -113,6 +121,7 @@ module PulpContainerClient
|
|
|
113
121
|
pulp_href == o.pulp_href &&
|
|
114
122
|
pulp_created == o.pulp_created &&
|
|
115
123
|
number == o.number &&
|
|
124
|
+
repository == o.repository &&
|
|
116
125
|
base_version == o.base_version &&
|
|
117
126
|
content_summary == o.content_summary
|
|
118
127
|
end
|
|
@@ -126,7 +135,7 @@ module PulpContainerClient
|
|
|
126
135
|
# Calculates hash code according to all attributes.
|
|
127
136
|
# @return [Integer] Hash code
|
|
128
137
|
def hash
|
|
129
|
-
[pulp_href, pulp_created, number, base_version, content_summary].hash
|
|
138
|
+
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
|
130
139
|
end
|
|
131
140
|
|
|
132
141
|
# Builds the object from hash
|
|
@@ -39,7 +39,7 @@ describe 'ContentBlobsApi' do
|
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
|
40
40
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
42
|
-
# @option opts [String] :media_type
|
|
42
|
+
# @option opts [Array<String>] :media_type
|
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -39,7 +39,7 @@ describe 'ContentManifestsApi' do
|
|
|
39
39
|
# @option opts [String] :digest Filter results where digest matches value
|
|
40
40
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
41
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
42
|
-
# @option opts [String] :media_type
|
|
42
|
+
# @option opts [Array<String>] :media_type
|
|
43
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
44
44
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
@@ -38,7 +38,7 @@ describe 'ContentTagsApi' do
|
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
40
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
|
-
# @option opts [String] :media_type
|
|
41
|
+
# @option opts [Array<String>] :media_type
|
|
42
42
|
# @option opts [String] :name Filter results where name matches value
|
|
43
43
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -32,49 +32,49 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_created"' 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 "
|
|
47
|
+
describe 'test attribute "pulp_labels"' 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 "
|
|
53
|
+
describe 'test attribute "pulp_href"' 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 "
|
|
59
|
+
describe 'test attribute "name"' 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 "
|
|
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 "
|
|
71
|
+
describe 'test attribute "base_path"' 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
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "repository_version"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_labels"' 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 "
|
|
47
|
+
describe 'test attribute "name"' 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 "
|
|
53
|
+
describe 'test attribute "content_guard"' 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 "
|
|
59
|
+
describe 'test attribute "base_path"' 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 "
|
|
65
|
+
describe 'test attribute "repository_version"' 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
|
|
@@ -74,6 +74,12 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
describe 'test attribute "retained_versions"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
77
83
|
describe 'test attribute "remote"' do
|
|
78
84
|
it 'should work' do
|
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -74,6 +74,12 @@ describe 'ContainerContainerRepositoryResponse' do
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
describe 'test attribute "retained_versions"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
77
83
|
describe 'test attribute "remote"' do
|
|
78
84
|
it 'should work' do
|
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,6 +50,12 @@ describe 'ContainerContainerRepository' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "retained_versions"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
53
59
|
describe 'test attribute "remote"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -32,37 +32,37 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "repository"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "pulp_labels"' 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 "
|
|
47
|
+
describe 'test attribute "name"' 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 "
|
|
53
|
+
describe 'test attribute "content_guard"' 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 "
|
|
59
|
+
describe 'test attribute "base_path"' 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 "
|
|
65
|
+
describe 'test attribute "repository_version"' 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
|
|
@@ -50,6 +50,12 @@ describe 'PatchedcontainerContainerRepository' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "retained_versions"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
53
59
|
describe 'test attribute "remote"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "repository"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
53
59
|
describe 'test attribute "base_version"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|