/
v1alpha1ClusterCIDRSpec.ts
62 lines (56 loc) · 2.14 KB
/
v1alpha1ClusterCIDRSpec.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
56
57
58
59
60
61
/**
* 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 { V1NodeSelector } from './v1NodeSelector';
/**
* ClusterCIDRSpec defines the desired state of ClusterCIDR.
*/
export class V1alpha1ClusterCIDRSpec {
/**
* ipv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
*/
'ipv4'?: string;
/**
* ipv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.
*/
'ipv6'?: string;
'nodeSelector'?: V1NodeSelector;
/**
* perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.
*/
'perNodeHostBits': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "ipv4",
"baseName": "ipv4",
"type": "string"
},
{
"name": "ipv6",
"baseName": "ipv6",
"type": "string"
},
{
"name": "nodeSelector",
"baseName": "nodeSelector",
"type": "V1NodeSelector"
},
{
"name": "perNodeHostBits",
"baseName": "perNodeHostBits",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1alpha1ClusterCIDRSpec.attributeTypeMap;
}
}