@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
34 lines (33 loc) • 1.41 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.
*/
/**
* TokenRequest contains parameters of a service account token.
* @export
* @interface IoK8sApiStorageV1TokenRequest
*/
export interface IoK8sApiStorageV1TokenRequest {
/**
* audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.
* @type {string}
* @memberof IoK8sApiStorageV1TokenRequest
*/
audience: string;
/**
* expirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".
* @type {number}
* @memberof IoK8sApiStorageV1TokenRequest
*/
expirationSeconds?: number;
}
export declare function IoK8sApiStorageV1TokenRequestFromJSON(json: any): IoK8sApiStorageV1TokenRequest;
export declare function IoK8sApiStorageV1TokenRequestFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiStorageV1TokenRequest;
export declare function IoK8sApiStorageV1TokenRequestToJSON(value?: IoK8sApiStorageV1TokenRequest | null): any;