Skip to content

Latest commit

 

History

History
187 lines (116 loc) · 6.95 KB

AuthorizationV1Api.md

File metadata and controls

187 lines (116 loc) · 6.95 KB

\AuthorizationV1Api

All URIs are relative to https://localhost

Method HTTP request Description
CreateNamespacedLocalSubjectAccessReview Post /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews
CreateSelfSubjectAccessReview Post /apis/authorization.k8s.io/v1/selfsubjectaccessreviews
CreateSelfSubjectRulesReview Post /apis/authorization.k8s.io/v1/selfsubjectrulesreviews
CreateSubjectAccessReview Post /apis/authorization.k8s.io/v1/subjectaccessreviews
GetAPIResources Get /apis/authorization.k8s.io/v1/

CreateNamespacedLocalSubjectAccessReview

V1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview(ctx, namespace, body, optional)

create a LocalSubjectAccessReview

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
namespace string object name and auth scope, such as for teams and projects
body V1LocalSubjectAccessReview
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
namespace string object name and auth scope, such as for teams and projects
body V1LocalSubjectAccessReview
pretty string If 'true', then the output is pretty printed.

Return type

V1LocalSubjectAccessReview

Authorization

BearerToken

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateSelfSubjectAccessReview

V1SelfSubjectAccessReview CreateSelfSubjectAccessReview(ctx, body, optional)

create a SelfSubjectAccessReview

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
body V1SelfSubjectAccessReview
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body V1SelfSubjectAccessReview
pretty string If 'true', then the output is pretty printed.

Return type

V1SelfSubjectAccessReview

Authorization

BearerToken

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateSelfSubjectRulesReview

V1SelfSubjectRulesReview CreateSelfSubjectRulesReview(ctx, body, optional)

create a SelfSubjectRulesReview

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
body V1SelfSubjectRulesReview
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body V1SelfSubjectRulesReview
pretty string If 'true', then the output is pretty printed.

Return type

V1SelfSubjectRulesReview

Authorization

BearerToken

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateSubjectAccessReview

V1SubjectAccessReview CreateSubjectAccessReview(ctx, body, optional)

create a SubjectAccessReview

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
body V1SubjectAccessReview
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body V1SubjectAccessReview
pretty string If 'true', then the output is pretty printed.

Return type

V1SubjectAccessReview

Authorization

BearerToken

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAPIResources

V1ApiResourceList GetAPIResources(ctx, )

get available resources

Required Parameters

This endpoint does not need any parameter.

Return type

V1ApiResourceList

Authorization

BearerToken

HTTP request headers

  • Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]