Skip to content

Commit 84c640d

Browse files
committed
generate protobuf
1 parent c44b4c2 commit 84c640d

File tree

4 files changed

+7784
-1
lines changed

4 files changed

+7784
-1
lines changed

api/protobuf-spec/github_com_openshift_origin_pkg_authorization_api_v1.proto

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/swagger-spec/oapi-v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19299,7 +19299,7 @@
1929919299
"type": "v1.SubjectRulesReview",
1930019300
"method": "POST",
1930119301
"summary": "create a SubjectRulesReview",
19302-
"nickname": "createNamespacedSubjectRulesReview",
19302+
"nickname": "createSubjectRulesReviewForAllNamespaces",
1930319303
"parameters": [
1930419304
{
1930519305
"type": "string",

api/swagger-spec/openshift-openapi-spec.json

+142
Original file line numberDiff line numberDiff line change
@@ -35873,6 +35873,56 @@
3587335873
}
3587435874
]
3587535875
},
35876+
"/oapi/v1/namespaces/{namespace}/subjectrulesreviews": {
35877+
"post": {
35878+
"description": "create a SubjectRulesReview",
35879+
"consumes": [
35880+
"*/*"
35881+
],
35882+
"produces": [
35883+
"application/json",
35884+
"application/yaml",
35885+
"application/vnd.kubernetes.protobuf"
35886+
],
35887+
"schemes": [
35888+
"https"
35889+
],
35890+
"operationId": "createNamespacedSubjectRulesReview",
35891+
"responses": {
35892+
"200": {
35893+
"description": "OK",
35894+
"schema": {
35895+
"$ref": "#/definitions/v1.SubjectRulesReview"
35896+
}
35897+
}
35898+
}
35899+
},
35900+
"parameters": [
35901+
{
35902+
"name": "body",
35903+
"in": "body",
35904+
"required": true,
35905+
"schema": {
35906+
"$ref": "#/definitions/v1.SubjectRulesReview"
35907+
}
35908+
},
35909+
{
35910+
"uniqueItems": true,
35911+
"type": "string",
35912+
"description": "object name and auth scope, such as for teams and projects",
35913+
"name": "namespace",
35914+
"in": "path",
35915+
"required": true
35916+
},
35917+
{
35918+
"uniqueItems": true,
35919+
"type": "string",
35920+
"description": "If 'true', then the output is pretty printed.",
35921+
"name": "pretty",
35922+
"in": "query"
35923+
}
35924+
]
35925+
},
3587635926
"/oapi/v1/namespaces/{namespace}/templates": {
3587735927
"get": {
3587835928
"description": "list or watch objects of kind Template",
@@ -38980,6 +39030,48 @@
3898039030
}
3898139031
]
3898239032
},
39033+
"/oapi/v1/subjectrulesreviews": {
39034+
"post": {
39035+
"description": "create a SubjectRulesReview",
39036+
"consumes": [
39037+
"*/*"
39038+
],
39039+
"produces": [
39040+
"application/json",
39041+
"application/yaml",
39042+
"application/vnd.kubernetes.protobuf"
39043+
],
39044+
"schemes": [
39045+
"https"
39046+
],
39047+
"operationId": "createSubjectRulesReviewForAllNamespaces",
39048+
"responses": {
39049+
"200": {
39050+
"description": "OK",
39051+
"schema": {
39052+
"$ref": "#/definitions/v1.SubjectRulesReview"
39053+
}
39054+
}
39055+
}
39056+
},
39057+
"parameters": [
39058+
{
39059+
"name": "body",
39060+
"in": "body",
39061+
"required": true,
39062+
"schema": {
39063+
"$ref": "#/definitions/v1.SubjectRulesReview"
39064+
}
39065+
},
39066+
{
39067+
"uniqueItems": true,
39068+
"type": "string",
39069+
"description": "If 'true', then the output is pretty printed.",
39070+
"name": "pretty",
39071+
"in": "query"
39072+
}
39073+
]
39074+
},
3898339075
"/oapi/v1/templates": {
3898439076
"get": {
3898539077
"description": "list or watch objects of kind Template",
@@ -52018,6 +52110,56 @@
5201852110
}
5201952111
}
5202052112
},
52113+
"v1.SubjectRulesReview": {
52114+
"description": "SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace",
52115+
"required": [
52116+
"spec"
52117+
],
52118+
"properties": {
52119+
"apiVersion": {
52120+
"description": "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: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#resources",
52121+
"type": "string"
52122+
},
52123+
"kind": {
52124+
"description": "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: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#types-kinds",
52125+
"type": "string"
52126+
},
52127+
"spec": {
52128+
"$ref": "#/definitions/v1.SubjectRulesReviewSpec"
52129+
},
52130+
"status": {
52131+
"$ref": "#/definitions/v1.SubjectRulesReviewStatus"
52132+
}
52133+
}
52134+
},
52135+
"v1.SubjectRulesReviewSpec": {
52136+
"description": "SubjectRulesReviewSpec adds information about how to conduct the check",
52137+
"required": [
52138+
"user",
52139+
"groups",
52140+
"scopes"
52141+
],
52142+
"properties": {
52143+
"groups": {
52144+
"description": "Groups is optional. Groups is the list of groups to which the User belongs. At least one of User and Groups must be specified.",
52145+
"type": "array",
52146+
"items": {
52147+
"type": "string"
52148+
}
52149+
},
52150+
"scopes": {
52151+
"description": "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\".",
52152+
"type": "array",
52153+
"items": {
52154+
"type": "string"
52155+
}
52156+
},
52157+
"user": {
52158+
"description": "User is optional. At least one of User and Groups must be specified.",
52159+
"type": "string"
52160+
}
52161+
}
52162+
},
5202152163
"v1.SubjectRulesReviewStatus": {
5202252164
"description": "SubjectRulesReviewStatus is contains the result of a rules check",
5202352165
"required": [

0 commit comments

Comments
 (0)