@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
40 lines (39 loc) • 2.3 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.
*/
/**
* ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).
* @export
* @interface IoK8sApiCoreV1ServiceAccountTokenProjection
*/
export interface IoK8sApiCoreV1ServiceAccountTokenProjection {
/**
* audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
* @type {string}
* @memberof IoK8sApiCoreV1ServiceAccountTokenProjection
*/
audience?: string;
/**
* expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
* @type {number}
* @memberof IoK8sApiCoreV1ServiceAccountTokenProjection
*/
expirationSeconds?: number;
/**
* path is the path relative to the mount point of the file to project the token into.
* @type {string}
* @memberof IoK8sApiCoreV1ServiceAccountTokenProjection
*/
path: string;
}
export declare function IoK8sApiCoreV1ServiceAccountTokenProjectionFromJSON(json: any): IoK8sApiCoreV1ServiceAccountTokenProjection;
export declare function IoK8sApiCoreV1ServiceAccountTokenProjectionFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ServiceAccountTokenProjection;
export declare function IoK8sApiCoreV1ServiceAccountTokenProjectionToJSON(value?: IoK8sApiCoreV1ServiceAccountTokenProjection | null): any;