1111 LoadBalancerType = reflect .TypeOf (serverscom.LoadBalancer {})
1212 L4LoadBalancerType = reflect .TypeOf (serverscom.L4LoadBalancer {})
1313 L7LoadBalancerType = reflect .TypeOf (serverscom.L7LoadBalancer {})
14- LoadBalancerListDefaultFields = []string {"ID" , "Name" , "Type" , "Status" , "LocationID" , "ClusterID" }
14+ LoadBalancerListDefaultFields = []string {"ID" , "Name" , "Type" , "Status" , "LocationID" , "LocationCode" , " ClusterID" }
1515)
1616
1717func RegisterLoadBalancerDefinitions () {
@@ -24,6 +24,7 @@ func RegisterLoadBalancerDefinitions() {
2424 {ID : "Status" , Name : "Status" , Path : "Status" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
2525 {ID : "ExternalAddresses" , Name : "ExternalAddresses" , Path : "ExternalAddresses" , PageViewHandlerFunc : slicePvHandler },
2626 {ID : "LocationID" , Name : "LocationID" , Path : "LocationID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
27+ {ID : "LocationCode" , Name : "LocationCode" , Path : "LocationCode" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
2728 {ID : "ClusterID" , Name : "ClusterID" , Path : "ClusterID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
2829 {ID : "Labels" , Name : "Labels" , Path : "Labels" , PageViewHandlerFunc : mapPvHandler },
2930 {ID : "Created" , Name : "Created" , Path : "Created" , ListHandlerFunc : timeHandler , PageViewHandlerFunc : timeHandler , Default : true },
@@ -47,6 +48,7 @@ func RegisterLoadBalancerDefinitions() {
4748 {ID : "Status" , Name : "Status" , Path : "Status" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
4849 {ID : "ExternalAddresses" , Name : "ExternalAddresses" , Path : "ExternalAddresses" , PageViewHandlerFunc : slicePvHandler },
4950 {ID : "LocationID" , Name : "LocationID" , Path : "LocationID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
51+ {ID : "LocationCode" , Name : "LocationCode" , Path : "LocationCode" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
5052 {ID : "StoreLogs" , Name : "StoreLogs" , Path : "StoreLogs" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler },
5153 {ID : "ClusterID" , Name : "ClusterID" , Path : "ClusterID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
5254 {ID : "Labels" , Name : "Labels" , Path : "Labels" , PageViewHandlerFunc : mapPvHandler },
@@ -71,6 +73,7 @@ func RegisterLoadBalancerDefinitions() {
7173 {ID : "Status" , Name : "Status" , Path : "Status" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
7274 {ID : "ExternalAddresses" , Name : "ExternalAddresses" , Path : "ExternalAddresses" , PageViewHandlerFunc : slicePvHandler },
7375 {ID : "LocationID" , Name : "LocationID" , Path : "LocationID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
76+ {ID : "LocationCode" , Name : "LocationCode" , Path : "LocationCode" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler , Default : true },
7477 {ID : "Geoip" , Name : "Geoip" , Path : "Geoip" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler },
7578 {ID : "StoreLogs" , Name : "StoreLogs" , Path : "StoreLogs" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler },
7679 {ID : "StoreLogsRegionID" , Name : "StoreLogsRegionID" , Path : "StoreLogsRegionID" , ListHandlerFunc : stringHandler , PageViewHandlerFunc : stringHandler },
0 commit comments