Skip to content

Commit 0dd5825

Browse files
authored
Update APIs - package version bumped to 1.3.7 (#66)
1 parent ee8a84b commit 0dd5825

File tree

2,153 files changed

+127052
-77960
lines changed

Some content is hidden

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

2,153 files changed

+127052
-77960
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ typings/
103103
.tern-port
104104

105105
./package-lock.json
106+
107+
# JetBrains IDE settings files
108+
.idea

containerized-data-importer/models/V1CustomTLSProfile.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

containerized-data-importer/models/V1LocalObjectReference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { exists } from '../runtime';
2020
*/
2121
export interface V1LocalObjectReference {
2222
/**
23-
* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
23+
* Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
2424
* @type {string}
2525
* @memberof V1LocalObjectReference
2626
*/

containerized-data-importer/models/V1PersistentVolumeClaimSpec.ts

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ import {
1717
V1LabelSelector,
1818
V1LabelSelectorFromJSON,
1919
V1LabelSelectorToJSON,
20-
V1ResourceRequirements,
21-
V1ResourceRequirementsFromJSON,
22-
V1ResourceRequirementsToJSON,
2320
V1TypedLocalObjectReference,
2421
V1TypedLocalObjectReferenceFromJSON,
2522
V1TypedLocalObjectReferenceToJSON,
2623
V1TypedObjectReference,
2724
V1TypedObjectReferenceFromJSON,
2825
V1TypedObjectReferenceToJSON,
26+
V1VolumeResourceRequirements,
27+
V1VolumeResourceRequirementsFromJSON,
28+
V1VolumeResourceRequirementsToJSON,
2929
} from './';
3030

3131
/**
@@ -39,7 +39,7 @@ export interface V1PersistentVolumeClaimSpec {
3939
* @type {Array<string>}
4040
* @memberof V1PersistentVolumeClaimSpec
4141
*/
42-
accessModes?: Array<string>;
42+
accessModes?: Array<V1PersistentVolumeClaimSpecAccessModesEnum>;
4343
/**
4444
*
4545
* @type {V1TypedLocalObjectReference}
@@ -54,10 +54,10 @@ export interface V1PersistentVolumeClaimSpec {
5454
dataSourceRef?: V1TypedObjectReference;
5555
/**
5656
*
57-
* @type {V1ResourceRequirements}
57+
* @type {V1VolumeResourceRequirements}
5858
* @memberof V1PersistentVolumeClaimSpec
5959
*/
60-
resources?: V1ResourceRequirements;
60+
resources?: V1VolumeResourceRequirements;
6161
/**
6262
*
6363
* @type {V1LabelSelector}
@@ -70,6 +70,12 @@ export interface V1PersistentVolumeClaimSpec {
7070
* @memberof V1PersistentVolumeClaimSpec
7171
*/
7272
storageClassName?: string;
73+
/**
74+
* volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
75+
* @type {string}
76+
* @memberof V1PersistentVolumeClaimSpec
77+
*/
78+
volumeAttributesClassName?: string;
7379
/**
7480
* volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
7581
*
@@ -89,6 +95,16 @@ export interface V1PersistentVolumeClaimSpec {
8995
volumeName?: string;
9096
}
9197

98+
/**
99+
* @export
100+
* @enum {string}
101+
*/
102+
export enum V1PersistentVolumeClaimSpecAccessModesEnum {
103+
ReadOnlyMany = 'ReadOnlyMany',
104+
ReadWriteMany = 'ReadWriteMany',
105+
ReadWriteOnce = 'ReadWriteOnce',
106+
ReadWriteOncePod = 'ReadWriteOncePod',
107+
}
92108
/**
93109
* @export
94110
* @enum {string}
@@ -120,9 +136,12 @@ export function V1PersistentVolumeClaimSpecFromJSONTyped(
120136
: V1TypedObjectReferenceFromJSON(json['dataSourceRef']),
121137
resources: !exists(json, 'resources')
122138
? undefined
123-
: V1ResourceRequirementsFromJSON(json['resources']),
139+
: V1VolumeResourceRequirementsFromJSON(json['resources']),
124140
selector: !exists(json, 'selector') ? undefined : V1LabelSelectorFromJSON(json['selector']),
125141
storageClassName: !exists(json, 'storageClassName') ? undefined : json['storageClassName'],
142+
volumeAttributesClassName: !exists(json, 'volumeAttributesClassName')
143+
? undefined
144+
: json['volumeAttributesClassName'],
126145
volumeMode: !exists(json, 'volumeMode') ? undefined : json['volumeMode'],
127146
volumeName: !exists(json, 'volumeName') ? undefined : json['volumeName'],
128147
};
@@ -139,9 +158,10 @@ export function V1PersistentVolumeClaimSpecToJSON(value?: V1PersistentVolumeClai
139158
accessModes: value.accessModes,
140159
dataSource: V1TypedLocalObjectReferenceToJSON(value.dataSource),
141160
dataSourceRef: V1TypedObjectReferenceToJSON(value.dataSourceRef),
142-
resources: V1ResourceRequirementsToJSON(value.resources),
161+
resources: V1VolumeResourceRequirementsToJSON(value.resources),
143162
selector: V1LabelSelectorToJSON(value.selector),
144163
storageClassName: value.storageClassName,
164+
volumeAttributesClassName: value.volumeAttributesClassName,
145165
volumeMode: value.volumeMode,
146166
volumeName: value.volumeName,
147167
};

containerized-data-importer/models/V1PodAffinityTerm.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ export interface V1PodAffinityTerm {
2727
* @memberof V1PodAffinityTerm
2828
*/
2929
labelSelector?: V1LabelSelector;
30+
/**
31+
* MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).
32+
* @type {Array<string>}
33+
* @memberof V1PodAffinityTerm
34+
*/
35+
matchLabelKeys?: Array<string>;
36+
/**
37+
* MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).
38+
* @type {Array<string>}
39+
* @memberof V1PodAffinityTerm
40+
*/
41+
mismatchLabelKeys?: Array<string>;
3042
/**
3143
*
3244
* @type {V1LabelSelector}
@@ -62,6 +74,8 @@ export function V1PodAffinityTermFromJSONTyped(
6274
labelSelector: !exists(json, 'labelSelector')
6375
? undefined
6476
: V1LabelSelectorFromJSON(json['labelSelector']),
77+
matchLabelKeys: !exists(json, 'matchLabelKeys') ? undefined : json['matchLabelKeys'],
78+
mismatchLabelKeys: !exists(json, 'mismatchLabelKeys') ? undefined : json['mismatchLabelKeys'],
6579
namespaceSelector: !exists(json, 'namespaceSelector')
6680
? undefined
6781
: V1LabelSelectorFromJSON(json['namespaceSelector']),
@@ -79,6 +93,8 @@ export function V1PodAffinityTermToJSON(value?: V1PodAffinityTerm | null): any {
7993
}
8094
return {
8195
labelSelector: V1LabelSelectorToJSON(value.labelSelector),
96+
matchLabelKeys: value.matchLabelKeys,
97+
mismatchLabelKeys: value.mismatchLabelKeys,
8298
namespaceSelector: V1LabelSelectorToJSON(value.namespaceSelector),
8399
namespaces: value.namespaces,
84100
topologyKey: value.topologyKey,

containerized-data-importer/models/V1ResourceClaim.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* Do not edit the class manually.
1313
*/
1414

15+
import { exists } from '../runtime';
1516
/**
1617
* ResourceClaim references one entry in PodSpec.ResourceClaims.
1718
* @export
@@ -24,6 +25,12 @@ export interface V1ResourceClaim {
2425
* @memberof V1ResourceClaim
2526
*/
2627
name: string;
28+
/**
29+
* Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
30+
* @type {string}
31+
* @memberof V1ResourceClaim
32+
*/
33+
request?: string;
2734
}
2835

2936
export function V1ResourceClaimFromJSON(json: any): V1ResourceClaim {
@@ -39,6 +46,7 @@ export function V1ResourceClaimFromJSONTyped(
3946
}
4047
return {
4148
name: json['name'],
49+
request: !exists(json, 'request') ? undefined : json['request'],
4250
};
4351
}
4452

@@ -51,5 +59,6 @@ export function V1ResourceClaimToJSON(value?: V1ResourceClaim | null): any {
5159
}
5260
return {
5361
name: value.name,
62+
request: value.request,
5463
};
5564
}

containerized-data-importer/models/V1TLSSecurityProfile.ts

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)