mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
29 lines
371 B
Go
29 lines
371 B
Go
package modules
|
|
|
|
type RouteTableManager struct {
|
|
ResourceManager
|
|
}
|
|
|
|
var (
|
|
RouteTables RouteTableManager
|
|
)
|
|
|
|
func init() {
|
|
RouteTables = RouteTableManager{
|
|
NewComputeManager(
|
|
"route_table",
|
|
"route_tables",
|
|
[]string{
|
|
"id",
|
|
"name",
|
|
"type",
|
|
"vpc",
|
|
"vpc_id",
|
|
"routes",
|
|
},
|
|
[]string{"tenant"},
|
|
),
|
|
}
|
|
registerCompute(&RouteTables)
|
|
}
|