@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
53 lines (52 loc) • 2.56 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 { IoK8sApiRbacV1RoleRef, IoK8sApiRbacV1Subject, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.
* @export
* @interface IoK8sApiRbacV1RoleBinding
*/
export interface IoK8sApiRbacV1RoleBinding {
/**
* 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 IoK8sApiRbacV1RoleBinding
*/
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 IoK8sApiRbacV1RoleBinding
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiRbacV1RoleBinding
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiRbacV1RoleRef}
* @memberof IoK8sApiRbacV1RoleBinding
*/
roleRef: IoK8sApiRbacV1RoleRef;
/**
* Subjects holds references to the objects the role applies to.
* @type {Array<IoK8sApiRbacV1Subject>}
* @memberof IoK8sApiRbacV1RoleBinding
*/
subjects?: Array<IoK8sApiRbacV1Subject>;
}
export declare function IoK8sApiRbacV1RoleBindingFromJSON(json: any): IoK8sApiRbacV1RoleBinding;
export declare function IoK8sApiRbacV1RoleBindingFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiRbacV1RoleBinding;
export declare function IoK8sApiRbacV1RoleBindingToJSON(value?: IoK8sApiRbacV1RoleBinding | null): any;