Files
go/kubernetes/docs/AuthenticationV1Api.md

74 lines
2.6 KiB
Markdown
Raw Normal View History

# \AuthenticationV1Api
2019-03-19 22:09:04 -07:00
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**CreateTokenReview**](AuthenticationV1Api.md#CreateTokenReview) | **Post** /apis/authentication.k8s.io/v1/tokenreviews |
[**GetAPIResources**](AuthenticationV1Api.md#GetAPIResources) | **Get** /apis/authentication.k8s.io/v1/ |
# **CreateTokenReview**
> V1TokenReview CreateTokenReview(ctx, body, optional)
create a TokenReview
### 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** | [**V1TokenReview**](V1TokenReview.md)| |
2019-03-19 22:09:04 -07:00
**optional** | ***CreateTokenReviewOpts** | 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 CreateTokenReviewOpts 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
[**V1TokenReview**](v1.TokenReview.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)