@overkube/kube-types 0.0.0 → 0.1.3

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.
Files changed (109) hide show
  1. package/APACHE-2.0.txt +55 -0
  2. package/LICENSE +21 -0
  3. package/NOTICE +7 -0
  4. package/README.md +13 -1
  5. package/dist/gen/admissionregistration/v1.d.ts +888 -0
  6. package/dist/gen/admissionregistration/v1.d.ts.map +1 -0
  7. package/dist/gen/admissionregistration/v1.js +4 -0
  8. package/dist/gen/admissionregistration/v1.js.map +1 -0
  9. package/dist/gen/apiextensions/v1.d.ts +562 -0
  10. package/dist/gen/apiextensions/v1.d.ts.map +1 -0
  11. package/dist/gen/apiextensions/v1.js +4 -0
  12. package/dist/gen/apiextensions/v1.js.map +1 -0
  13. package/dist/gen/apiregistration/v1.d.ts +132 -0
  14. package/dist/gen/apiregistration/v1.d.ts.map +1 -0
  15. package/dist/gen/apiregistration/v1.js +4 -0
  16. package/dist/gen/apiregistration/v1.js.map +1 -0
  17. package/dist/gen/apps/v1.d.ts +760 -0
  18. package/dist/gen/apps/v1.d.ts.map +1 -0
  19. package/dist/gen/apps/v1.js +4 -0
  20. package/dist/gen/apps/v1.js.map +1 -0
  21. package/dist/gen/authentication/v1.d.ts +188 -0
  22. package/dist/gen/authentication/v1.d.ts.map +1 -0
  23. package/dist/gen/authentication/v1.js +4 -0
  24. package/dist/gen/authentication/v1.js.map +1 -0
  25. package/dist/gen/authorization/v1.d.ts +310 -0
  26. package/dist/gen/authorization/v1.d.ts.map +1 -0
  27. package/dist/gen/authorization/v1.js +4 -0
  28. package/dist/gen/authorization/v1.js.map +1 -0
  29. package/dist/gen/autoscaling/v1.d.ts +158 -0
  30. package/dist/gen/autoscaling/v1.d.ts.map +1 -0
  31. package/dist/gen/autoscaling/v1.js +4 -0
  32. package/dist/gen/autoscaling/v1.js.map +1 -0
  33. package/dist/gen/autoscaling/v2.d.ts +461 -0
  34. package/dist/gen/autoscaling/v2.d.ts.map +1 -0
  35. package/dist/gen/autoscaling/v2.js +4 -0
  36. package/dist/gen/autoscaling/v2.js.map +1 -0
  37. package/dist/gen/batch/v1.d.ts +469 -0
  38. package/dist/gen/batch/v1.d.ts.map +1 -0
  39. package/dist/gen/batch/v1.js +4 -0
  40. package/dist/gen/batch/v1.js.map +1 -0
  41. package/dist/gen/certificates/v1.d.ts +202 -0
  42. package/dist/gen/certificates/v1.d.ts.map +1 -0
  43. package/dist/gen/certificates/v1.js +4 -0
  44. package/dist/gen/certificates/v1.js.map +1 -0
  45. package/dist/gen/coordination/v1.d.ts +77 -0
  46. package/dist/gen/coordination/v1.d.ts.map +1 -0
  47. package/dist/gen/coordination/v1.js +4 -0
  48. package/dist/gen/coordination/v1.js.map +1 -0
  49. package/dist/gen/core/v1.d.ts +5809 -0
  50. package/dist/gen/core/v1.d.ts.map +1 -0
  51. package/dist/gen/core/v1.js +4 -0
  52. package/dist/gen/core/v1.js.map +1 -0
  53. package/dist/gen/discovery/v1.d.ts +178 -0
  54. package/dist/gen/discovery/v1.d.ts.map +1 -0
  55. package/dist/gen/discovery/v1.js +4 -0
  56. package/dist/gen/discovery/v1.js.map +1 -0
  57. package/dist/gen/events/v1.d.ts +110 -0
  58. package/dist/gen/events/v1.d.ts.map +1 -0
  59. package/dist/gen/events/v1.js +4 -0
  60. package/dist/gen/events/v1.js.map +1 -0
  61. package/dist/gen/flowcontrol/v1.d.ts +417 -0
  62. package/dist/gen/flowcontrol/v1.d.ts.map +1 -0
  63. package/dist/gen/flowcontrol/v1.js +4 -0
  64. package/dist/gen/flowcontrol/v1.js.map +1 -0
  65. package/dist/gen/kinds.d.ts +889 -0
  66. package/dist/gen/kinds.d.ts.map +1 -0
  67. package/dist/gen/kinds.js +791 -0
  68. package/dist/gen/kinds.js.map +1 -0
  69. package/dist/gen/meta/v1.d.ts +476 -0
  70. package/dist/gen/meta/v1.d.ts.map +1 -0
  71. package/dist/gen/meta/v1.js +4 -0
  72. package/dist/gen/meta/v1.js.map +1 -0
  73. package/dist/gen/networking/v1.d.ts +601 -0
  74. package/dist/gen/networking/v1.d.ts.map +1 -0
  75. package/dist/gen/networking/v1.js +4 -0
  76. package/dist/gen/networking/v1.js.map +1 -0
  77. package/dist/gen/node/v1.d.ts +76 -0
  78. package/dist/gen/node/v1.d.ts.map +1 -0
  79. package/dist/gen/node/v1.js +4 -0
  80. package/dist/gen/node/v1.js.map +1 -0
  81. package/dist/gen/policy/v1.d.ts +143 -0
  82. package/dist/gen/policy/v1.d.ts.map +1 -0
  83. package/dist/gen/policy/v1.js +4 -0
  84. package/dist/gen/policy/v1.js.map +1 -0
  85. package/dist/gen/rbac/v1.d.ts +254 -0
  86. package/dist/gen/rbac/v1.d.ts.map +1 -0
  87. package/dist/gen/rbac/v1.js +4 -0
  88. package/dist/gen/rbac/v1.js.map +1 -0
  89. package/dist/gen/resource/v1.d.ts +1175 -0
  90. package/dist/gen/resource/v1.d.ts.map +1 -0
  91. package/dist/gen/resource/v1.js +4 -0
  92. package/dist/gen/resource/v1.js.map +1 -0
  93. package/dist/gen/scheduling/v1.d.ts +60 -0
  94. package/dist/gen/scheduling/v1.d.ts.map +1 -0
  95. package/dist/gen/scheduling/v1.js +4 -0
  96. package/dist/gen/scheduling/v1.js.map +1 -0
  97. package/dist/gen/storage/v1.d.ts +552 -0
  98. package/dist/gen/storage/v1.d.ts.map +1 -0
  99. package/dist/gen/storage/v1.js +4 -0
  100. package/dist/gen/storage/v1.js.map +1 -0
  101. package/dist/index.d.ts +19 -0
  102. package/dist/index.d.ts.map +1 -0
  103. package/dist/index.js +16 -0
  104. package/dist/index.js.map +1 -0
  105. package/dist/object.d.ts +33 -0
  106. package/dist/object.d.ts.map +1 -0
  107. package/dist/object.js +5 -0
  108. package/dist/object.js.map +1 -0
  109. package/package.json +34 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/gen/apps/v1.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK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AU,GAAG,eAAe,CAAC;CACrC"}
