All URIs are relative to http://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/ |
V1LocalSubjectAccessReview CreateNamespacedLocalSubjectAccessReview(ctx, namespace, body, optional)
create a LocalSubjectAccessReview
Name | Type | Description | Notes |
---|---|---|---|
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 | ||
optional | *CreateNamespacedLocalSubjectAccessReviewOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateNamespacedLocalSubjectAccessReviewOpts 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. |
- 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]
V1SelfSubjectAccessReview CreateSelfSubjectAccessReview(ctx, body, optional)
create a SelfSubjectAccessReview
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | V1SelfSubjectAccessReview | ||
optional | *CreateSelfSubjectAccessReviewOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateSelfSubjectAccessReviewOpts 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. |
- 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]
V1SelfSubjectRulesReview CreateSelfSubjectRulesReview(ctx, body, optional)
create a SelfSubjectRulesReview
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | V1SelfSubjectRulesReview | ||
optional | *CreateSelfSubjectRulesReviewOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateSelfSubjectRulesReviewOpts 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. |
- 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]
V1SubjectAccessReview CreateSubjectAccessReview(ctx, body, optional)
create a SubjectAccessReview
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | V1SubjectAccessReview | ||
optional | *CreateSubjectAccessReviewOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateSubjectAccessReviewOpts 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. |
- 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]
V1ApiResourceList GetAPIResources(ctx, )
get available resources
This endpoint does not need any parameter.
- 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]