pulp_docker_client 4.0.0b5 → 4.0.0b6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -14
- data/docs/ContentBlobsApi.md +24 -20
- data/docs/ContentManifestsApi.md +12 -6
- data/docs/{ContentManifestTagsApi.md → ContentTagsApi.md} +40 -34
- data/docs/DistributionsDockerApi.md +4 -4
- data/docs/DockerCopyApi.md +114 -0
- data/docs/DockerDistribution.md +9 -9
- data/docs/DockerRecursiveAddApi.md +61 -0
- data/docs/DockerRecursiveRemoveApi.md +61 -0
- data/docs/DockerTagApi.md +61 -0
- data/docs/DockerUntagApi.md +61 -0
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +4 -4
- data/docs/InlineResponse2002.md +4 -4
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/ManifestCopy.md +25 -0
- data/docs/RecursiveManage.md +19 -0
- data/docs/RemotesDockerApi.md +4 -4
- data/docs/{ManifestTag.md → Tag.md} +2 -2
- data/docs/TagCopy.md +23 -0
- data/docs/TagImage.md +21 -0
- data/docs/UnTagImage.md +19 -0
- data/git_push.sh +10 -7
- data/lib/pulp_docker_client/api/content_blobs_api.rb +35 -29
- data/lib/pulp_docker_client/api/content_manifests_api.rb +21 -12
- data/lib/pulp_docker_client/api/{content_manifest_tags_api.rb → content_tags_api.rb} +59 -50
- data/lib/pulp_docker_client/api/distributions_docker_api.rb +12 -12
- data/lib/pulp_docker_client/api/docker_copy_api.rb +146 -0
- data/lib/pulp_docker_client/api/docker_recursive_add_api.rb +84 -0
- data/lib/pulp_docker_client/api/docker_recursive_remove_api.rb +84 -0
- data/lib/pulp_docker_client/api/docker_tag_api.rb +84 -0
- data/lib/pulp_docker_client/api/docker_untag_api.rb +84 -0
- data/lib/pulp_docker_client/api/remotes_docker_api.rb +13 -13
- data/lib/pulp_docker_client/api_client.rb +77 -62
- data/lib/pulp_docker_client/api_error.rb +1 -1
- data/lib/pulp_docker_client/configuration.rb +13 -21
- data/lib/pulp_docker_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_docker_client/models/blob.rb +1 -1
- data/lib/pulp_docker_client/models/docker_distribution.rb +37 -37
- data/lib/pulp_docker_client/models/docker_remote.rb +1 -1
- data/lib/pulp_docker_client/models/inline_response200.rb +11 -11
- data/lib/pulp_docker_client/models/inline_response2001.rb +12 -12
- data/lib/pulp_docker_client/models/inline_response2002.rb +12 -12
- data/lib/pulp_docker_client/models/inline_response2003.rb +11 -11
- data/lib/pulp_docker_client/models/inline_response2004.rb +11 -11
- data/lib/pulp_docker_client/models/manifest.rb +1 -1
- data/lib/pulp_docker_client/models/manifest_copy.rb +268 -0
- data/lib/pulp_docker_client/models/recursive_manage.rb +214 -0
- data/lib/pulp_docker_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_docker_client/models/{manifest_tag.rb → tag.rb} +4 -4
- data/lib/pulp_docker_client/models/tag_copy.rb +234 -0
- data/lib/pulp_docker_client/models/tag_image.rb +270 -0
- data/lib/pulp_docker_client/models/un_tag_image.rb +236 -0
- data/lib/pulp_docker_client/version.rb +2 -2
- data/lib/pulp_docker_client.rb +13 -3
- data/pulp_docker_client.gemspec +3 -9
- data/spec/api/content_blobs_api_spec.rb +12 -10
- data/spec/api/content_manifests_api_spec.rb +7 -4
- data/spec/api/{content_manifest_tags_api_spec.rb → content_tags_api_spec.rb} +22 -19
- data/spec/api/distributions_docker_api_spec.rb +3 -3
- data/spec/api/docker_copy_api_spec.rb +57 -0
- data/spec/api/docker_recursive_add_api_spec.rb +46 -0
- data/spec/api/docker_recursive_remove_api_spec.rb +46 -0
- data/spec/api/docker_tag_api_spec.rb +46 -0
- data/spec/api/docker_untag_api_spec.rb +46 -0
- data/spec/api/remotes_docker_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +1 -39
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/blob_spec.rb +1 -1
- data/spec/models/docker_distribution_spec.rb +7 -7
- data/spec/models/docker_remote_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +4 -4
- data/spec/models/inline_response2002_spec.rb +4 -4
- data/spec/models/inline_response2003_spec.rb +4 -4
- data/spec/models/inline_response2004_spec.rb +4 -4
- data/spec/models/inline_response200_spec.rb +4 -4
- data/spec/models/manifest_copy_spec.rb +69 -0
- data/spec/models/manifest_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +47 -0
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +59 -0
- data/spec/models/tag_image_spec.rb +53 -0
- data/spec/models/{manifest_tag_spec.rb → tag_spec.rb} +7 -7
- data/spec/models/un_tag_image_spec.rb +47 -0
- data/spec/spec_helper.rb +1 -1
- metadata +54 -141
- data/Gemfile.lock +0 -79
@@ -0,0 +1,61 @@
|
|
1
|
+
# PulpDockerClient::DockerRecursiveAddApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](DockerRecursiveAddApi.md#create) | **POST** /docker/recursive-add/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## create
|
12
|
+
|
13
|
+
> AsyncOperationResponse create(data)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Trigger an asynchronous task to recursively add docker content.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_docker_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpDockerClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpDockerClient::DockerRecursiveAddApi.new
|
32
|
+
data = PulpDockerClient::RecursiveManage.new # RecursiveManage |
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.create(data)
|
36
|
+
p result
|
37
|
+
rescue PulpDockerClient::ApiError => e
|
38
|
+
puts "Exception when calling DockerRecursiveAddApi->create: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**data** | [**RecursiveManage**](RecursiveManage.md)| |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Basic](../README.md#Basic)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# PulpDockerClient::DockerRecursiveRemoveApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](DockerRecursiveRemoveApi.md#create) | **POST** /docker/recursive-remove/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## create
|
12
|
+
|
13
|
+
> AsyncOperationResponse create(data)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Trigger an asynchronous task to recursively remove docker content.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_docker_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpDockerClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpDockerClient::DockerRecursiveRemoveApi.new
|
32
|
+
data = PulpDockerClient::RecursiveManage.new # RecursiveManage |
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.create(data)
|
36
|
+
p result
|
37
|
+
rescue PulpDockerClient::ApiError => e
|
38
|
+
puts "Exception when calling DockerRecursiveRemoveApi->create: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**data** | [**RecursiveManage**](RecursiveManage.md)| |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Basic](../README.md#Basic)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# PulpDockerClient::DockerTagApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](DockerTagApi.md#create) | **POST** /docker/tag/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## create
|
12
|
+
|
13
|
+
> AsyncOperationResponse create(data)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Trigger an asynchronous task to create a new repository
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_docker_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpDockerClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpDockerClient::DockerTagApi.new
|
32
|
+
data = PulpDockerClient::TagImage.new # TagImage |
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.create(data)
|
36
|
+
p result
|
37
|
+
rescue PulpDockerClient::ApiError => e
|
38
|
+
puts "Exception when calling DockerTagApi->create: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**data** | [**TagImage**](TagImage.md)| |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Basic](../README.md#Basic)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# PulpDockerClient::DockerUntagApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](DockerUntagApi.md#create) | **POST** /docker/untag/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## create
|
12
|
+
|
13
|
+
> AsyncOperationResponse create(data)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Trigger an asynchronous task to create a new repository
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_docker_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpDockerClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: Basic
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpDockerClient::DockerUntagApi.new
|
32
|
+
data = PulpDockerClient::UnTagImage.new # UnTagImage |
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.create(data)
|
36
|
+
p result
|
37
|
+
rescue PulpDockerClient::ApiError => e
|
38
|
+
puts "Exception when calling DockerUntagApi->create: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
|
45
|
+
Name | Type | Description | Notes
|
46
|
+
------------- | ------------- | ------------- | -------------
|
47
|
+
**data** | [**UnTagImage**](UnTagImage.md)| |
|
48
|
+
|
49
|
+
### Return type
|
50
|
+
|
51
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
52
|
+
|
53
|
+
### Authorization
|
54
|
+
|
55
|
+
[Basic](../README.md#Basic)
|
56
|
+
|
57
|
+
### HTTP request headers
|
58
|
+
|
59
|
+
- **Content-Type**: application/json
|
60
|
+
- **Accept**: application/json
|
61
|
+
|
data/docs/InlineResponse200.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
7
8
|
**_next** | **String** | | [optional]
|
8
9
|
**previous** | **String** | | [optional]
|
9
|
-
**count** | **Integer** | |
|
10
10
|
**results** | [**Array<Blob>**](Blob.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDockerClient'
|
16
16
|
|
17
|
-
instance = PulpDockerClient::InlineResponse200.new(
|
17
|
+
instance = PulpDockerClient::InlineResponse200.new(count: null,
|
18
|
+
_next: null,
|
18
19
|
previous: null,
|
19
|
-
count: null,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
data/docs/InlineResponse2001.md
CHANGED
@@ -4,19 +4,19 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
7
8
|
**_next** | **String** | | [optional]
|
8
9
|
**previous** | **String** | | [optional]
|
9
|
-
**
|
10
|
-
**results** | [**Array<ManifestTag>**](ManifestTag.md) | |
|
10
|
+
**results** | [**Array<Manifest>**](Manifest.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDockerClient'
|
16
16
|
|
17
|
-
instance = PulpDockerClient::InlineResponse2001.new(
|
17
|
+
instance = PulpDockerClient::InlineResponse2001.new(count: null,
|
18
|
+
_next: null,
|
18
19
|
previous: null,
|
19
|
-
count: null,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
data/docs/InlineResponse2002.md
CHANGED
@@ -4,19 +4,19 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
7
8
|
**_next** | **String** | | [optional]
|
8
9
|
**previous** | **String** | | [optional]
|
9
|
-
**
|
10
|
-
**results** | [**Array<Manifest>**](Manifest.md) | |
|
10
|
+
**results** | [**Array<Tag>**](Tag.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDockerClient'
|
16
16
|
|
17
|
-
instance = PulpDockerClient::InlineResponse2002.new(
|
17
|
+
instance = PulpDockerClient::InlineResponse2002.new(count: null,
|
18
|
+
_next: null,
|
18
19
|
previous: null,
|
19
|
-
count: null,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
7
8
|
**_next** | **String** | | [optional]
|
8
9
|
**previous** | **String** | | [optional]
|
9
|
-
**count** | **Integer** | |
|
10
10
|
**results** | [**Array<DockerDistribution>**](DockerDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDockerClient'
|
16
16
|
|
17
|
-
instance = PulpDockerClient::InlineResponse2003.new(
|
17
|
+
instance = PulpDockerClient::InlineResponse2003.new(count: null,
|
18
|
+
_next: null,
|
18
19
|
previous: null,
|
19
|
-
count: null,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
7
8
|
**_next** | **String** | | [optional]
|
8
9
|
**previous** | **String** | | [optional]
|
9
|
-
**count** | **Integer** | |
|
10
10
|
**results** | [**Array<DockerRemote>**](DockerRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpDockerClient'
|
16
16
|
|
17
|
-
instance = PulpDockerClient::InlineResponse2004.new(
|
17
|
+
instance = PulpDockerClient::InlineResponse2004.new(count: null,
|
18
|
+
_next: null,
|
18
19
|
previous: null,
|
19
|
-
count: null,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpDockerClient::ManifestCopy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
8
|
+
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
9
|
+
**destination_repository** | **String** | A URI of the repository to copy content to. |
|
10
|
+
**digests** | **Array<String>** | A list of manifest digests to copy. | [optional]
|
11
|
+
**media_types** | **Array<String>** | A list of media_types to copy. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpDockerClient'
|
17
|
+
|
18
|
+
instance = PulpDockerClient::ManifestCopy.new(source_repository: null,
|
19
|
+
source_repository_version: null,
|
20
|
+
destination_repository: null,
|
21
|
+
digests: null,
|
22
|
+
media_types: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpDockerClient::RecursiveManage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of the repository to add content. |
|
8
|
+
**content_units** | **Array<String>** | A list of content units to operate on. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpDockerClient'
|
14
|
+
|
15
|
+
instance = PulpDockerClient::RecursiveManage.new(repository: null,
|
16
|
+
content_units: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/RemotesDockerApi.md
CHANGED
@@ -150,8 +150,8 @@ opts = {
|
|
150
150
|
_last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
|
151
151
|
_last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
|
152
152
|
_last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
|
153
|
-
|
154
|
-
|
153
|
+
limit: 56, # Integer | Number of results to return per page.
|
154
|
+
offset: 56 # Integer | The initial index from which to return the results.
|
155
155
|
}
|
156
156
|
|
157
157
|
begin
|
@@ -176,8 +176,8 @@ Name | Type | Description | Notes
|
|
176
176
|
**_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
|
177
177
|
**_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
|
178
178
|
**_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
179
|
-
**
|
180
|
-
**
|
179
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
180
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpDockerClient::
|
1
|
+
# PulpDockerClient::Tag
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpDockerClient'
|
19
19
|
|
20
|
-
instance = PulpDockerClient::
|
20
|
+
instance = PulpDockerClient::Tag.new(_href: null,
|
21
21
|
_created: null,
|
22
22
|
_type: null,
|
23
23
|
_artifact: null,
|
data/docs/TagCopy.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDockerClient::TagCopy
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**source_repository** | **String** | A URI of the repository to copy content from. | [optional]
|
8
|
+
**source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
|
9
|
+
**destination_repository** | **String** | A URI of the repository to copy content to. |
|
10
|
+
**names** | **Array<String>** | A list of tag names to copy. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDockerClient'
|
16
|
+
|
17
|
+
instance = PulpDockerClient::TagCopy.new(source_repository: null,
|
18
|
+
source_repository_version: null,
|
19
|
+
destination_repository: null,
|
20
|
+
names: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/TagImage.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpDockerClient::TagImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of the repository. |
|
8
|
+
**tag** | **String** | A tag name |
|
9
|
+
**digest** | **String** | sha256 of the Manifest file |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpDockerClient'
|
15
|
+
|
16
|
+
instance = PulpDockerClient::TagImage.new(repository: null,
|
17
|
+
tag: null,
|
18
|
+
digest: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/UnTagImage.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpDockerClient::UnTagImage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of the repository. |
|
8
|
+
**tag** | **String** | A tag name |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpDockerClient'
|
14
|
+
|
15
|
+
instance = PulpDockerClient::UnTagImage.new(repository: null,
|
16
|
+
tag: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/git_push.sh
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
#!/bin/sh
|
2
|
-
#
|
3
|
-
# Generated by: https://openapi-generator.tech
|
4
|
-
#
|
5
2
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
3
|
#
|
7
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
8
5
|
|
9
6
|
git_user_id=$1
|
10
7
|
git_repo_id=$2
|
11
8
|
release_note=$3
|
9
|
+
git_host=$4
|
10
|
+
|
11
|
+
if [ "$git_host" = "" ]; then
|
12
|
+
git_host="github.com"
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
+
fi
|
12
15
|
|
13
16
|
if [ "$git_user_id" = "" ]; then
|
14
17
|
git_user_id="GIT_USER_ID"
|
@@ -40,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
|
|
40
43
|
|
41
44
|
if [ "$GIT_TOKEN" = "" ]; then
|
42
45
|
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
-
git remote add origin https
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
44
47
|
else
|
45
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}
|
48
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
46
49
|
fi
|
47
50
|
|
48
51
|
fi
|
@@ -50,6 +53,6 @@ fi
|
|
50
53
|
git pull origin master
|
51
54
|
|
52
55
|
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
-
echo "Git pushing to https
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
54
57
|
git push origin master 2>&1 | grep -v 'To https'
|
55
58
|
|