Skip to content

Commit 65288be

Browse files
update generated docs
1 parent 38b97bb commit 65288be

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

pkg/openapi/zz_generated.openapi.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8380,14 +8380,16 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
83808380
Properties: map[string]spec.Schema{
83818381
"CIDR": {
83828382
SchemaProps: spec.SchemaProps{
8383-
Type: []string{"string"},
8384-
Format: "",
8383+
Description: "CIDR is the CIDR string specifying one section of the global overlay network's L3 space",
8384+
Type: []string{"string"},
8385+
Format: "",
83858386
},
83868387
},
83878388
"hostsubnetlength": {
83888389
SchemaProps: spec.SchemaProps{
8389-
Type: []string{"integer"},
8390-
Format: "int64",
8390+
Description: "HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods",
8391+
Type: []string{"integer"},
8392+
Format: "int64",
83918393
},
83928394
},
83938395
},

pkg/sdn/apis/network/v1/swagger_doc.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var map_ClusterNetwork = map[string]string{
99
"": "ClusterNetwork describes the cluster network. There is normally only one object of this type, named \"default\", which is created by the SDN network plugin based on the master configuration when the cluster is brought up for the first time.",
1010
"metadata": "Standard object's metadata.",
1111
"network": "Network is a CIDR string specifying the global overlay network's L3 space",
12+
"clusterNetworks": "ClusterNetworks contains the definition of the CIDRs and that specify the global overlay networks L3 space",
1213
"hostsubnetlength": "HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods",
1314
"serviceNetwork": "ServiceNetwork is the CIDR range that Service IP addresses are allocated from",
1415
"pluginName": "PluginName is the name of the network plugin being used",
@@ -18,6 +19,16 @@ func (ClusterNetwork) SwaggerDoc() map[string]string {
1819
return map_ClusterNetwork
1920
}
2021

22+
var map_ClusterNetworkEntry = map[string]string{
23+
"": "Contains the CIDR and the host subnet length that defines one portion of the global overlay networks L3 space",
24+
"CIDR": "CIDR is the CIDR string specifying one section of the global overlay network's L3 space",
25+
"hostsubnetlength": "HostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods",
26+
}
27+
28+
func (ClusterNetworkEntry) SwaggerDoc() map[string]string {
29+
return map_ClusterNetworkEntry
30+
}
31+
2132
var map_ClusterNetworkList = map[string]string{
2233
"": "ClusterNetworkList is a collection of ClusterNetworks",
2334
"metadata": "Standard object's metadata.",

0 commit comments

Comments
 (0)