UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

53 lines (52 loc) 2.84 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. */ import { IoK8sApiAuthorizationV1SubjectAccessReviewSpec, IoK8sApiAuthorizationV1SubjectAccessReviewStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './'; /** * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. * @export * @interface IoK8sApiAuthorizationV1LocalSubjectAccessReview */ export interface IoK8sApiAuthorizationV1LocalSubjectAccessReview { /** * 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 IoK8sApiAuthorizationV1LocalSubjectAccessReview */ 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 IoK8sApiAuthorizationV1LocalSubjectAccessReview */ kind?: string; /** * * @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta} * @memberof IoK8sApiAuthorizationV1LocalSubjectAccessReview */ metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta; /** * * @type {IoK8sApiAuthorizationV1SubjectAccessReviewSpec} * @memberof IoK8sApiAuthorizationV1LocalSubjectAccessReview */ spec: IoK8sApiAuthorizationV1SubjectAccessReviewSpec; /** * * @type {IoK8sApiAuthorizationV1SubjectAccessReviewStatus} * @memberof IoK8sApiAuthorizationV1LocalSubjectAccessReview */ status?: IoK8sApiAuthorizationV1SubjectAccessReviewStatus; } export declare function IoK8sApiAuthorizationV1LocalSubjectAccessReviewFromJSON(json: any): IoK8sApiAuthorizationV1LocalSubjectAccessReview; export declare function IoK8sApiAuthorizationV1LocalSubjectAccessReviewFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAuthorizationV1LocalSubjectAccessReview; export declare function IoK8sApiAuthorizationV1LocalSubjectAccessReviewToJSON(value?: IoK8sApiAuthorizationV1LocalSubjectAccessReview | null): any;