2.6 KiB
\AuthenticationV1Api
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| CreateTokenReview | Post /apis/authentication.k8s.io/v1/tokenreviews | |
| GetAPIResources | Get /apis/authentication.k8s.io/v1/ |
CreateTokenReview
V1TokenReview CreateTokenReview(ctx, body, optional)
create a TokenReview
Required Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| body | V1TokenReview | ||
| optional | *CreateTokenReviewOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a CreateTokenReviewOpts struct
| Name | Type | Description | Notes |
|---|
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
Authorization
HTTP request headers
- Content-Type: Not defined
- 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
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]