/
v1PodDNSConfig.ts
56 lines (50 loc) · 1.91 KB
/
v1PodDNSConfig.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { V1PodDNSConfigOption } from './v1PodDNSConfigOption';
/**
* PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
*/
export class V1PodDNSConfig {
/**
* A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
*/
'nameservers'?: Array<string>;
/**
* A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
*/
'options'?: Array<V1PodDNSConfigOption>;
/**
* A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.
*/
'searches'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "nameservers",
"baseName": "nameservers",
"type": "Array<string>"
},
{
"name": "options",
"baseName": "options",
"type": "Array<V1PodDNSConfigOption>"
},
{
"name": "searches",
"baseName": "searches",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1PodDNSConfig.attributeTypeMap;
}
}