@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
59 lines (58 loc) • 3.33 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.
*/
import { IoK8sApiCertificatesV1CertificateSigningRequestSpec, IoK8sApiCertificatesV1CertificateSigningRequestStatus, IoK8sApimachineryPkgApisMetaV1ObjectMeta } from './';
/**
* CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.
*
* Kubelets use this API to obtain:
* 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
* 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).
*
* This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.
* @export
* @interface IoK8sApiCertificatesV1CertificateSigningRequest
*/
export interface IoK8sApiCertificatesV1CertificateSigningRequest {
/**
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
* @type {string}
* @memberof IoK8sApiCertificatesV1CertificateSigningRequest
*/
apiVersion?: string;
/**
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
* @type {string}
* @memberof IoK8sApiCertificatesV1CertificateSigningRequest
*/
kind?: string;
/**
*
* @type {IoK8sApimachineryPkgApisMetaV1ObjectMeta}
* @memberof IoK8sApiCertificatesV1CertificateSigningRequest
*/
metadata?: IoK8sApimachineryPkgApisMetaV1ObjectMeta;
/**
*
* @type {IoK8sApiCertificatesV1CertificateSigningRequestSpec}
* @memberof IoK8sApiCertificatesV1CertificateSigningRequest
*/
spec: IoK8sApiCertificatesV1CertificateSigningRequestSpec;
/**
*
* @type {IoK8sApiCertificatesV1CertificateSigningRequestStatus}
* @memberof IoK8sApiCertificatesV1CertificateSigningRequest
*/
status?: IoK8sApiCertificatesV1CertificateSigningRequestStatus;
}
export declare function IoK8sApiCertificatesV1CertificateSigningRequestFromJSON(json: any): IoK8sApiCertificatesV1CertificateSigningRequest;
export declare function IoK8sApiCertificatesV1CertificateSigningRequestFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCertificatesV1CertificateSigningRequest;
export declare function IoK8sApiCertificatesV1CertificateSigningRequestToJSON(value?: IoK8sApiCertificatesV1CertificateSigningRequest | null): any;