@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
59 lines (58 loc) • 2.87 kB
TypeScript
/**
* KubeVirt Containerized Data Importer API
* Containerized Data Importer for KubeVirt.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1GroupVersionForDiscovery, V1ServerAddressByClientCIDR } from './';
/**
* APIGroup contains the name, the supported versions, and the preferred version of a group.
* @export
* @interface V1APIGroup
*/
export interface V1APIGroup {
/**
* 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 V1APIGroup
*/
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 V1APIGroup
*/
kind?: string;
/**
* name is the name of the group.
* @type {string}
* @memberof V1APIGroup
*/
name: string;
/**
*
* @type {V1GroupVersionForDiscovery}
* @memberof V1APIGroup
*/
preferredVersion?: V1GroupVersionForDiscovery;
/**
* a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
* @type {Array<V1ServerAddressByClientCIDR>}
* @memberof V1APIGroup
*/
serverAddressByClientCIDRs?: Array<V1ServerAddressByClientCIDR>;
/**
* versions are the versions supported in this group.
* @type {Array<V1GroupVersionForDiscovery>}
* @memberof V1APIGroup
*/
versions: Array<V1GroupVersionForDiscovery>;
}
export declare function V1APIGroupFromJSON(json: any): V1APIGroup;
export declare function V1APIGroupFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1APIGroup;
export declare function V1APIGroupToJSON(value?: V1APIGroup | null): any;