kubernetypes 1.35.1 → 1.35.2
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/api/admission/v1.d.ts +10 -10
- package/dist/api/admission/v1beta1.d.ts +10 -10
- package/dist/api/apiextensions/v1.d.ts +14 -14
- package/dist/api/apps/v1.d.ts +8 -8
- package/dist/api/authentication/v1.d.ts +10 -10
- package/dist/api/authentication/v1alpha1.d.ts +5 -5
- package/dist/api/authentication/v1beta1.d.ts +7 -7
- package/dist/api/authorization/v1beta1.d.ts +12 -12
- package/dist/api/batch/v1.d.ts +9 -9
- package/dist/api/batch/v1beta1.d.ts +12 -12
- package/dist/api/core/v1.d.ts +8 -8
- package/dist/api/discovery/v1.d.ts +8 -8
- package/dist/api/discovery/v1beta1.d.ts +8 -8
- package/dist/api/extensions/v1beta1.d.ts +17 -17
- package/dist/api/networking/v1.d.ts +31 -31
- package/dist/api/node/v1alpha1.d.ts +8 -8
- package/dist/api/node/v1beta1.d.ts +8 -8
- package/dist/api/resource/v1.d.ts +20 -20
- package/dist/api/resource/v1beta1.d.ts +7 -7
- package/dist/api/resource/v1beta2.d.ts +31 -31
- package/dist/api/storage/v1.d.ts +7 -7
- package/dist/api/storage/v1alpha1.d.ts +17 -17
- package/dist/apimachinery/apis/meta/v1.d.ts +9 -9
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as m2 from 'kubernetypes/api/authentication/v1';
|
|
2
|
-
import * as
|
|
2
|
+
import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
3
|
import * as m3 from 'kubernetypes/apimachinery/runtime';
|
|
4
|
-
import * as
|
|
4
|
+
import * as m0 from 'kubernetypes/apimachinery/types';
|
|
5
5
|
/**
|
|
6
6
|
* AdmissionRequest describes the admission.Attributes for the admission request.
|
|
7
7
|
*/
|
|
@@ -14,7 +14,7 @@ export type AdmissionRequest = {
|
|
|
14
14
|
/**
|
|
15
15
|
* kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
|
16
16
|
*/
|
|
17
|
-
'kind':
|
|
17
|
+
'kind': m1.GroupVersionKind;
|
|
18
18
|
/**
|
|
19
19
|
* name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
|
|
20
20
|
* rely on the server to generate the name. If that is the case, this field will contain an empty string.
|
|
@@ -57,7 +57,7 @@ export type AdmissionRequest = {
|
|
|
57
57
|
*
|
|
58
58
|
* See documentation for the "matchPolicy" field in the webhook configuration type for more details.
|
|
59
59
|
*/
|
|
60
|
-
'requestKind'?:
|
|
60
|
+
'requestKind'?: m1.GroupVersionKind;
|
|
61
61
|
/**
|
|
62
62
|
* requestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
|
63
63
|
* If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
|
|
@@ -70,7 +70,7 @@ export type AdmissionRequest = {
|
|
|
70
70
|
*
|
|
71
71
|
* See documentation for the "matchPolicy" field in the webhook configuration type.
|
|
72
72
|
*/
|
|
73
|
-
'requestResource'?:
|
|
73
|
+
'requestResource'?: m1.GroupVersionResource;
|
|
74
74
|
/**
|
|
75
75
|
* requestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
|
|
76
76
|
* If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
|
|
@@ -80,7 +80,7 @@ export type AdmissionRequest = {
|
|
|
80
80
|
/**
|
|
81
81
|
* resource is the fully-qualified resource being requested (for example, v1.pods)
|
|
82
82
|
*/
|
|
83
|
-
'resource':
|
|
83
|
+
'resource': m1.GroupVersionResource;
|
|
84
84
|
/**
|
|
85
85
|
* subResource is the subresource being requested, if any (for example, "status" or "scale")
|
|
86
86
|
*/
|
|
@@ -91,7 +91,7 @@ export type AdmissionRequest = {
|
|
|
91
91
|
* The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
|
|
92
92
|
* It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
|
|
93
93
|
*/
|
|
94
|
-
'uid':
|
|
94
|
+
'uid': m0.UID;
|
|
95
95
|
/**
|
|
96
96
|
* userInfo is information about the requesting user
|
|
97
97
|
*/
|
|
@@ -126,12 +126,12 @@ export type AdmissionResponse = {
|
|
|
126
126
|
* status is the result contains extra details into why an admission request was denied.
|
|
127
127
|
* This field IS NOT consulted in any way if "Allowed" is "true".
|
|
128
128
|
*/
|
|
129
|
-
'status'?:
|
|
129
|
+
'status'?: m1.Status;
|
|
130
130
|
/**
|
|
131
131
|
* uid is an identifier for the individual request/response.
|
|
132
132
|
* This must be copied over from the corresponding AdmissionRequest.
|
|
133
133
|
*/
|
|
134
|
-
'uid':
|
|
134
|
+
'uid': m0.UID;
|
|
135
135
|
/**
|
|
136
136
|
* warnings is a list of warning messages to return to the requesting API client.
|
|
137
137
|
* Warning messages describe a problem the client making the API request should correct or be aware of.
|
|
@@ -143,7 +143,7 @@ export type AdmissionResponse = {
|
|
|
143
143
|
/**
|
|
144
144
|
* AdmissionReview describes an admission review request/response.
|
|
145
145
|
*/
|
|
146
|
-
export type AdmissionReview =
|
|
146
|
+
export type AdmissionReview = m1.TypeMeta<'admission.k8s.io/v1', 'AdmissionReview'> & {
|
|
147
147
|
/**
|
|
148
148
|
* request describes the attributes for the admission request.
|
|
149
149
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as m2 from 'kubernetypes/api/authentication/v1';
|
|
2
|
-
import * as
|
|
2
|
+
import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
3
|
import * as m3 from 'kubernetypes/apimachinery/runtime';
|
|
4
|
-
import * as
|
|
4
|
+
import * as m0 from 'kubernetypes/apimachinery/types';
|
|
5
5
|
/**
|
|
6
6
|
* AdmissionRequest describes the admission.Attributes for the admission request.
|
|
7
7
|
*/
|
|
@@ -14,7 +14,7 @@ export type AdmissionRequest = {
|
|
|
14
14
|
/**
|
|
15
15
|
* kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
|
16
16
|
*/
|
|
17
|
-
'kind':
|
|
17
|
+
'kind': m1.GroupVersionKind;
|
|
18
18
|
/**
|
|
19
19
|
* name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
|
|
20
20
|
* rely on the server to generate the name. If that is the case, this field will contain an empty string.
|
|
@@ -57,7 +57,7 @@ export type AdmissionRequest = {
|
|
|
57
57
|
*
|
|
58
58
|
* See documentation for the "matchPolicy" field in the webhook configuration type for more details.
|
|
59
59
|
*/
|
|
60
|
-
'requestKind'?:
|
|
60
|
+
'requestKind'?: m1.GroupVersionKind;
|
|
61
61
|
/**
|
|
62
62
|
* requestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
|
63
63
|
* If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
|
|
@@ -70,7 +70,7 @@ export type AdmissionRequest = {
|
|
|
70
70
|
*
|
|
71
71
|
* See documentation for the "matchPolicy" field in the webhook configuration type.
|
|
72
72
|
*/
|
|
73
|
-
'requestResource'?:
|
|
73
|
+
'requestResource'?: m1.GroupVersionResource;
|
|
74
74
|
/**
|
|
75
75
|
* requestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
|
|
76
76
|
* If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
|
|
@@ -80,7 +80,7 @@ export type AdmissionRequest = {
|
|
|
80
80
|
/**
|
|
81
81
|
* resource is the fully-qualified resource being requested (for example, v1.pods)
|
|
82
82
|
*/
|
|
83
|
-
'resource':
|
|
83
|
+
'resource': m1.GroupVersionResource;
|
|
84
84
|
/**
|
|
85
85
|
* subResource is the subresource being requested, if any (for example, "status" or "scale")
|
|
86
86
|
*/
|
|
@@ -91,7 +91,7 @@ export type AdmissionRequest = {
|
|
|
91
91
|
* The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
|
|
92
92
|
* It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
|
|
93
93
|
*/
|
|
94
|
-
'uid':
|
|
94
|
+
'uid': m0.UID;
|
|
95
95
|
/**
|
|
96
96
|
* userInfo is information about the requesting user
|
|
97
97
|
*/
|
|
@@ -126,12 +126,12 @@ export type AdmissionResponse = {
|
|
|
126
126
|
* status is the result contains extra details into why an admission request was denied.
|
|
127
127
|
* This field IS NOT consulted in any way if "Allowed" is "true".
|
|
128
128
|
*/
|
|
129
|
-
'status'?:
|
|
129
|
+
'status'?: m1.Status;
|
|
130
130
|
/**
|
|
131
131
|
* uid is an identifier for the individual request/response.
|
|
132
132
|
* This should be copied over from the corresponding AdmissionRequest.
|
|
133
133
|
*/
|
|
134
|
-
'uid':
|
|
134
|
+
'uid': m0.UID;
|
|
135
135
|
/**
|
|
136
136
|
* warnings is a list of warning messages to return to the requesting API client.
|
|
137
137
|
* Warning messages describe a problem the client making the API request should correct or be aware of.
|
|
@@ -143,7 +143,7 @@ export type AdmissionResponse = {
|
|
|
143
143
|
/**
|
|
144
144
|
* AdmissionReview describes an admission review request/response.
|
|
145
145
|
*/
|
|
146
|
-
export type AdmissionReview =
|
|
146
|
+
export type AdmissionReview = m1.TypeMeta<'admission.k8s.io/v1beta1', 'AdmissionReview'> & {
|
|
147
147
|
/**
|
|
148
148
|
* request describes the attributes for the admission request.
|
|
149
149
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
2
|
+
import * as m2 from 'kubernetypes/apimachinery/runtime';
|
|
3
|
+
import * as m1 from 'kubernetypes/apimachinery/types';
|
|
4
4
|
export type ConditionStatus = 'False' | 'True' | 'Unknown' | (string & {});
|
|
5
5
|
/**
|
|
6
6
|
* ConversionRequest describes the conversion request parameters.
|
|
@@ -13,14 +13,14 @@ export type ConversionRequest = {
|
|
|
13
13
|
/**
|
|
14
14
|
* objects is the list of custom resource objects to be converted.
|
|
15
15
|
*/
|
|
16
|
-
'objects':
|
|
16
|
+
'objects': m2.RawExtension[];
|
|
17
17
|
/**
|
|
18
18
|
* uid is an identifier for the individual request/response. It allows distinguishing instances of requests which are
|
|
19
19
|
* otherwise identical (parallel requests, etc).
|
|
20
20
|
* The UID is meant to track the round trip (request/response) between the Kubernetes API server and the webhook, not the user request.
|
|
21
21
|
* It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
|
|
22
22
|
*/
|
|
23
|
-
'uid':
|
|
23
|
+
'uid': m1.UID;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* ConversionResponse describes a conversion response.
|
|
@@ -32,7 +32,7 @@ export type ConversionResponse = {
|
|
|
32
32
|
* must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace).
|
|
33
33
|
* The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
|
|
34
34
|
*/
|
|
35
|
-
'convertedObjects':
|
|
35
|
+
'convertedObjects': m2.RawExtension[];
|
|
36
36
|
/**
|
|
37
37
|
* result contains the result of conversion with extra details if the conversion failed. `result.status` determines if
|
|
38
38
|
* the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the
|
|
@@ -40,17 +40,17 @@ export type ConversionResponse = {
|
|
|
40
40
|
* `result.status` to `Failure` and provide more details in `result.message` and return http status 200. The `result.message`
|
|
41
41
|
* will be used to construct an error message for the end user.
|
|
42
42
|
*/
|
|
43
|
-
'result':
|
|
43
|
+
'result': m0.Status;
|
|
44
44
|
/**
|
|
45
45
|
* uid is an identifier for the individual request/response.
|
|
46
46
|
* This should be copied over from the corresponding `request.uid`.
|
|
47
47
|
*/
|
|
48
|
-
'uid':
|
|
48
|
+
'uid': m1.UID;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* ConversionReview describes a conversion request/response.
|
|
52
52
|
*/
|
|
53
|
-
export type ConversionReview =
|
|
53
|
+
export type ConversionReview = m0.TypeMeta<'apiextensions.k8s.io/v1', 'ConversionReview'> & {
|
|
54
54
|
/**
|
|
55
55
|
* request describes the attributes for the conversion request.
|
|
56
56
|
*/
|
|
@@ -119,12 +119,12 @@ export type CustomResourceConversion = {
|
|
|
119
119
|
* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
|
|
120
120
|
* <.spec.name>.<.spec.group>.
|
|
121
121
|
*/
|
|
122
|
-
export type CustomResourceDefinition =
|
|
122
|
+
export type CustomResourceDefinition = m0.TypeMeta<'apiextensions.k8s.io/v1', 'CustomResourceDefinition'> & {
|
|
123
123
|
/**
|
|
124
124
|
* Standard object's metadata
|
|
125
125
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
126
126
|
*/
|
|
127
|
-
'metadata'?:
|
|
127
|
+
'metadata'?: m0.ObjectMeta;
|
|
128
128
|
/**
|
|
129
129
|
* spec describes how the user wants the resources to appear
|
|
130
130
|
*/
|
|
@@ -141,7 +141,7 @@ export type CustomResourceDefinitionCondition = {
|
|
|
141
141
|
/**
|
|
142
142
|
* lastTransitionTime last time the condition transitioned from one status to another.
|
|
143
143
|
*/
|
|
144
|
-
'lastTransitionTime'?:
|
|
144
|
+
'lastTransitionTime'?: m0.Time;
|
|
145
145
|
/**
|
|
146
146
|
* message is a human-readable message indicating details about last transition.
|
|
147
147
|
*/
|
|
@@ -173,7 +173,7 @@ export type CustomResourceDefinitionConditionType = 'Established' | 'KubernetesA
|
|
|
173
173
|
/**
|
|
174
174
|
* CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
|
|
175
175
|
*/
|
|
176
|
-
export type CustomResourceDefinitionList =
|
|
176
|
+
export type CustomResourceDefinitionList = m0.TypeMeta<'apiextensions.k8s.io/v1', 'CustomResourceDefinitionList'> & {
|
|
177
177
|
/**
|
|
178
178
|
* items list individual CustomResourceDefinition objects
|
|
179
179
|
*/
|
|
@@ -182,7 +182,7 @@ export type CustomResourceDefinitionList = m2.TypeMeta<'apiextensions.k8s.io/v1'
|
|
|
182
182
|
* Standard object's metadata
|
|
183
183
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
184
184
|
*/
|
|
185
|
-
'metadata'?:
|
|
185
|
+
'metadata'?: m0.ListMeta;
|
|
186
186
|
};
|
|
187
187
|
/**
|
|
188
188
|
* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
|
package/dist/api/apps/v1.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as m1 from 'kubernetypes/api/core/v1';
|
|
2
2
|
import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as m3 from 'kubernetypes/apimachinery/runtime';
|
|
4
|
+
import * as m2 from 'kubernetypes/apimachinery/util/intstr';
|
|
5
5
|
/**
|
|
6
6
|
* ControllerRevision implements an immutable snapshot of state data. Clients
|
|
7
7
|
* are responsible for serializing and deserializing the objects that contain
|
|
@@ -17,7 +17,7 @@ export type ControllerRevision = m0.TypeMeta<'apps/v1', 'ControllerRevision'> &
|
|
|
17
17
|
/**
|
|
18
18
|
* Data is the serialized representation of the state.
|
|
19
19
|
*/
|
|
20
|
-
'data'?:
|
|
20
|
+
'data'?: m3.RawExtension;
|
|
21
21
|
/**
|
|
22
22
|
* Standard object's metadata.
|
|
23
23
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
@@ -562,7 +562,7 @@ export type RollingUpdateDaemonSet = {
|
|
|
562
562
|
* so resource intensive daemonsets should take into account that they may
|
|
563
563
|
* cause evictions during disruption.
|
|
564
564
|
*/
|
|
565
|
-
'maxSurge'?:
|
|
565
|
+
'maxSurge'?: m2.IntOrString;
|
|
566
566
|
/**
|
|
567
567
|
* The maximum number of DaemonSet pods that can be unavailable during the
|
|
568
568
|
* update. Value can be an absolute number (ex: 5) or a percentage of total
|
|
@@ -579,7 +579,7 @@ export type RollingUpdateDaemonSet = {
|
|
|
579
579
|
* 70% of original number of DaemonSet pods are available at all times during
|
|
580
580
|
* the update.
|
|
581
581
|
*/
|
|
582
|
-
'maxUnavailable'?:
|
|
582
|
+
'maxUnavailable'?: m2.IntOrString;
|
|
583
583
|
};
|
|
584
584
|
/**
|
|
585
585
|
* Spec to control the desired behavior of rolling update.
|
|
@@ -598,7 +598,7 @@ export type RollingUpdateDeployment = {
|
|
|
598
598
|
* new ReplicaSet can be scaled up further, ensuring that total number of pods running
|
|
599
599
|
* at any time during the update is at most 130% of desired pods.
|
|
600
600
|
*/
|
|
601
|
-
'maxSurge'?:
|
|
601
|
+
'maxSurge'?: m2.IntOrString;
|
|
602
602
|
/**
|
|
603
603
|
* The maximum number of pods that can be unavailable during the update.
|
|
604
604
|
* Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
|
|
@@ -611,7 +611,7 @@ export type RollingUpdateDeployment = {
|
|
|
611
611
|
* that the total number of pods available at all times during the update is at
|
|
612
612
|
* least 70% of desired pods.
|
|
613
613
|
*/
|
|
614
|
-
'maxUnavailable'?:
|
|
614
|
+
'maxUnavailable'?: m2.IntOrString;
|
|
615
615
|
};
|
|
616
616
|
/**
|
|
617
617
|
* RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
@@ -626,7 +626,7 @@ export type RollingUpdateStatefulSetStrategy = {
|
|
|
626
626
|
* will be counted towards MaxUnavailable.
|
|
627
627
|
* This setting might not be effective for the OrderedReady podManagementPolicy. That policy ensures pods are created and become ready one at a time.
|
|
628
628
|
*/
|
|
629
|
-
'maxUnavailable'?:
|
|
629
|
+
'maxUnavailable'?: m2.IntOrString;
|
|
630
630
|
/**
|
|
631
631
|
* Partition indicates the ordinal at which the StatefulSet should be partitioned
|
|
632
632
|
* for updates. During a rolling update, all pods from ordinal Replicas-1 to
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
2
|
+
import * as m1 from 'kubernetypes/apimachinery/types';
|
|
3
3
|
/**
|
|
4
4
|
* BoundObjectReference is a reference to an object that a token is bound to.
|
|
5
5
|
*/
|
|
@@ -19,7 +19,7 @@ export type BoundObjectReference = {
|
|
|
19
19
|
/**
|
|
20
20
|
* UID of the referent.
|
|
21
21
|
*/
|
|
22
|
-
'uid'?:
|
|
22
|
+
'uid'?: m1.UID;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* ExtraValue masks the value so protobuf can generate
|
|
@@ -30,12 +30,12 @@ export type ExtraValue = string[];
|
|
|
30
30
|
* When using impersonation, users will receive the user info of the user being impersonated. If impersonation or
|
|
31
31
|
* request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
|
|
32
32
|
*/
|
|
33
|
-
export type SelfSubjectReview =
|
|
33
|
+
export type SelfSubjectReview = m0.TypeMeta<'authentication.k8s.io/v1', 'SelfSubjectReview'> & {
|
|
34
34
|
/**
|
|
35
35
|
* Standard object's metadata.
|
|
36
36
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
37
37
|
*/
|
|
38
|
-
'metadata'?:
|
|
38
|
+
'metadata'?: m0.ObjectMeta;
|
|
39
39
|
/**
|
|
40
40
|
* Status is filled in by the server with the user attributes.
|
|
41
41
|
*/
|
|
@@ -53,12 +53,12 @@ export type SelfSubjectReviewStatus = {
|
|
|
53
53
|
/**
|
|
54
54
|
* TokenRequest requests a token for a given service account.
|
|
55
55
|
*/
|
|
56
|
-
export type TokenRequest =
|
|
56
|
+
export type TokenRequest = m0.TypeMeta<'authentication.k8s.io/v1', 'TokenRequest'> & {
|
|
57
57
|
/**
|
|
58
58
|
* Standard object's metadata.
|
|
59
59
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
60
60
|
*/
|
|
61
|
-
'metadata'?:
|
|
61
|
+
'metadata'?: m0.ObjectMeta;
|
|
62
62
|
/**
|
|
63
63
|
* Spec holds information about the request being evaluated
|
|
64
64
|
*/
|
|
@@ -103,7 +103,7 @@ export type TokenRequestStatus = {
|
|
|
103
103
|
/**
|
|
104
104
|
* ExpirationTimestamp is the time of expiration of the returned token.
|
|
105
105
|
*/
|
|
106
|
-
'expirationTimestamp':
|
|
106
|
+
'expirationTimestamp': m0.Time;
|
|
107
107
|
/**
|
|
108
108
|
* Token is the opaque bearer token.
|
|
109
109
|
*/
|
|
@@ -114,12 +114,12 @@ export type TokenRequestStatus = {
|
|
|
114
114
|
* Note: TokenReview requests may be cached by the webhook token authenticator
|
|
115
115
|
* plugin in the kube-apiserver.
|
|
116
116
|
*/
|
|
117
|
-
export type TokenReview =
|
|
117
|
+
export type TokenReview = m0.TypeMeta<'authentication.k8s.io/v1', 'TokenReview'> & {
|
|
118
118
|
/**
|
|
119
119
|
* Standard object's metadata.
|
|
120
120
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
121
121
|
*/
|
|
122
|
-
'metadata'?:
|
|
122
|
+
'metadata'?: m0.ObjectMeta;
|
|
123
123
|
/**
|
|
124
124
|
* Spec holds information about the request being evaluated
|
|
125
125
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as m0 from 'kubernetypes/api/authentication/v1';
|
|
2
|
+
import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
3
|
/**
|
|
4
4
|
* SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.
|
|
5
5
|
* When using impersonation, users will receive the user info of the user being impersonated. If impersonation or
|
|
6
6
|
* request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
|
|
7
7
|
*/
|
|
8
|
-
export type SelfSubjectReview =
|
|
8
|
+
export type SelfSubjectReview = m1.TypeMeta<'authentication.k8s.io/v1alpha1', 'SelfSubjectReview'> & {
|
|
9
9
|
/**
|
|
10
10
|
* Standard object's metadata.
|
|
11
11
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
12
12
|
*/
|
|
13
|
-
'metadata'?:
|
|
13
|
+
'metadata'?: m1.ObjectMeta;
|
|
14
14
|
/**
|
|
15
15
|
* Status is filled in by the server with the user attributes.
|
|
16
16
|
*/
|
|
@@ -23,5 +23,5 @@ export type SelfSubjectReviewStatus = {
|
|
|
23
23
|
/**
|
|
24
24
|
* User attributes of the user making this request.
|
|
25
25
|
*/
|
|
26
|
-
'userInfo'?:
|
|
26
|
+
'userInfo'?: m0.UserInfo;
|
|
27
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as m1 from 'kubernetypes/api/authentication/v1';
|
|
2
|
+
import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
3
|
/**
|
|
4
4
|
* ExtraValue masks the value so protobuf can generate
|
|
5
5
|
*/
|
|
@@ -9,12 +9,12 @@ export type ExtraValue = string[];
|
|
|
9
9
|
* When using impersonation, users will receive the user info of the user being impersonated. If impersonation or
|
|
10
10
|
* request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
|
|
11
11
|
*/
|
|
12
|
-
export type SelfSubjectReview =
|
|
12
|
+
export type SelfSubjectReview = m0.TypeMeta<'authentication.k8s.io/v1beta1', 'SelfSubjectReview'> & {
|
|
13
13
|
/**
|
|
14
14
|
* Standard object's metadata.
|
|
15
15
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
16
16
|
*/
|
|
17
|
-
'metadata'?:
|
|
17
|
+
'metadata'?: m0.ObjectMeta;
|
|
18
18
|
/**
|
|
19
19
|
* Status is filled in by the server with the user attributes.
|
|
20
20
|
*/
|
|
@@ -27,19 +27,19 @@ export type SelfSubjectReviewStatus = {
|
|
|
27
27
|
/**
|
|
28
28
|
* User attributes of the user making this request.
|
|
29
29
|
*/
|
|
30
|
-
'userInfo'?:
|
|
30
|
+
'userInfo'?: m1.UserInfo;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* TokenReview attempts to authenticate a token to a known user.
|
|
34
34
|
* Note: TokenReview requests may be cached by the webhook token authenticator
|
|
35
35
|
* plugin in the kube-apiserver.
|
|
36
36
|
*/
|
|
37
|
-
export type TokenReview =
|
|
37
|
+
export type TokenReview = m0.TypeMeta<'authentication.k8s.io/v1beta1', 'TokenReview'> & {
|
|
38
38
|
/**
|
|
39
39
|
* Standard object's metadata.
|
|
40
40
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
41
41
|
*/
|
|
42
|
-
'metadata'?:
|
|
42
|
+
'metadata'?: m0.ObjectMeta;
|
|
43
43
|
/**
|
|
44
44
|
* Spec holds information about the request being evaluated
|
|
45
45
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as m0 from 'kubernetypes/api/authorization/v1';
|
|
2
|
+
import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
3
|
/**
|
|
4
4
|
* ExtraValue masks the value so protobuf can generate
|
|
5
5
|
*/
|
|
@@ -9,12 +9,12 @@ export type ExtraValue = string[];
|
|
|
9
9
|
* Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions
|
|
10
10
|
* checking.
|
|
11
11
|
*/
|
|
12
|
-
export type LocalSubjectAccessReview =
|
|
12
|
+
export type LocalSubjectAccessReview = m1.TypeMeta<'authorization.k8s.io/v1beta1', 'LocalSubjectAccessReview'> & {
|
|
13
13
|
/**
|
|
14
14
|
* Standard list metadata.
|
|
15
15
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
16
16
|
*/
|
|
17
|
-
'metadata'?:
|
|
17
|
+
'metadata'?: m1.ObjectMeta;
|
|
18
18
|
/**
|
|
19
19
|
* Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace
|
|
20
20
|
* you made the request against. If empty, it is defaulted.
|
|
@@ -59,7 +59,7 @@ export type ResourceAttributes = {
|
|
|
59
59
|
/**
|
|
60
60
|
* fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
|
|
61
61
|
*/
|
|
62
|
-
'fieldSelector'?:
|
|
62
|
+
'fieldSelector'?: m0.FieldSelectorAttributes;
|
|
63
63
|
/**
|
|
64
64
|
* Group is the API Group of the Resource. "*" means all.
|
|
65
65
|
*/
|
|
@@ -67,7 +67,7 @@ export type ResourceAttributes = {
|
|
|
67
67
|
/**
|
|
68
68
|
* labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
|
|
69
69
|
*/
|
|
70
|
-
'labelSelector'?:
|
|
70
|
+
'labelSelector'?: m0.LabelSelectorAttributes;
|
|
71
71
|
/**
|
|
72
72
|
* Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
|
|
73
73
|
*/
|
|
@@ -125,12 +125,12 @@ export type ResourceRule = {
|
|
|
125
125
|
* spec.namespace means "in all namespaces". Self is a special case, because users should always be able
|
|
126
126
|
* to check whether they can perform an action
|
|
127
127
|
*/
|
|
128
|
-
export type SelfSubjectAccessReview =
|
|
128
|
+
export type SelfSubjectAccessReview = m1.TypeMeta<'authorization.k8s.io/v1beta1', 'SelfSubjectAccessReview'> & {
|
|
129
129
|
/**
|
|
130
130
|
* Standard list metadata.
|
|
131
131
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
132
132
|
*/
|
|
133
|
-
'metadata'?:
|
|
133
|
+
'metadata'?: m1.ObjectMeta;
|
|
134
134
|
/**
|
|
135
135
|
* Spec holds information about the request being evaluated. user and groups must be empty
|
|
136
136
|
*/
|
|
@@ -162,12 +162,12 @@ export type SelfSubjectAccessReviewSpec = {
|
|
|
162
162
|
* drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns.
|
|
163
163
|
* SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
|
|
164
164
|
*/
|
|
165
|
-
export type SelfSubjectRulesReview =
|
|
165
|
+
export type SelfSubjectRulesReview = m1.TypeMeta<'authorization.k8s.io/v1beta1', 'SelfSubjectRulesReview'> & {
|
|
166
166
|
/**
|
|
167
167
|
* Standard list metadata.
|
|
168
168
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
169
169
|
*/
|
|
170
|
-
'metadata'?:
|
|
170
|
+
'metadata'?: m1.ObjectMeta;
|
|
171
171
|
/**
|
|
172
172
|
* Spec holds information about the request being evaluated.
|
|
173
173
|
*/
|
|
@@ -189,12 +189,12 @@ export type SelfSubjectRulesReviewSpec = {
|
|
|
189
189
|
/**
|
|
190
190
|
* SubjectAccessReview checks whether or not a user or group can perform an action.
|
|
191
191
|
*/
|
|
192
|
-
export type SubjectAccessReview =
|
|
192
|
+
export type SubjectAccessReview = m1.TypeMeta<'authorization.k8s.io/v1beta1', 'SubjectAccessReview'> & {
|
|
193
193
|
/**
|
|
194
194
|
* Standard list metadata.
|
|
195
195
|
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
196
196
|
*/
|
|
197
|
-
'metadata'?:
|
|
197
|
+
'metadata'?: m1.ObjectMeta;
|
|
198
198
|
/**
|
|
199
199
|
* Spec holds information about the request being evaluated
|
|
200
200
|
*/
|
package/dist/api/batch/v1.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as m2 from 'kubernetypes/api/core/v1';
|
|
2
2
|
import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
|
|
3
|
-
import * as
|
|
3
|
+
import * as m0 from 'kubernetypes/apimachinery/types';
|
|
4
4
|
/**
|
|
5
5
|
* CompletionMode specifies how Pod completions of a Job are tracked.
|
|
6
6
|
*/
|
|
@@ -107,7 +107,7 @@ export type CronJobStatus = {
|
|
|
107
107
|
/**
|
|
108
108
|
* A list of pointers to currently running jobs.
|
|
109
109
|
*/
|
|
110
|
-
'active'?:
|
|
110
|
+
'active'?: m2.ObjectReference[];
|
|
111
111
|
/**
|
|
112
112
|
* Information when was the last time the job was successfully scheduled.
|
|
113
113
|
*/
|
|
@@ -160,7 +160,7 @@ export type JobCondition = {
|
|
|
160
160
|
/**
|
|
161
161
|
* Status of the condition, one of True, False, Unknown.
|
|
162
162
|
*/
|
|
163
|
-
'status':
|
|
163
|
+
'status': m2.ConditionStatus;
|
|
164
164
|
/**
|
|
165
165
|
* Type of job condition, Complete or Failed.
|
|
166
166
|
*/
|
|
@@ -337,7 +337,7 @@ export type JobSpec = {
|
|
|
337
337
|
* The only allowed template.spec.restartPolicy values are "Never" or "OnFailure".
|
|
338
338
|
* More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
339
339
|
*/
|
|
340
|
-
'template':
|
|
340
|
+
'template': m2.PodTemplateSpec;
|
|
341
341
|
/**
|
|
342
342
|
* ttlSecondsAfterFinished limits the lifetime of a Job that has finished
|
|
343
343
|
* execution (either Complete or Failed). If this field is set,
|
|
@@ -542,12 +542,12 @@ export type PodFailurePolicyOnPodConditionsPattern = {
|
|
|
542
542
|
* it is required that the specified status equals the pod condition status.
|
|
543
543
|
* Defaults to True.
|
|
544
544
|
*/
|
|
545
|
-
'status'?:
|
|
545
|
+
'status'?: m2.ConditionStatus;
|
|
546
546
|
/**
|
|
547
547
|
* Specifies the required Pod condition type. To match a pod condition
|
|
548
548
|
* it is required that specified type equals the pod condition type.
|
|
549
549
|
*/
|
|
550
|
-
'type':
|
|
550
|
+
'type': m2.PodConditionType;
|
|
551
551
|
};
|
|
552
552
|
/**
|
|
553
553
|
* PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
|
|
@@ -640,9 +640,9 @@ export type UncountedTerminatedPods = {
|
|
|
640
640
|
/**
|
|
641
641
|
* failed holds UIDs of failed Pods.
|
|
642
642
|
*/
|
|
643
|
-
'failed'?:
|
|
643
|
+
'failed'?: m0.UID[];
|
|
644
644
|
/**
|
|
645
645
|
* succeeded holds UIDs of succeeded Pods.
|
|
646
646
|
*/
|
|
647
|
-
'succeeded'?:
|
|
647
|
+
'succeeded'?: m0.UID[];
|
|
648
648
|
};
|