init commit

This commit is contained in:
2025-04-09 15:52:24 +08:00
parent d1c5fb1162
commit a5b87653a3
31 changed files with 718 additions and 24 deletions
+12
View File
@@ -33,3 +33,15 @@ type NetWorkJson struct {
Labels struct {
} `json:"Labels"`
}
type NetWork struct {
Name string `json:"name"`
Id string `json:"id"`
Created string `json:"created"`
Driver string `json:"driver"`
IPAM []Config `json:"ipam"`
}
type Config struct {
Subnet string `json:"subnet"`
Gateway string `json:"gateway"`
}