Interface AuthorizationV1ApiReactor
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
@Client("kubernetes-client")
public interface AuthorizationV1ApiReactor
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<@Valid V1LocalSubjectAccessReview>
createNamespacedLocalSubjectAccessReview
(@NotNull String namespace, @NotNull @Valid V1LocalSubjectAccessReview body, @Nullable String dryRun, @Nullable String fieldManager, @Nullable String fieldValidation, @Nullable String pretty) create a LocalSubjectAccessReviewreactor.core.publisher.Mono<@Valid V1SelfSubjectAccessReview>
createSelfSubjectAccessReview
(@NotNull @Valid V1SelfSubjectAccessReview body, @Nullable String dryRun, @Nullable String fieldManager, @Nullable String fieldValidation, @Nullable String pretty) create a SelfSubjectAccessReviewreactor.core.publisher.Mono<@Valid V1SelfSubjectRulesReview>
createSelfSubjectRulesReview
(@NotNull @Valid V1SelfSubjectRulesReview body, @Nullable String dryRun, @Nullable String fieldManager, @Nullable String fieldValidation, @Nullable String pretty) create a SelfSubjectRulesReviewreactor.core.publisher.Mono<@Valid V1SubjectAccessReview>
createSubjectAccessReview
(@NotNull @Valid V1SubjectAccessReview body, @Nullable String dryRun, @Nullable String fieldManager, @Nullable String fieldValidation, @Nullable String pretty) create a SubjectAccessReviewreactor.core.publisher.Mono<@Valid V1APIResourceList>
get available resources
-
Method Details
-
createNamespacedLocalSubjectAccessReview
@Post("/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews") @Consumes({"application/json","application/yaml","application/vnd.kubernetes.protobuf"}) reactor.core.publisher.Mono<@Valid V1LocalSubjectAccessReview> createNamespacedLocalSubjectAccessReview(@PathVariable("namespace") @NotNull @NotNull String namespace, @Body @NotNull @Valid @NotNull @Valid V1LocalSubjectAccessReview body, @QueryValue("dryRun") @Nullable @Nullable String dryRun, @QueryValue("fieldManager") @Nullable @Nullable String fieldManager, @QueryValue("fieldValidation") @Nullable @Nullable String fieldValidation, @QueryValue("pretty") @Nullable @Nullable String pretty) create a LocalSubjectAccessReview- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)dryRun
- 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 (optional)fieldManager
- fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional)fieldValidation
- fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)pretty
- If 'true', then the output is pretty printed. (optional)- Returns:
- OK (status code 200) or Created (status code 201) or Accepted (status code 202) or Unauthorized (status code 401)
-
createSelfSubjectAccessReview
@Post("/apis/authorization.k8s.io/v1/selfsubjectaccessreviews") @Consumes({"application/json","application/yaml","application/vnd.kubernetes.protobuf"}) reactor.core.publisher.Mono<@Valid V1SelfSubjectAccessReview> createSelfSubjectAccessReview(@Body @NotNull @Valid @NotNull @Valid V1SelfSubjectAccessReview body, @QueryValue("dryRun") @Nullable @Nullable String dryRun, @QueryValue("fieldManager") @Nullable @Nullable String fieldManager, @QueryValue("fieldValidation") @Nullable @Nullable String fieldValidation, @QueryValue("pretty") @Nullable @Nullable String pretty) create a SelfSubjectAccessReview- Parameters:
body
- (required)dryRun
- 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 (optional)fieldManager
- fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional)fieldValidation
- fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)pretty
- If 'true', then the output is pretty printed. (optional)- Returns:
- OK (status code 200) or Created (status code 201) or Accepted (status code 202) or Unauthorized (status code 401)
-
createSelfSubjectRulesReview
@Post("/apis/authorization.k8s.io/v1/selfsubjectrulesreviews") @Consumes({"application/json","application/yaml","application/vnd.kubernetes.protobuf"}) reactor.core.publisher.Mono<@Valid V1SelfSubjectRulesReview> createSelfSubjectRulesReview(@Body @NotNull @Valid @NotNull @Valid V1SelfSubjectRulesReview body, @QueryValue("dryRun") @Nullable @Nullable String dryRun, @QueryValue("fieldManager") @Nullable @Nullable String fieldManager, @QueryValue("fieldValidation") @Nullable @Nullable String fieldValidation, @QueryValue("pretty") @Nullable @Nullable String pretty) create a SelfSubjectRulesReview- Parameters:
body
- (required)dryRun
- 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 (optional)fieldManager
- fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional)fieldValidation
- fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)pretty
- If 'true', then the output is pretty printed. (optional)- Returns:
- OK (status code 200) or Created (status code 201) or Accepted (status code 202) or Unauthorized (status code 401)
-
createSubjectAccessReview
@Post("/apis/authorization.k8s.io/v1/subjectaccessreviews") @Consumes({"application/json","application/yaml","application/vnd.kubernetes.protobuf"}) reactor.core.publisher.Mono<@Valid V1SubjectAccessReview> createSubjectAccessReview(@Body @NotNull @Valid @NotNull @Valid V1SubjectAccessReview body, @QueryValue("dryRun") @Nullable @Nullable String dryRun, @QueryValue("fieldManager") @Nullable @Nullable String fieldManager, @QueryValue("fieldValidation") @Nullable @Nullable String fieldValidation, @QueryValue("pretty") @Nullable @Nullable String pretty) create a SubjectAccessReview- Parameters:
body
- (required)dryRun
- 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 (optional)fieldManager
- fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional)fieldValidation
- fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)pretty
- If 'true', then the output is pretty printed. (optional)- Returns:
- OK (status code 200) or Created (status code 201) or Accepted (status code 202) or Unauthorized (status code 401)
-
getAPIResources
@Get("/apis/authorization.k8s.io/v1/") @Consumes({"application/json","application/yaml","application/vnd.kubernetes.protobuf"}) reactor.core.publisher.Mono<@Valid V1APIResourceList> getAPIResources()get available resources- Returns:
- OK (status code 200) or Unauthorized (status code 401)
-