50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
/**
|
|
* Kubernetes
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: v1.22.2
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/// <reference types="node" />
|
|
import http from 'http';
|
|
import { V1APIGroup } from '../model/v1APIGroup';
|
|
import { Authentication, Interceptor } from '../model/models';
|
|
import { ApiKeyAuth } from '../model/models';
|
|
export declare enum AdmissionregistrationApiApiKeys {
|
|
BearerToken = 0
|
|
}
|
|
export declare class AdmissionregistrationApi {
|
|
protected _basePath: string;
|
|
protected _defaultHeaders: any;
|
|
protected _useQuerystring: boolean;
|
|
protected authentications: {
|
|
default: Authentication;
|
|
BearerToken: ApiKeyAuth;
|
|
};
|
|
protected interceptors: Interceptor[];
|
|
constructor(basePath?: string);
|
|
set useQuerystring(value: boolean);
|
|
set basePath(basePath: string);
|
|
set defaultHeaders(defaultHeaders: any);
|
|
get defaultHeaders(): any;
|
|
get basePath(): string;
|
|
setDefaultAuthentication(auth: Authentication): void;
|
|
setApiKey(key: AdmissionregistrationApiApiKeys, value: string): void;
|
|
addInterceptor(interceptor: Interceptor): void;
|
|
/**
|
|
* get information of a group
|
|
*/
|
|
getAPIGroup(options?: {
|
|
headers: {
|
|
[name: string]: string;
|
|
};
|
|
}): Promise<{
|
|
response: http.IncomingMessage;
|
|
body: V1APIGroup;
|
|
}>;
|
|
}
|