UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

46 lines (45 loc) 2.25 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * SubjectAccessReviewStatus * @export * @interface IoK8sApiAuthorizationV1SubjectAccessReviewStatus */ export interface IoK8sApiAuthorizationV1SubjectAccessReviewStatus { /** * Allowed is required. True if the action would be allowed, false otherwise. * @type {boolean} * @memberof IoK8sApiAuthorizationV1SubjectAccessReviewStatus */ allowed: boolean; /** * Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. * @type {boolean} * @memberof IoK8sApiAuthorizationV1SubjectAccessReviewStatus */ denied?: boolean; /** * EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. * @type {string} * @memberof IoK8sApiAuthorizationV1SubjectAccessReviewStatus */ evaluationError?: string; /** * Reason is optional. It indicates why a request was allowed or denied. * @type {string} * @memberof IoK8sApiAuthorizationV1SubjectAccessReviewStatus */ reason?: string; } export declare function IoK8sApiAuthorizationV1SubjectAccessReviewStatusFromJSON(json: any): IoK8sApiAuthorizationV1SubjectAccessReviewStatus; export declare function IoK8sApiAuthorizationV1SubjectAccessReviewStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAuthorizationV1SubjectAccessReviewStatus; export declare function IoK8sApiAuthorizationV1SubjectAccessReviewStatusToJSON(value?: IoK8sApiAuthorizationV1SubjectAccessReviewStatus | null): any;