@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 2.85 kB
TypeScript
/**
* 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.
*/
import { IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec, IoK8sApiAuthorizationV1SubjectAccessReviewStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action
* @export
* @interface IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
export interface IoK8sApiAuthorizationV1SelfSubjectAccessReview {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
* @type {string}
* @memberof IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec}
* @memberof IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
spec: IoK8sApiAuthorizationV1SelfSubjectAccessReviewSpec;
/**
*
* @type {IoK8sApiAuthorizationV1SubjectAccessReviewStatus}
* @memberof IoK8sApiAuthorizationV1SelfSubjectAccessReview
*/
status?: IoK8sApiAuthorizationV1SubjectAccessReviewStatus;
}
export declare function IoK8sApiAuthorizationV1SelfSubjectAccessReviewFromJSON(json: any): IoK8sApiAuthorizationV1SelfSubjectAccessReview;
export declare function IoK8sApiAuthorizationV1SelfSubjectAccessReviewFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAuthorizationV1SelfSubjectAccessReview;
export declare function IoK8sApiAuthorizationV1SelfSubjectAccessReviewToJSON(value?: IoK8sApiAuthorizationV1SelfSubjectAccessReview | null): any;