Skip to content

Commit 4ebe8fc

Browse files
committed
generate protobuf
1 parent dff4036 commit 4ebe8fc

File tree

15 files changed

+8671
-877
lines changed

15 files changed

+8671
-877
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
@@ -19005,7 +19005,7 @@
1900519005
"type": "v1.SubjectRulesReview",
1900619006
"method": "POST",
1900719007
"summary": "create a SubjectRulesReview",
19008-
"nickname": "createNamespacedSubjectRulesReview",
19008+
"nickname": "createSubjectRulesReviewForAllNamespaces",
1900919009
"parameters": [
1901019010
{
1901119011
"type": "string",

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

+142
Original file line numberDiff line numberDiff line change
@@ -35723,6 +35723,56 @@
3572335723
}
3572435724
]
3572535725
},
35726+
"/oapi/v1/namespaces/{namespace}/subjectrulesreviews": {
35727+
"post": {
35728+
"description": "create a SubjectRulesReview",
35729+
"consumes": [
35730+
"*/*"
35731+
],
35732+
"produces": [
35733+
"application/json",
35734+
"application/yaml",
35735+
"application/vnd.kubernetes.protobuf"
35736+
],
35737+
"schemes": [
35738+
"https"
35739+
],
35740+
"operationId": "createNamespacedSubjectRulesReview",
35741+
"responses": {
35742+
"200": {
35743+
"description": "OK",
35744+
"schema": {
35745+
"$ref": "#/definitions/v1.SubjectRulesReview"
35746+
}
35747+
}
35748+
}
35749+
},
35750+
"parameters": [
35751+
{
35752+
"name": "body",
35753+
"in": "body",
35754+
"required": true,
35755+
"schema": {
35756+
"$ref": "#/definitions/v1.SubjectRulesReview"
35757+
}
35758+
},
35759+
{
35760+
"uniqueItems": true,
35761+
"type": "string",
35762+
"description": "object name and auth scope, such as for teams and projects",
35763+
"name": "namespace",
35764+
"in": "path",
35765+
"required": true
35766+
},
35767+
{
35768+
"uniqueItems": true,
35769+
"type": "string",
35770+
"description": "If 'true', then the output is pretty printed.",
35771+
"name": "pretty",
35772+
"in": "query"
35773+
}
35774+
]
35775+
},
3572635776
"/oapi/v1/namespaces/{namespace}/templates": {
3572735777
"get": {
3572835778
"description": "list or watch objects of kind Template",
@@ -38704,6 +38754,48 @@
3870438754
}
3870538755
]
3870638756
},
38757+
"/oapi/v1/subjectrulesreviews": {
38758+
"post": {
38759+
"description": "create a SubjectRulesReview",
38760+
"consumes": [
38761+
"*/*"
38762+
],
38763+
"produces": [
38764+
"application/json",
38765+
"application/yaml",
38766+
"application/vnd.kubernetes.protobuf"
38767+
],
38768+
"schemes": [
38769+
"https"
38770+
],
38771+
"operationId": "createSubjectRulesReviewForAllNamespaces",
38772+
"responses": {
38773+
"200": {
38774+
"description": "OK",
38775+
"schema": {
38776+
"$ref": "#/definitions/v1.SubjectRulesReview"
38777+
}
38778+
}
38779+
}
38780+
},
38781+
"parameters": [
38782+
{
38783+
"name": "body",
38784+
"in": "body",
38785+
"required": true,
38786+
"schema": {
38787+
"$ref": "#/definitions/v1.SubjectRulesReview"
38788+
}
38789+
},
38790+
{
38791+
"uniqueItems": true,
38792+
"type": "string",
38793+
"description": "If 'true', then the output is pretty printed.",
38794+
"name": "pretty",
38795+
"in": "query"
38796+
}
38797+
]
38798+
},
3870738799
"/oapi/v1/templates": {
3870838800
"get": {
3870938801
"description": "list or watch objects of kind Template",
@@ -51569,6 +51661,56 @@
5156951661
}
5157051662
}
5157151663
},
51664+
"v1.SubjectRulesReview": {
51665+
"description": "SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace",
51666+
"required": [
51667+
"spec"
51668+
],
51669+
"properties": {
51670+
"apiVersion": {
51671+
"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",
51672+
"type": "string"
51673+
},
51674+
"kind": {
51675+
"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",
51676+
"type": "string"
51677+
},
51678+
"spec": {
51679+
"$ref": "#/definitions/v1.SubjectRulesReviewSpec"
51680+
},
51681+
"status": {
51682+
"$ref": "#/definitions/v1.SubjectRulesReviewStatus"
51683+
}
51684+
}
51685+
},
51686+
"v1.SubjectRulesReviewSpec": {
51687+
"description": "SubjectRulesReviewSpec adds information about how to conduct the check",
51688+
"required": [
51689+
"user",
51690+
"groups",
51691+
"scopes"
51692+
],
51693+
"properties": {
51694+
"groups": {
51695+
"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.",
51696+
"type": "array",
51697+
"items": {
51698+
"type": "string"
51699+
}
51700+
},
51701+
"scopes": {
51702+
"description": "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\".",
51703+
"type": "array",
51704+
"items": {
51705+
"type": "string"
51706+
}
51707+
},
51708+
"user": {
51709+
"description": "User is optional. At least one of User and Groups must be specified.",
51710+
"type": "string"
51711+
}
51712+
}
51713+
},
5157251714
"v1.SubjectRulesReviewStatus": {
5157351715
"description": "SubjectRulesReviewStatus is contains the result of a rules check",
5157451716
"required": [

0 commit comments

Comments
 (0)