@@ -0,0 +1,4 @@
1
+ // Generated by @overkube/typegen from Kubernetes v1.35.7+kubesolo-v1.2.1's OpenAPI v3 schemas. Do not edit.
2
+ // Descriptions: Copyright The Kubernetes Authors, Apache License 2.0.
3
+ export {};
4
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/gen/apps/v1.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G,sEAAsE"}
@@ -0,0 +1,188 @@
1
+ import type { ObjectMeta, Time } from '../meta/v1.js';
2
+ /**
3
+ * BoundObjectReference is a reference to an object that a token is bound to.
4
+ */
5
+ export interface BoundObjectReference {
6
+ /**
7
+ * API version of the referent.
8
+ */
9
+ apiVersion?: string;
10
+ /**
11
+ * Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
12
+ */
13
+ kind?: string;
14
+ /**
15
+ * Name of the referent.
16
+ */
17
+ name?: string;
18
+ /**
19
+ * UID of the referent.
20
+ */
21
+ uid?: string;
22
+ }
23
+ /**
24
+ * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
25
+ */
26
+ export interface SelfSubjectReview {
27
+ /**
28
+ * 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
29
+ */
30
+ apiVersion?: string;
31
+ /**
32
+ * 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
33
+ */
34
+ kind?: string;
35
+ /**
36
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
37
+ */
38
+ metadata?: ObjectMeta;
39
+ /**
40
+ * Status is filled in by the server with the user attributes.
41
+ */
42
+ status?: SelfSubjectReviewStatus;
43
+ }
44
+ /**
45
+ * SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
46
+ */
47
+ export interface SelfSubjectReviewStatus {
48
+ /**
49
+ * User attributes of the user making this request.
50
+ */
51
+ userInfo?: UserInfo;
52
+ }
53
+ /**
54
+ * TokenRequest requests a token for a given service account.
55
+ */
56
+ export interface TokenRequest {
57
+ /**
58
+ * 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
59
+ */
60
+ apiVersion?: string;
61
+ /**
62
+ * 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
63
+ */
64
+ kind?: string;
65
+ /**
66
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
+ */
68
+ metadata?: ObjectMeta;
69
+ /**
70
+ * Spec holds information about the request being evaluated
71
+ */
72
+ spec: TokenRequestSpec;
73
+ /**
74
+ * Status is filled in by the server and indicates whether the token can be authenticated.
75
+ */
76
+ status?: TokenRequestStatus;
77
+ }
78
+ /**
79
+ * TokenRequestSpec contains client provided parameters of a token request.
80
+ */
81
+ export interface TokenRequestSpec {
82
+ /**
83
+ * Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
84
+ */
85
+ audiences: string[];
86
+ /**
87
+ * BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
88
+ */
89
+ boundObjectRef?: BoundObjectReference;
90
+ /**
91
+ * ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
92
+ */
93
+ expirationSeconds?: number;
94
+ }
95
+ /**
96
+ * TokenRequestStatus is the result of a token request.
97
+ */
98
+ export interface TokenRequestStatus {
99
+ /**
100
+ * ExpirationTimestamp is the time of expiration of the returned token.
101
+ */
102
+ expirationTimestamp: Time;
103
+ /**
104
+ * Token is the opaque bearer token.
105
+ */
106
+ token: string;
107
+ }
108
+ /**
109
+ * TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
110
+ */
111
+ export interface TokenReview {
112
+ /**
113
+ * 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
114
+ */
115
+ apiVersion?: string;
116
+ /**
117
+ * 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
118
+ */
119
+ kind?: string;
120
+ /**
121
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
122
+ */
123
+ metadata?: ObjectMeta;
124
+ /**
125
+ * Spec holds information about the request being evaluated
126
+ */
127
+ spec: TokenReviewSpec;
128
+ /**
129
+ * Status is filled in by the server and indicates whether the request can be authenticated.
130
+ */
131
+ status?: TokenReviewStatus;
132
+ }
133
+ /**
134
+ * TokenReviewSpec is a description of the token authentication request.
135
+ */
136
+ export interface TokenReviewSpec {
137
+ /**
138
+ * Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
139
+ */
140
+ audiences?: string[];
141
+ /**
142
+ * Token is the opaque bearer token.
143
+ */
144
+ token?: string;
145
+ }
146
+ /**
147
+ * TokenReviewStatus is the result of the token authentication request.
148
+ */
149
+ export interface TokenReviewStatus {
150
+ /**
151
+ * Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
152
+ */
153
+ audiences?: string[];
154
+ /**
155
+ * Authenticated indicates that the token was associated with a known user.
156
+ */
157
+ authenticated?: boolean;
158
+ /**
159
+ * Error indicates that the token couldn't be checked
160
+ */
161
+ error?: string;
162
+ /**
163
+ * User is the UserInfo associated with the provided token.
164
+ */
165
+ user?: UserInfo;
166
+ }
167
+ /**
168
+ * UserInfo holds the information about the user needed to implement the user.Info interface.
169
+ */
170
+ export interface UserInfo {
171
+ /**
172
+ * Any additional information provided by the authenticator.
173
+ */
174
+ extra?: Record<string, string[]>;
175
+ /**
176
+ * The names of groups this user is a part of.
177
+ */
178
+ groups?: string[];
179
+ /**
180
+ * A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
181
+ */
182
+ uid?: string;
183
+ /**
184
+ * The name that uniquely identifies this user among all active users.
185
+ */
186
+ username?: string;
187
+ }
188
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/gen/authentication/v1.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OA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AC,EAAE,iBAAiB,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,4 @@
1
+ // Generated by @overkube/typegen from Kubernetes v1.35.7+kubesolo-v1.2.1's OpenAPI v3 schemas. Do not edit.
2
+ // Descriptions: Copyright The Kubernetes Authors, Apache License 2.0.
3
+ export {};
4
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/gen/authentication/v1.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G,sEAAsE"}
@@ -0,0 +1,310 @@
1
+ import type { FieldSelectorRequirement, LabelSelectorRequirement, ObjectMeta } from '../meta/v1.js';
2
+ /**
3
+ * FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.
4
+ */
5
+ export interface FieldSelectorAttributes {
6
+ /**
7
+ * rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.
8
+ */
9
+ rawSelector?: string;
10
+ /**
11
+ * requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.
12
+ */
13
+ requirements?: FieldSelectorRequirement[];
14
+ }
15
+ /**
16
+ * LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.
17
+ */
18
+ export interface LabelSelectorAttributes {
19
+ /**
20
+ * rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.
21
+ */
22
+ rawSelector?: string;
23
+ /**
24
+ * requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.
25
+ */
26
+ requirements?: LabelSelectorRequirement[];
27
+ }
28
+ /**
29
+ * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.
30
+ */
31
+ export interface LocalSubjectAccessReview {
32
+ /**
33
+ * 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
34
+ */
35
+ apiVersion?: string;
36
+ /**
37
+ * 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
38
+ */
39
+ kind?: string;
40
+ /**
41
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ metadata?: ObjectMeta;
44
+ /**
45
+ * Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.
46
+ */
47
+ spec: SubjectAccessReviewSpec;
48
+ /**
49
+ * Status is filled in by the server and indicates whether the request is allowed or not
50
+ */
51
+ status?: SubjectAccessReviewStatus;
52
+ }
53
+ /**
54
+ * NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
55
+ */
56
+ export interface NonResourceAttributes {
57
+ /**
58
+ * Path is the URL path of the request
59
+ */
60
+ path?: string;
61
+ /**
62
+ * Verb is the standard HTTP verb
63
+ */
64
+ verb?: string;
65
+ }
66
+ /**
67
+ * NonResourceRule holds information that describes a rule for the non-resource
68
+ */
69
+ export interface NonResourceRule {
70
+ /**
71
+ * NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all.
72
+ */
73
+ nonResourceURLs?: string[];
74
+ /**
75
+ * Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
76
+ */
77
+ verbs: string[];
78
+ }
79
+ /**
80
+ * ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
81
+ */
82
+ export interface ResourceAttributes {
83
+ /**
84
+ * fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
85
+ */
86
+ fieldSelector?: FieldSelectorAttributes;
87
+ /**
88
+ * Group is the API Group of the Resource. "*" means all.
89
+ */
90
+ group?: string;
91
+ /**
92
+ * labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
93
+ */
94
+ labelSelector?: LabelSelectorAttributes;
95
+ /**
96
+ * Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
97
+ */
98
+ name?: string;
99
+ /**
100
+ * Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
101
+ */
102
+ namespace?: string;
103
+ /**
104
+ * Resource is one of the existing resource types. "*" means all.
105
+ */
106
+ resource?: string;
107
+ /**
108
+ * Subresource is one of the existing resource types. "" means none.
109
+ */
110
+ subresource?: string;
111
+ /**
112
+ * Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
113
+ */
114
+ verb?: string;
115
+ /**
116
+ * Version is the API Version of the Resource. "*" means all.
117
+ */
118
+ version?: string;
119
+ }
120
+ /**
121
+ * ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
122
+ */
123
+ export interface ResourceRule {
124
+ /**
125
+ * APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "*" means all.
126
+ */
127
+ apiGroups?: string[];
128
+ /**
129
+ * ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
130
+ */
131
+ resourceNames?: string[];
132
+ /**
133
+ * Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.
134
+ * "*\/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
135
+ */
136
+ resources?: string[];
137
+ /**
138
+ * Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
139
+ */
140
+ verbs: string[];
141
+ }
142
+ /**
143
+ * SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action
144
+ */
145
+ export interface SelfSubjectAccessReview {
146
+ /**
147
+ * 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
148
+ */
149
+ apiVersion?: string;
150
+ /**
151
+ * 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
152
+ */
153
+ kind?: string;
154
+ /**
155
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
156
+ */
157
+ metadata?: ObjectMeta;
158
+ /**
159
+ * Spec holds information about the request being evaluated. user and groups must be empty
160
+ */
161
+ spec: SelfSubjectAccessReviewSpec;
162
+ /**
163
+ * Status is filled in by the server and indicates whether the request is allowed or not
164
+ */
165
+ status?: SubjectAccessReviewStatus;
166
+ }
167
+ /**
168
+ * SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
169
+ */
170
+ export interface SelfSubjectAccessReviewSpec {
171
+ /**
172
+ * NonResourceAttributes describes information for a non-resource access request
173
+ */
174
+ nonResourceAttributes?: NonResourceAttributes;
175
+ /**
176
+ * ResourceAuthorizationAttributes describes information for a resource access request
177
+ */
178
+ resourceAttributes?: ResourceAttributes;
179
+ }
180
+ /**
181
+ * SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
182
+ */
183
+ export interface SelfSubjectRulesReview {
184
+ /**
185
+ * 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
186
+ */
187
+ apiVersion?: string;
188
+ /**
189
+ * 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
190
+ */
191
+ kind?: string;
192
+ /**
193
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
194
+ */
195
+ metadata?: ObjectMeta;
196
+ /**
197
+ * Spec holds information about the request being evaluated.
198
+ */
199
+ spec: SelfSubjectRulesReviewSpec;
200
+ /**
201
+ * Status is filled in by the server and indicates the set of actions a user can perform.
202
+ */
203
+ status?: SubjectRulesReviewStatus;
204
+ }
205
+ /**
206
+ * SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.
207
+ */
208
+ export interface SelfSubjectRulesReviewSpec {
209
+ /**
210
+ * Namespace to evaluate rules for. Required.
211
+ */
212
+ namespace?: string;
213
+ }
214
+ /**
215
+ * SubjectAccessReview checks whether or not a user or group can perform an action.
216
+ */
217
+ export interface SubjectAccessReview {
218
+ /**
219
+ * 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
220
+ */
221
+ apiVersion?: string;
222
+ /**
223
+ * 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
224
+ */
225
+ kind?: string;
226
+ /**
227
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
228
+ */
229
+ metadata?: ObjectMeta;
230
+ /**
231
+ * Spec holds information about the request being evaluated
232
+ */
233
+ spec: SubjectAccessReviewSpec;
234
+ /**
235
+ * Status is filled in by the server and indicates whether the request is allowed or not
236
+ */
237
+ status?: SubjectAccessReviewStatus;
238
+ }
239
+ /**
240
+ * SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set
241
+ */
242
+ export interface SubjectAccessReviewSpec {
243
+ /**
244
+ * Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.
245
+ */
246
+ extra?: Record<string, string[]>;
247
+ /**
248
+ * Groups is the groups you're testing for.
249
+ */
250
+ groups?: string[];
251
+ /**
252
+ * NonResourceAttributes describes information for a non-resource access request
253
+ */
254
+ nonResourceAttributes?: NonResourceAttributes;
255
+ /**
256
+ * ResourceAuthorizationAttributes describes information for a resource access request
257
+ */
258
+ resourceAttributes?: ResourceAttributes;
259
+ /**
260
+ * UID information about the requesting user.
261
+ */
262
+ uid?: string;
263
+ /**
264
+ * User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups
265
+ */
266
+ user?: string;
267
+ }
268
+ /**
269
+ * SubjectAccessReviewStatus
270
+ */
271
+ export interface SubjectAccessReviewStatus {
272
+ /**
273
+ * Allowed is required. True if the action would be allowed, false otherwise.
274
+ */
275
+ allowed: boolean;
276
+ /**
277
+ * Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
278
+ */
279
+ denied?: boolean;
280
+ /**
281
+ * EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
282
+ */
283
+ evaluationError?: string;
284
+ /**
285
+ * Reason is optional. It indicates why a request was allowed or denied.
286
+ */
287
+ reason?: string;
288
+ }
289
+ /**
290
+ * SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.
291
+ */
292
+ export interface SubjectRulesReviewStatus {
293
+ /**
294
+ * EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.
295
+ */
296
+ evaluationError?: string;
297
+ /**
298
+ * Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
299
+ */
300
+ incomplete: boolean;
301
+ /**
302
+ * NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
303
+ */
304
+ nonResourceRules: NonResourceRule[];
305
+ /**
306
+ * ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
307
+ */
308
+ resourceRules: ResourceRule[];
309
+ }
310
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/gen/authorization/v1.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEpG;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,wBAAwB,EAAE,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;O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AAC,EAAE,yBAAyB,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC;;OAEG;IACH,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B"}
@@ -0,0 +1,4 @@
1
+ // Generated by @overkube/typegen from Kubernetes v1.35.7+kubesolo-v1.2.1's OpenAPI v3 schemas. Do not edit.
2
+ // Descriptions: Copyright The Kubernetes Authors, Apache License 2.0.
3
+ export {};
4
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/gen/authorization/v1.ts"],"names":[],"mappings":"AAAA,4GAA4G;AAC5G,sEAAsE"}