@sonatype/nexus-repo-api-client 3.81.20 → 3.81.22
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.
- package/dist/esm/models/DockerGroupApiRepository.d.ts +18 -0
- package/dist/esm/models/DockerGroupApiRepository.js +6 -0
- package/dist/esm/models/DockerHostedApiRepository.d.ts +21 -3
- package/dist/esm/models/DockerHostedApiRepository.js +9 -3
- package/dist/esm/models/DockerProxyApiRepository.d.ts +18 -0
- package/dist/esm/models/DockerProxyApiRepository.js +6 -0
- package/dist/models/DockerGroupApiRepository.d.ts +18 -0
- package/dist/models/DockerGroupApiRepository.js +6 -0
- package/dist/models/DockerHostedApiRepository.d.ts +21 -3
- package/dist/models/DockerHostedApiRepository.js +9 -3
- package/dist/models/DockerProxyApiRepository.d.ts +18 -0
- package/dist/models/DockerProxyApiRepository.js +6 -0
- package/package.json +1 -1
- package/src/models/DockerGroupApiRepository.ts +24 -0
- package/src/models/DockerHostedApiRepository.ts +35 -11
- package/src/models/DockerProxyApiRepository.ts +24 -0
|
@@ -24,6 +24,12 @@ export interface DockerGroupApiRepository {
|
|
|
24
24
|
* @memberof DockerGroupApiRepository
|
|
25
25
|
*/
|
|
26
26
|
docker: DockerAttributes;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof DockerGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
format?: string;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {GroupDeployAttributes}
|
|
@@ -48,6 +54,18 @@ export interface DockerGroupApiRepository {
|
|
|
48
54
|
* @memberof DockerGroupApiRepository
|
|
49
55
|
*/
|
|
50
56
|
storage: StorageAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof DockerGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof DockerGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
53
71
|
* Check if a given object implements the DockerGroupApiRepository interface.
|
|
@@ -37,10 +37,13 @@ export function DockerGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
39
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
40
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
40
41
|
'group': GroupDeployAttributesFromJSON(json['group']),
|
|
41
42
|
'name': json['name'] == null ? undefined : json['name'],
|
|
42
43
|
'online': json['online'],
|
|
43
44
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
45
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
46
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
export function DockerGroupApiRepositoryToJSON(json) {
|
|
@@ -52,9 +55,12 @@ export function DockerGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
52
55
|
}
|
|
53
56
|
return {
|
|
54
57
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
58
|
+
'format': value['format'],
|
|
55
59
|
'group': GroupDeployAttributesToJSON(value['group']),
|
|
56
60
|
'name': value['name'],
|
|
57
61
|
'online': value['online'],
|
|
58
62
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
63
|
+
'type': value['type'],
|
|
64
|
+
'url': value['url'],
|
|
59
65
|
};
|
|
60
66
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ComponentAttributes } from './ComponentAttributes';
|
|
13
|
-
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
14
13
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
15
14
|
import type { DockerAttributes } from './DockerAttributes';
|
|
15
|
+
import type { DockerHostedStorageAttributes } from './DockerHostedStorageAttributes';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -37,6 +37,12 @@ export interface DockerHostedApiRepository {
|
|
|
37
37
|
* @memberof DockerHostedApiRepository
|
|
38
38
|
*/
|
|
39
39
|
docker: DockerAttributes;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DockerHostedApiRepository
|
|
44
|
+
*/
|
|
45
|
+
format?: string;
|
|
40
46
|
/**
|
|
41
47
|
* A unique identifier for this repository
|
|
42
48
|
* @type {string}
|
|
@@ -51,10 +57,22 @@ export interface DockerHostedApiRepository {
|
|
|
51
57
|
online: boolean;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
|
-
* @type {
|
|
60
|
+
* @type {DockerHostedStorageAttributes}
|
|
61
|
+
* @memberof DockerHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
storage: DockerHostedStorageAttributes;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof DockerHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
type?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
55
73
|
* @memberof DockerHostedApiRepository
|
|
56
74
|
*/
|
|
57
|
-
|
|
75
|
+
url?: string;
|
|
58
76
|
}
|
|
59
77
|
/**
|
|
60
78
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ComponentAttributesFromJSON, ComponentAttributesToJSON, } from './ComponentAttributes';
|
|
15
|
-
import { HostedStorageAttributesFromJSON, HostedStorageAttributesToJSON, } from './HostedStorageAttributes';
|
|
16
15
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
17
16
|
import { DockerAttributesFromJSON, DockerAttributesToJSON, } from './DockerAttributes';
|
|
17
|
+
import { DockerHostedStorageAttributesFromJSON, DockerHostedStorageAttributesToJSON, } from './DockerHostedStorageAttributes';
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
20
20
|
*/
|
|
@@ -38,9 +38,12 @@ export function DockerHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator
|
|
|
38
38
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
39
39
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
40
40
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
41
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
41
42
|
'name': json['name'] == null ? undefined : json['name'],
|
|
42
43
|
'online': json['online'],
|
|
43
|
-
'storage':
|
|
44
|
+
'storage': DockerHostedStorageAttributesFromJSON(json['storage']),
|
|
45
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
46
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
export function DockerHostedApiRepositoryToJSON(json) {
|
|
@@ -54,8 +57,11 @@ export function DockerHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator
|
|
|
54
57
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
55
58
|
'component': ComponentAttributesToJSON(value['component']),
|
|
56
59
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
60
|
+
'format': value['format'],
|
|
57
61
|
'name': value['name'],
|
|
58
62
|
'online': value['online'],
|
|
59
|
-
'storage':
|
|
63
|
+
'storage': DockerHostedStorageAttributesToJSON(value['storage']),
|
|
64
|
+
'type': value['type'],
|
|
65
|
+
'url': value['url'],
|
|
60
66
|
};
|
|
61
67
|
}
|
|
@@ -41,6 +41,12 @@ export interface DockerProxyApiRepository {
|
|
|
41
41
|
* @memberof DockerProxyApiRepository
|
|
42
42
|
*/
|
|
43
43
|
dockerProxy: DockerProxyAttributes;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof DockerProxyApiRepository
|
|
48
|
+
*/
|
|
49
|
+
format?: string;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {HttpClientAttributes}
|
|
@@ -89,6 +95,18 @@ export interface DockerProxyApiRepository {
|
|
|
89
95
|
* @memberof DockerProxyApiRepository
|
|
90
96
|
*/
|
|
91
97
|
storage: StorageAttributes;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof DockerProxyApiRepository
|
|
102
|
+
*/
|
|
103
|
+
type?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof DockerProxyApiRepository
|
|
108
|
+
*/
|
|
109
|
+
url?: string;
|
|
92
110
|
}
|
|
93
111
|
/**
|
|
94
112
|
* Check if a given object implements the DockerProxyApiRepository interface.
|
|
@@ -50,6 +50,7 @@ export function DockerProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
50
50
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
51
51
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
52
52
|
'dockerProxy': DockerProxyAttributesFromJSON(json['dockerProxy']),
|
|
53
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
53
54
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
54
55
|
'name': json['name'] == null ? undefined : json['name'],
|
|
55
56
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -58,6 +59,8 @@ export function DockerProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
58
59
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
59
60
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
60
61
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
62
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
63
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
61
64
|
};
|
|
62
65
|
}
|
|
63
66
|
export function DockerProxyApiRepositoryToJSON(json) {
|
|
@@ -71,6 +74,7 @@ export function DockerProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
71
74
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
72
75
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
73
76
|
'dockerProxy': DockerProxyAttributesToJSON(value['dockerProxy']),
|
|
77
|
+
'format': value['format'],
|
|
74
78
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
75
79
|
'name': value['name'],
|
|
76
80
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -79,5 +83,7 @@ export function DockerProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
79
83
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
80
84
|
'routingRuleName': value['routingRuleName'],
|
|
81
85
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
86
|
+
'type': value['type'],
|
|
87
|
+
'url': value['url'],
|
|
82
88
|
};
|
|
83
89
|
}
|
|
@@ -24,6 +24,12 @@ export interface DockerGroupApiRepository {
|
|
|
24
24
|
* @memberof DockerGroupApiRepository
|
|
25
25
|
*/
|
|
26
26
|
docker: DockerAttributes;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof DockerGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
format?: string;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {GroupDeployAttributes}
|
|
@@ -48,6 +54,18 @@ export interface DockerGroupApiRepository {
|
|
|
48
54
|
* @memberof DockerGroupApiRepository
|
|
49
55
|
*/
|
|
50
56
|
storage: StorageAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof DockerGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof DockerGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
53
71
|
* Check if a given object implements the DockerGroupApiRepository interface.
|
|
@@ -44,10 +44,13 @@ function DockerGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
46
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
47
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
47
48
|
'group': (0, GroupDeployAttributes_1.GroupDeployAttributesFromJSON)(json['group']),
|
|
48
49
|
'name': json['name'] == null ? undefined : json['name'],
|
|
49
50
|
'online': json['online'],
|
|
50
51
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
52
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
53
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
function DockerGroupApiRepositoryToJSON(json) {
|
|
@@ -59,9 +62,12 @@ function DockerGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
59
62
|
}
|
|
60
63
|
return {
|
|
61
64
|
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value['docker']),
|
|
65
|
+
'format': value['format'],
|
|
62
66
|
'group': (0, GroupDeployAttributes_1.GroupDeployAttributesToJSON)(value['group']),
|
|
63
67
|
'name': value['name'],
|
|
64
68
|
'online': value['online'],
|
|
65
69
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
70
|
+
'type': value['type'],
|
|
71
|
+
'url': value['url'],
|
|
66
72
|
};
|
|
67
73
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ComponentAttributes } from './ComponentAttributes';
|
|
13
|
-
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
14
13
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
15
14
|
import type { DockerAttributes } from './DockerAttributes';
|
|
15
|
+
import type { DockerHostedStorageAttributes } from './DockerHostedStorageAttributes';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -37,6 +37,12 @@ export interface DockerHostedApiRepository {
|
|
|
37
37
|
* @memberof DockerHostedApiRepository
|
|
38
38
|
*/
|
|
39
39
|
docker: DockerAttributes;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DockerHostedApiRepository
|
|
44
|
+
*/
|
|
45
|
+
format?: string;
|
|
40
46
|
/**
|
|
41
47
|
* A unique identifier for this repository
|
|
42
48
|
* @type {string}
|
|
@@ -51,10 +57,22 @@ export interface DockerHostedApiRepository {
|
|
|
51
57
|
online: boolean;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
|
-
* @type {
|
|
60
|
+
* @type {DockerHostedStorageAttributes}
|
|
61
|
+
* @memberof DockerHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
storage: DockerHostedStorageAttributes;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof DockerHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
type?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
55
73
|
* @memberof DockerHostedApiRepository
|
|
56
74
|
*/
|
|
57
|
-
|
|
75
|
+
url?: string;
|
|
58
76
|
}
|
|
59
77
|
/**
|
|
60
78
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
@@ -19,9 +19,9 @@ exports.DockerHostedApiRepositoryFromJSONTyped = DockerHostedApiRepositoryFromJS
|
|
|
19
19
|
exports.DockerHostedApiRepositoryToJSON = DockerHostedApiRepositoryToJSON;
|
|
20
20
|
exports.DockerHostedApiRepositoryToJSONTyped = DockerHostedApiRepositoryToJSONTyped;
|
|
21
21
|
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
22
|
-
const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
23
22
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
24
23
|
const DockerAttributes_1 = require("./DockerAttributes");
|
|
24
|
+
const DockerHostedStorageAttributes_1 = require("./DockerHostedStorageAttributes");
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
27
27
|
*/
|
|
@@ -45,9 +45,12 @@ function DockerHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
46
46
|
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
47
47
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
48
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
48
49
|
'name': json['name'] == null ? undefined : json['name'],
|
|
49
50
|
'online': json['online'],
|
|
50
|
-
'storage': (0,
|
|
51
|
+
'storage': (0, DockerHostedStorageAttributes_1.DockerHostedStorageAttributesFromJSON)(json['storage']),
|
|
52
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
53
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
function DockerHostedApiRepositoryToJSON(json) {
|
|
@@ -61,8 +64,11 @@ function DockerHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false
|
|
|
61
64
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
62
65
|
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
63
66
|
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value['docker']),
|
|
67
|
+
'format': value['format'],
|
|
64
68
|
'name': value['name'],
|
|
65
69
|
'online': value['online'],
|
|
66
|
-
'storage': (0,
|
|
70
|
+
'storage': (0, DockerHostedStorageAttributes_1.DockerHostedStorageAttributesToJSON)(value['storage']),
|
|
71
|
+
'type': value['type'],
|
|
72
|
+
'url': value['url'],
|
|
67
73
|
};
|
|
68
74
|
}
|
|
@@ -41,6 +41,12 @@ export interface DockerProxyApiRepository {
|
|
|
41
41
|
* @memberof DockerProxyApiRepository
|
|
42
42
|
*/
|
|
43
43
|
dockerProxy: DockerProxyAttributes;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof DockerProxyApiRepository
|
|
48
|
+
*/
|
|
49
|
+
format?: string;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {HttpClientAttributes}
|
|
@@ -89,6 +95,18 @@ export interface DockerProxyApiRepository {
|
|
|
89
95
|
* @memberof DockerProxyApiRepository
|
|
90
96
|
*/
|
|
91
97
|
storage: StorageAttributes;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof DockerProxyApiRepository
|
|
102
|
+
*/
|
|
103
|
+
type?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof DockerProxyApiRepository
|
|
108
|
+
*/
|
|
109
|
+
url?: string;
|
|
92
110
|
}
|
|
93
111
|
/**
|
|
94
112
|
* Check if a given object implements the DockerProxyApiRepository interface.
|
|
@@ -57,6 +57,7 @@ function DockerProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
58
58
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
59
59
|
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesFromJSON)(json['dockerProxy']),
|
|
60
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
60
61
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
61
62
|
'name': json['name'] == null ? undefined : json['name'],
|
|
62
63
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -65,6 +66,8 @@ function DockerProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
66
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
66
67
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
67
68
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
69
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
70
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
68
71
|
};
|
|
69
72
|
}
|
|
70
73
|
function DockerProxyApiRepositoryToJSON(json) {
|
|
@@ -78,6 +81,7 @@ function DockerProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
78
81
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
79
82
|
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value['docker']),
|
|
80
83
|
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesToJSON)(value['dockerProxy']),
|
|
84
|
+
'format': value['format'],
|
|
81
85
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
82
86
|
'name': value['name'],
|
|
83
87
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -86,5 +90,7 @@ function DockerProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
86
90
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
87
91
|
'routingRuleName': value['routingRuleName'],
|
|
88
92
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
93
|
+
'type': value['type'],
|
|
94
|
+
'url': value['url'],
|
|
89
95
|
};
|
|
90
96
|
}
|
package/package.json
CHANGED
|
@@ -47,6 +47,12 @@ export interface DockerGroupApiRepository {
|
|
|
47
47
|
* @memberof DockerGroupApiRepository
|
|
48
48
|
*/
|
|
49
49
|
docker: DockerAttributes;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof DockerGroupApiRepository
|
|
54
|
+
*/
|
|
55
|
+
format?: string;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {GroupDeployAttributes}
|
|
@@ -71,6 +77,18 @@ export interface DockerGroupApiRepository {
|
|
|
71
77
|
* @memberof DockerGroupApiRepository
|
|
72
78
|
*/
|
|
73
79
|
storage: StorageAttributes;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof DockerGroupApiRepository
|
|
84
|
+
*/
|
|
85
|
+
type?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof DockerGroupApiRepository
|
|
90
|
+
*/
|
|
91
|
+
url?: string;
|
|
74
92
|
}
|
|
75
93
|
|
|
76
94
|
/**
|
|
@@ -95,10 +113,13 @@ export function DockerGroupApiRepositoryFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
95
113
|
return {
|
|
96
114
|
|
|
97
115
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
116
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
98
117
|
'group': GroupDeployAttributesFromJSON(json['group']),
|
|
99
118
|
'name': json['name'] == null ? undefined : json['name'],
|
|
100
119
|
'online': json['online'],
|
|
101
120
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
121
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
122
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
102
123
|
};
|
|
103
124
|
}
|
|
104
125
|
|
|
@@ -114,10 +135,13 @@ export function DockerGroupApiRepositoryToJSONTyped(value?: DockerGroupApiReposi
|
|
|
114
135
|
return {
|
|
115
136
|
|
|
116
137
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
138
|
+
'format': value['format'],
|
|
117
139
|
'group': GroupDeployAttributesToJSON(value['group']),
|
|
118
140
|
'name': value['name'],
|
|
119
141
|
'online': value['online'],
|
|
120
142
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
143
|
+
'type': value['type'],
|
|
144
|
+
'url': value['url'],
|
|
121
145
|
};
|
|
122
146
|
}
|
|
123
147
|
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
ComponentAttributesToJSON,
|
|
21
21
|
ComponentAttributesToJSONTyped,
|
|
22
22
|
} from './ComponentAttributes';
|
|
23
|
-
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
24
|
-
import {
|
|
25
|
-
HostedStorageAttributesFromJSON,
|
|
26
|
-
HostedStorageAttributesFromJSONTyped,
|
|
27
|
-
HostedStorageAttributesToJSON,
|
|
28
|
-
HostedStorageAttributesToJSONTyped,
|
|
29
|
-
} from './HostedStorageAttributes';
|
|
30
23
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
31
24
|
import {
|
|
32
25
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -41,6 +34,13 @@ import {
|
|
|
41
34
|
DockerAttributesToJSON,
|
|
42
35
|
DockerAttributesToJSONTyped,
|
|
43
36
|
} from './DockerAttributes';
|
|
37
|
+
import type { DockerHostedStorageAttributes } from './DockerHostedStorageAttributes';
|
|
38
|
+
import {
|
|
39
|
+
DockerHostedStorageAttributesFromJSON,
|
|
40
|
+
DockerHostedStorageAttributesFromJSONTyped,
|
|
41
|
+
DockerHostedStorageAttributesToJSON,
|
|
42
|
+
DockerHostedStorageAttributesToJSONTyped,
|
|
43
|
+
} from './DockerHostedStorageAttributes';
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
@@ -66,6 +66,12 @@ export interface DockerHostedApiRepository {
|
|
|
66
66
|
* @memberof DockerHostedApiRepository
|
|
67
67
|
*/
|
|
68
68
|
docker: DockerAttributes;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof DockerHostedApiRepository
|
|
73
|
+
*/
|
|
74
|
+
format?: string;
|
|
69
75
|
/**
|
|
70
76
|
* A unique identifier for this repository
|
|
71
77
|
* @type {string}
|
|
@@ -80,10 +86,22 @@ export interface DockerHostedApiRepository {
|
|
|
80
86
|
online: boolean;
|
|
81
87
|
/**
|
|
82
88
|
*
|
|
83
|
-
* @type {
|
|
89
|
+
* @type {DockerHostedStorageAttributes}
|
|
90
|
+
* @memberof DockerHostedApiRepository
|
|
91
|
+
*/
|
|
92
|
+
storage: DockerHostedStorageAttributes;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof DockerHostedApiRepository
|
|
97
|
+
*/
|
|
98
|
+
type?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
84
102
|
* @memberof DockerHostedApiRepository
|
|
85
103
|
*/
|
|
86
|
-
|
|
104
|
+
url?: string;
|
|
87
105
|
}
|
|
88
106
|
|
|
89
107
|
/**
|
|
@@ -109,9 +127,12 @@ export function DockerHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
109
127
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
110
128
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
111
129
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
130
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
112
131
|
'name': json['name'] == null ? undefined : json['name'],
|
|
113
132
|
'online': json['online'],
|
|
114
|
-
'storage':
|
|
133
|
+
'storage': DockerHostedStorageAttributesFromJSON(json['storage']),
|
|
134
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
135
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
115
136
|
};
|
|
116
137
|
}
|
|
117
138
|
|
|
@@ -129,9 +150,12 @@ export function DockerHostedApiRepositoryToJSONTyped(value?: DockerHostedApiRepo
|
|
|
129
150
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
130
151
|
'component': ComponentAttributesToJSON(value['component']),
|
|
131
152
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
153
|
+
'format': value['format'],
|
|
132
154
|
'name': value['name'],
|
|
133
155
|
'online': value['online'],
|
|
134
|
-
'storage':
|
|
156
|
+
'storage': DockerHostedStorageAttributesToJSON(value['storage']),
|
|
157
|
+
'type': value['type'],
|
|
158
|
+
'url': value['url'],
|
|
135
159
|
};
|
|
136
160
|
}
|
|
137
161
|
|
|
@@ -94,6 +94,12 @@ export interface DockerProxyApiRepository {
|
|
|
94
94
|
* @memberof DockerProxyApiRepository
|
|
95
95
|
*/
|
|
96
96
|
dockerProxy: DockerProxyAttributes;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof DockerProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
format?: string;
|
|
97
103
|
/**
|
|
98
104
|
*
|
|
99
105
|
* @type {HttpClientAttributes}
|
|
@@ -142,6 +148,18 @@ export interface DockerProxyApiRepository {
|
|
|
142
148
|
* @memberof DockerProxyApiRepository
|
|
143
149
|
*/
|
|
144
150
|
storage: StorageAttributes;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof DockerProxyApiRepository
|
|
155
|
+
*/
|
|
156
|
+
type?: string;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof DockerProxyApiRepository
|
|
161
|
+
*/
|
|
162
|
+
url?: string;
|
|
145
163
|
}
|
|
146
164
|
|
|
147
165
|
/**
|
|
@@ -171,6 +189,7 @@ export function DockerProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
171
189
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
172
190
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
173
191
|
'dockerProxy': DockerProxyAttributesFromJSON(json['dockerProxy']),
|
|
192
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
174
193
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
175
194
|
'name': json['name'] == null ? undefined : json['name'],
|
|
176
195
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -179,6 +198,8 @@ export function DockerProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
179
198
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
180
199
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
181
200
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
201
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
202
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
182
203
|
};
|
|
183
204
|
}
|
|
184
205
|
|
|
@@ -196,6 +217,7 @@ export function DockerProxyApiRepositoryToJSONTyped(value?: DockerProxyApiReposi
|
|
|
196
217
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
197
218
|
'docker': DockerAttributesToJSON(value['docker']),
|
|
198
219
|
'dockerProxy': DockerProxyAttributesToJSON(value['dockerProxy']),
|
|
220
|
+
'format': value['format'],
|
|
199
221
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
200
222
|
'name': value['name'],
|
|
201
223
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -204,6 +226,8 @@ export function DockerProxyApiRepositoryToJSONTyped(value?: DockerProxyApiReposi
|
|
|
204
226
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
205
227
|
'routingRuleName': value['routingRuleName'],
|
|
206
228
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
229
|
+
'type': value['type'],
|
|
230
|
+
'url': value['url'],
|
|
207
231
|
};
|
|
208
232
|
}
|
|
209
233
|
|