Skip to content

Commit 3b2b27a

Browse files
authored
Bump to 1.3.0 (#53)
1 parent dbda078 commit 3b2b27a

File tree

1,134 files changed

+162765
-134750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,134 files changed

+162765
-134750
lines changed

containerized-data-importer/apis/DefaultApi.ts

Lines changed: 3606 additions & 2718 deletions
Large diffs are not rendered by default.

containerized-data-importer/models/ApiNodePlacement.ts

Lines changed: 54 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@
1212
* Do not edit the class manually.
1313
*/
1414

15-
import { exists, mapValues } from '../runtime';
15+
import { exists } from '../runtime';
1616
import {
17-
V1Affinity,
18-
V1AffinityFromJSON,
19-
V1AffinityFromJSONTyped,
20-
V1AffinityToJSON,
21-
V1Toleration,
22-
V1TolerationFromJSON,
23-
V1TolerationFromJSONTyped,
24-
V1TolerationToJSON,
17+
V1Affinity,
18+
V1AffinityFromJSON,
19+
V1AffinityToJSON,
20+
V1Toleration,
21+
V1TolerationFromJSON,
22+
V1TolerationToJSON,
2523
} from './';
2624

2725
/**
@@ -30,54 +28,59 @@ import {
3028
* @interface ApiNodePlacement
3129
*/
3230
export interface ApiNodePlacement {
33-
/**
34-
*
35-
* @type {V1Affinity}
36-
* @memberof ApiNodePlacement
37-
*/
38-
affinity?: V1Affinity;
39-
/**
40-
* nodeSelector is the node selector applied to the relevant kind of pods It specifies a map of key-value pairs: for the pod to be eligible to run on a node, the node must have each of the indicated key-value pairs as labels (it can have additional labels as well). See https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
41-
* @type {{ [key: string]: string; }}
42-
* @memberof ApiNodePlacement
43-
*/
44-
nodeSelector?: { [key: string]: string; };
45-
/**
46-
* tolerations is a list of tolerations applied to the relevant kind of pods See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ for more info. These are additional tolerations other than default ones.
47-
* @type {Array<V1Toleration>}
48-
* @memberof ApiNodePlacement
49-
*/
50-
tolerations?: Array<V1Toleration>;
31+
/**
32+
*
33+
* @type {V1Affinity}
34+
* @memberof ApiNodePlacement
35+
*/
36+
affinity?: V1Affinity;
37+
/**
38+
* nodeSelector is the node selector applied to the relevant kind of pods It specifies a map of key-value pairs: for the pod to be eligible to run on a node, the node must have each of the indicated key-value pairs as labels (it can have additional labels as well). See https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
39+
* @type {{ [key: string]: string; }}
40+
* @memberof ApiNodePlacement
41+
*/
42+
nodeSelector?: { [key: string]: string };
43+
/**
44+
* tolerations is a list of tolerations applied to the relevant kind of pods See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ for more info. These are additional tolerations other than default ones.
45+
* @type {Array<V1Toleration>}
46+
* @memberof ApiNodePlacement
47+
*/
48+
tolerations?: Array<V1Toleration>;
5149
}
5250

5351
export function ApiNodePlacementFromJSON(json: any): ApiNodePlacement {
54-
return ApiNodePlacementFromJSONTyped(json, false);
52+
return ApiNodePlacementFromJSONTyped(json, false);
5553
}
5654

57-
export function ApiNodePlacementFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNodePlacement {
58-
if ((json === undefined) || (json === null)) {
59-
return json;
60-
}
61-
return {
62-
63-
'affinity': !exists(json, 'affinity') ? undefined : V1AffinityFromJSON(json['affinity']),
64-
'nodeSelector': !exists(json, 'nodeSelector') ? undefined : json['nodeSelector'],
65-
'tolerations': !exists(json, 'tolerations') ? undefined : ((json['tolerations'] as Array<any>).map(V1TolerationFromJSON)),
66-
};
55+
export function ApiNodePlacementFromJSONTyped(
56+
json: any,
57+
_ignoreDiscriminator: boolean,
58+
): ApiNodePlacement {
59+
if (json === undefined || json === null) {
60+
return json;
61+
}
62+
return {
63+
affinity: !exists(json, 'affinity') ? undefined : V1AffinityFromJSON(json['affinity']),
64+
nodeSelector: !exists(json, 'nodeSelector') ? undefined : json['nodeSelector'],
65+
tolerations: !exists(json, 'tolerations')
66+
? undefined
67+
: (json['tolerations'] as Array<any>).map(V1TolerationFromJSON),
68+
};
6769
}
6870

6971
export function ApiNodePlacementToJSON(value?: ApiNodePlacement | null): any {
70-
if (value === undefined) {
71-
return undefined;
72-
}
73-
if (value === null) {
74-
return null;
75-
}
76-
return {
77-
78-
'affinity': V1AffinityToJSON(value.affinity),
79-
'nodeSelector': value.nodeSelector,
80-
'tolerations': value.tolerations === undefined ? undefined : ((value.tolerations as Array<any>).map(V1TolerationToJSON)),
81-
};
72+
if (value === undefined) {
73+
return undefined;
74+
}
75+
if (value === null) {
76+
return null;
77+
}
78+
return {
79+
affinity: V1AffinityToJSON(value.affinity),
80+
nodeSelector: value.nodeSelector,
81+
tolerations:
82+
value.tolerations === undefined
83+
? undefined
84+
: (value.tolerations as Array<any>).map(V1TolerationToJSON),
85+
};
8286
}
83-

containerized-data-importer/models/V1APIGroup.ts

Lines changed: 77 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@
1212
* Do not edit the class manually.
1313
*/
1414

15-
import { exists, mapValues } from '../runtime';
15+
import { exists } from '../runtime';
1616
import {
17-
V1GroupVersionForDiscovery,
18-
V1GroupVersionForDiscoveryFromJSON,
19-
V1GroupVersionForDiscoveryFromJSONTyped,
20-
V1GroupVersionForDiscoveryToJSON,
21-
V1ServerAddressByClientCIDR,
22-
V1ServerAddressByClientCIDRFromJSON,
23-
V1ServerAddressByClientCIDRFromJSONTyped,
24-
V1ServerAddressByClientCIDRToJSON,
17+
V1GroupVersionForDiscovery,
18+
V1GroupVersionForDiscoveryFromJSON,
19+
V1GroupVersionForDiscoveryToJSON,
20+
V1ServerAddressByClientCIDR,
21+
V1ServerAddressByClientCIDRFromJSON,
22+
V1ServerAddressByClientCIDRToJSON,
2523
} from './';
2624

2725
/**
@@ -30,78 +28,82 @@ import {
3028
* @interface V1APIGroup
3129
*/
3230
export interface V1APIGroup {
33-
/**
34-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
35-
* @type {string}
36-
* @memberof V1APIGroup
37-
*/
38-
apiVersion?: string;
39-
/**
40-
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41-
* @type {string}
42-
* @memberof V1APIGroup
43-
*/
44-
kind?: string;
45-
/**
46-
* name is the name of the group.
47-
* @type {string}
48-
* @memberof V1APIGroup
49-
*/
50-
name: string;
51-
/**
52-
*
53-
* @type {V1GroupVersionForDiscovery}
54-
* @memberof V1APIGroup
55-
*/
56-
preferredVersion?: V1GroupVersionForDiscovery;
57-
/**
58-
* a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
59-
* @type {Array<V1ServerAddressByClientCIDR>}
60-
* @memberof V1APIGroup
61-
*/
62-
serverAddressByClientCIDRs?: Array<V1ServerAddressByClientCIDR>;
63-
/**
64-
* versions are the versions supported in this group.
65-
* @type {Array<V1GroupVersionForDiscovery>}
66-
* @memberof V1APIGroup
67-
*/
68-
versions: Array<V1GroupVersionForDiscovery>;
31+
/**
32+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33+
* @type {string}
34+
* @memberof V1APIGroup
35+
*/
36+
apiVersion?: string;
37+
/**
38+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39+
* @type {string}
40+
* @memberof V1APIGroup
41+
*/
42+
kind?: string;
43+
/**
44+
* name is the name of the group.
45+
* @type {string}
46+
* @memberof V1APIGroup
47+
*/
48+
name: string;
49+
/**
50+
*
51+
* @type {V1GroupVersionForDiscovery}
52+
* @memberof V1APIGroup
53+
*/
54+
preferredVersion?: V1GroupVersionForDiscovery;
55+
/**
56+
* a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
57+
* @type {Array<V1ServerAddressByClientCIDR>}
58+
* @memberof V1APIGroup
59+
*/
60+
serverAddressByClientCIDRs?: Array<V1ServerAddressByClientCIDR>;
61+
/**
62+
* versions are the versions supported in this group.
63+
* @type {Array<V1GroupVersionForDiscovery>}
64+
* @memberof V1APIGroup
65+
*/
66+
versions: Array<V1GroupVersionForDiscovery>;
6967
}
7068

7169
export function V1APIGroupFromJSON(json: any): V1APIGroup {
72-
return V1APIGroupFromJSONTyped(json, false);
70+
return V1APIGroupFromJSONTyped(json, false);
7371
}
7472

75-
export function V1APIGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1APIGroup {
76-
if ((json === undefined) || (json === null)) {
77-
return json;
78-
}
79-
return {
80-
81-
'apiVersion': !exists(json, 'apiVersion') ? undefined : json['apiVersion'],
82-
'kind': !exists(json, 'kind') ? undefined : json['kind'],
83-
'name': json['name'],
84-
'preferredVersion': !exists(json, 'preferredVersion') ? undefined : V1GroupVersionForDiscoveryFromJSON(json['preferredVersion']),
85-
'serverAddressByClientCIDRs': !exists(json, 'serverAddressByClientCIDRs') ? undefined : ((json['serverAddressByClientCIDRs'] as Array<any>).map(V1ServerAddressByClientCIDRFromJSON)),
86-
'versions': ((json['versions'] as Array<any>).map(V1GroupVersionForDiscoveryFromJSON)),
87-
};
73+
export function V1APIGroupFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1APIGroup {
74+
if (json === undefined || json === null) {
75+
return json;
76+
}
77+
return {
78+
apiVersion: !exists(json, 'apiVersion') ? undefined : json['apiVersion'],
79+
kind: !exists(json, 'kind') ? undefined : json['kind'],
80+
name: json['name'],
81+
preferredVersion: !exists(json, 'preferredVersion')
82+
? undefined
83+
: V1GroupVersionForDiscoveryFromJSON(json['preferredVersion']),
84+
serverAddressByClientCIDRs: !exists(json, 'serverAddressByClientCIDRs')
85+
? undefined
86+
: (json['serverAddressByClientCIDRs'] as Array<any>).map(V1ServerAddressByClientCIDRFromJSON),
87+
versions: (json['versions'] as Array<any>).map(V1GroupVersionForDiscoveryFromJSON),
88+
};
8889
}
8990

9091
export function V1APIGroupToJSON(value?: V1APIGroup | null): any {
91-
if (value === undefined) {
92-
return undefined;
93-
}
94-
if (value === null) {
95-
return null;
96-
}
97-
return {
98-
99-
'apiVersion': value.apiVersion,
100-
'kind': value.kind,
101-
'name': value.name,
102-
'preferredVersion': V1GroupVersionForDiscoveryToJSON(value.preferredVersion),
103-
'serverAddressByClientCIDRs': value.serverAddressByClientCIDRs === undefined ? undefined : ((value.serverAddressByClientCIDRs as Array<any>).map(V1ServerAddressByClientCIDRToJSON)),
104-
'versions': ((value.versions as Array<any>).map(V1GroupVersionForDiscoveryToJSON)),
105-
};
92+
if (value === undefined) {
93+
return undefined;
94+
}
95+
if (value === null) {
96+
return null;
97+
}
98+
return {
99+
apiVersion: value.apiVersion,
100+
kind: value.kind,
101+
name: value.name,
102+
preferredVersion: V1GroupVersionForDiscoveryToJSON(value.preferredVersion),
103+
serverAddressByClientCIDRs:
104+
value.serverAddressByClientCIDRs === undefined
105+
? undefined
106+
: (value.serverAddressByClientCIDRs as Array<any>).map(V1ServerAddressByClientCIDRToJSON),
107+
versions: (value.versions as Array<any>).map(V1GroupVersionForDiscoveryToJSON),
108+
};
106109
}
107-

0 commit comments

Comments
 (0)