Files
go/kubernetes/docs/AuthorizationV1Api.md

196 lines
8.6 KiB
Markdown
Raw Permalink Normal View History

# \AuthorizationV1Api
2019-03-19 22:09:04 -07:00
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**CreateNamespacedLocalSubjectAccessReview**](AuthorizationV1Api.md#CreateNamespacedLocalSubjectAccessReview) | **Post** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews |
[**CreateSelfSubjectAccessReview**](AuthorizationV1Api.md#CreateSelfSubjectAccessReview) | **Post** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews |
[**CreateSelfSubjectRulesReview**](AuthorizationV1Api.md#CreateSelfSubjectRulesReview) | **Post** /apis/authorization.k8s.io/v1/selfsubjectrulesreviews |
[**CreateSubjectAccessReview**](AuthorizationV1Api.md#CreateSubjectAccessReview) | **Post** /apis/authorization.k8s.io/v1/subjectaccessreviews |
[**GetAPIResources**](AuthorizationV1Api.md#GetAPIResources) | **Get** /apis/authorization.k8s.io/v1/ |
# **CreateNamespacedLocalSubjectAccessReview**
> V1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview(ctx, namespace, body, optional)
create a LocalSubjectAccessReview
### Required Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**namespace** | **string**| object name and auth scope, such as for teams and projects |
**body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| |
2019-03-19 22:09:04 -07:00
**optional** | ***CreateNamespacedLocalSubjectAccessReviewOpts** | optional parameters | nil if no parameters
### Optional Parameters
2019-03-19 22:09:04 -07:00
Optional parameters are passed through a pointer to a CreateNamespacedLocalSubjectAccessReviewOpts struct
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**dryRun** | **optional.String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
**includeUninitialized** | **optional.Bool**| If IncludeUninitialized is specified, the object may be returned without completing initialization. |
**pretty** | **optional.String**| If 'true', then the output is pretty printed. |
### Return type
[**V1LocalSubjectAccessReview**](v1.LocalSubjectAccessReview.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
2019-03-19 22:09:04 -07:00
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **CreateSelfSubjectAccessReview**
> V1SelfSubjectAccessReview CreateSelfSubjectAccessReview(ctx, body, optional)
create a SelfSubjectAccessReview
### Required Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**body** | [**V1SelfSubjectAccessReview**](V1SelfSubjectAccessReview.md)| |
2019-03-19 22:09:04 -07:00
**optional** | ***CreateSelfSubjectAccessReviewOpts** | optional parameters | nil if no parameters
### Optional Parameters
2019-03-19 22:09:04 -07:00
Optional parameters are passed through a pointer to a CreateSelfSubjectAccessReviewOpts struct
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**dryRun** | **optional.String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
**includeUninitialized** | **optional.Bool**| If IncludeUninitialized is specified, the object may be returned without completing initialization. |
**pretty** | **optional.String**| If 'true', then the output is pretty printed. |
### Return type
[**V1SelfSubjectAccessReview**](v1.SelfSubjectAccessReview.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
2019-03-19 22:09:04 -07:00
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **CreateSelfSubjectRulesReview**
> V1SelfSubjectRulesReview CreateSelfSubjectRulesReview(ctx, body, optional)
create a SelfSubjectRulesReview
### Required Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| |
2019-03-19 22:09:04 -07:00
**optional** | ***CreateSelfSubjectRulesReviewOpts** | optional parameters | nil if no parameters
### Optional Parameters
2019-03-19 22:09:04 -07:00
Optional parameters are passed through a pointer to a CreateSelfSubjectRulesReviewOpts struct
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**dryRun** | **optional.String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
**includeUninitialized** | **optional.Bool**| If IncludeUninitialized is specified, the object may be returned without completing initialization. |
**pretty** | **optional.String**| If 'true', then the output is pretty printed. |
### Return type
[**V1SelfSubjectRulesReview**](v1.SelfSubjectRulesReview.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
2019-03-19 22:09:04 -07:00
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **CreateSubjectAccessReview**
> V1SubjectAccessReview CreateSubjectAccessReview(ctx, body, optional)
create a SubjectAccessReview
### Required Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| |
2019-03-19 22:09:04 -07:00
**optional** | ***CreateSubjectAccessReviewOpts** | optional parameters | nil if no parameters
### Optional Parameters
2019-03-19 22:09:04 -07:00
Optional parameters are passed through a pointer to a CreateSubjectAccessReviewOpts struct
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
2019-03-19 22:09:04 -07:00
**dryRun** | **optional.String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |
**includeUninitialized** | **optional.Bool**| If IncludeUninitialized is specified, the object may be returned without completing initialization. |
**pretty** | **optional.String**| If 'true', then the output is pretty printed. |
### Return type
[**V1SubjectAccessReview**](v1.SubjectAccessReview.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
2019-03-19 22:09:04 -07:00
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **GetAPIResources**
> V1ApiResourceList GetAPIResources(ctx, )
get available resources
### Required Parameters
This endpoint does not need any parameter.
### Return type
[**V1ApiResourceList**](v1.APIResourceList.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
2019-03-19 22:09:04 -07:00
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)