@kubernetes/client-node
Version:
NodeJS client for kubernetes
44 lines (43 loc) • 1.44 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1GroupSubject } from '../models/V1GroupSubject.js';
import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js';
import { V1UserSubject } from '../models/V1UserSubject.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 FlowcontrolV1Subject {
'group'?: V1GroupSubject;
/**
* `kind` indicates which one of the other fields is non-empty. Required
*/
'kind': string;
'serviceAccount'?: V1ServiceAccountSubject;
'user'?: V1UserSubject;
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();
}