@kubernetes/client-node
Version:
NodeJS client for kubernetes
44 lines (43 loc) • 1.47 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.30.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1beta3GroupSubject } from '../models/V1beta3GroupSubject.js';
import { V1beta3ServiceAccountSubject } from '../models/V1beta3ServiceAccountSubject.js';
import { V1beta3UserSubject } from '../models/V1beta3UserSubject.js';
/**
* Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.
*/
export declare class V1beta3Subject {
'group'?: V1beta3GroupSubject;
/**
* `kind` indicates which one of the other fields is non-empty. Required
*/
'kind': string;
'serviceAccount'?: V1beta3ServiceAccountSubject;
'user'?: V1beta3UserSubject;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}